debian/0000755000000000000000000000000012260435711007167 5ustar debian/NEWS0000644000000000000000000000052712260427000007662 0ustar mon (1.2.0-3) unstable; urgency=low The following alerts and monitors are not longer provided by 'mon' package: * imap-ssl.monitor * ipvs.alert * ipvs.monitor * smblist.monitor These scripts (and many others) are provided by 'mon-contrib' package. -- Dario Minnucci Mon, 11 Jul 2011 11:05:05 +0200 debian/README.Debian0000644000000000000000000000434012260427000011221 0ustar README.Debian: -------------- * New and deprecated alerts and monitors in mon-1.2.0: ------------------------------------------------------ - Added alerts: · irc.alert - Added monitors: · dns-query.monitor · local-syslog.monitor · lpd.monitor · ntpdate.monitor · radius.monitor · snmpdiskspace.monitor · snmpvar.monitor · trace.monitor - Removed alerts: · remote.alert - Removed monitors: · http_t.monitor · http_tp.monitor · http_tpp.monitor - Rename monitors: · dialin.monitor to dialin.monitor.wrap * Daemon runs under 'mon' user: ------------------------------- The daemon is not longer running as 'daemon' user. Since version 0.99.2-12, mon runs under user 'mon', that is created at the package installation/update process. * Daemon control via /etc/default/mon: -------------------------------------- Now 'mon' daemon can be controled through /etc/default/mon directly. These 2 options allows you to control the daemon behaviour: - ENABLED: If you don't want to run 'mon' at boot time, please ensure the variable ENABLED in /etc/default/mon is set to something different to : "yes", "true" or "1" Default is: ENABLED="yes" - DAEMON_OPTS: Additional options can be passed to the daemon by adding them to DAEMON_OPTS. Default is DAEMON_OPTS=" -f -c /etc/mon/mon.cf -A /etc/mon/auth.cf" * Using CGI: ------------ If a webserver with CGI support is available on your system, both web interfaces can be accessed from the following URL: http:///cgi-bin/monshow.cgi OR http:///cgi-bin/mon.cgi The layout and behaviour of both interfaces, can be modified via an independent configuration files. Changes on 'monshow.cgi' should be made via it's configuration file '/etc/mon/monshowrc' For details see: /usr/share/doc/mon/README.cgi-bin /usr/share/doc/mon/examples/example.monshowrc * Using local monitors: ----------------------- Under Debian GNU/Linux, paths for alerts and monitors differs from the original paths provided by software in order to comply with FHS. Our alerts are located under '/usr/lib/mon/alert.d' and our monitors under '/usr/lib/mon/mon.d' directory. Please take this into account if your intend to add your own scripts. debian/README.source0000644000000000000000000000046212260427000011340 0ustar README.source ------------- The Debian package uses quilt(1) for the modifications of the upstream source. If you want to change something it is best to use the quilt approach as documented in /usr/share/doc/quilt/README.source -- Dario Minnucci Wed, 20 Jan 2010 14:36:13 +0100 debian/TODO0000644000000000000000000000016612260427000007652 0ustar # # TODO # * Add NEWS.Debian file to inform about alerts or monitors now availables via 'mon-contrib' package debian/changelog0000644000000000000000000004766312260433430011055 0ustar mon (1.2.0-8) unstable; urgency=low * debian/patches: - Added 06-fix-dns-monitor.diff: Fixes use of deprecated defined(@array) calls. Thanks to Brogniaux GaĆ«tan. (Closes: #731737) * debian/control: - Bump Standards-Version to 3.9.5 (no changes) -- Dario Minnucci Tue, 31 Dec 2013 04:16:37 +0100 mon (1.2.0-7) unstable; urgency=low * debian/copyright: - Upstream-Source URL updated. (Closes: #659993) - Years updated to 2013 * debian/watch: Modified to use SF sources. Thanks to Nick Black. (Closes: #695242) * debian/mon.dirs: Added /var/lib/mon. Thanks to Andreas Beckmann. (Closes: #661087) * debian/control: - Bump Standards-Version to 3.9.4 (no changes) - Use canonical URI on VCS-* fields -- Dario Minnucci Thu, 21 Feb 2013 03:18:47 +0100 mon (1.2.0-6) unstable; urgency=low * debian/control: Really set debhelper compat to >=9. * debian/copyright: Source URL updated. - Thanks to Jari Aalto (Closes: #655357) * debian/patches: - 04-fix-659152-report.monitor-ignores-command-line-options.diff Fix for report.monitor ignores command-line options. Thanks to Kevin McCormick (Closes: #659152) * debian/mon.postrm: Fix to not remove user 'mon' twice. (Closes: #656351) -- Dario Minnucci Sun, 12 Feb 2012 17:00:45 +0100 mon (1.2.0-5) unstable; urgency=low * Enable hardened build flags: - Added patch 00-mon-hardened-build-flags.diff. - Set debhelper compat to 9. - Added debian/source.lintian-overrides Thanks to Moritz Muehlenhoff. (Closes: #655137) * debian/copyright: Copyright years updated. * debian/control: Homepage URL updated. -- Dario Minnucci Tue, 10 Jan 2012 13:55:53 +0100 mon (1.2.0-4) unstable; urgency=low * debian/mon.{postinst,postrm,preinst}: Better handling of 'mon' user creation/deletion. (Closes: #628082) * debian/mon.postinst: Change ownership on /var/log/mon/ to let the daemon to write logfiles. (Closes: #645981) * debian/copyright: - Copyright years updated. - Updated for DEP-5 compatibility. * debian/control: Upgrade debhelper to >=8 * debian/mon.doc: Don't install changelog twice. -- Dario Minnucci Fri, 25 Nov 2011 11:28:26 +0100 mon (1.2.0-3) unstable; urgency=low * debian/control: Bump Standards-Version to 3.9.2 * List of dropped alerts and monitors that will be provided by a new package 'mon-contrib': - 06-add-imap-ssl.monitor.diff - 06-add-ipvs.alert.diff - 06-add-ipvs.monitor.diff - 06-add-smblist.monitor.diff * debian/patches: - Remove from 04-fix-SNMP-module-calls.diff previous patching about SNMP module call on file mon/mon.d/hpnp.monitor. Thanks to Marc F. Clemente (Closes: #613720) * debian/README.Debian: Fix for lintian warning: spelling-error-in-readme-debian -- Dario Minnucci Mon, 11 Jul 2011 11:04:57 +0200 mon (1.2.0-2) unstable; urgency=low * Hosted under git.debian.org (collab-main branch): http://git.debian.org/?p=collab-maint/mon.git * debian/control: - Updated debhelper dependency to (>= 7.0.50~) - Added Vcs-Git and Vcs-Browser fileds - Bump Standards-Version to 3.9.1: - Switch to dpkg-source 3.0 (quilt) format * debian/patches: - Added 01-fix-logging-to-syslog.diff. (Closes:#611751) Thanks to Allan Wind - 04-fix-SNMP-module-calls.diff: Modified to use SNMP module. (Closes:#596292). Thanks to Marc F. Clemente * debian/README.Debian: - Typos fixed * debian/mon.default: Change default state directory to /var/lib/mon to give mon a chance to write state information. (Closes:611772) Thanks to Allan Wind -- Dario Minnucci Sun, 13 Feb 2011 00:53:38 +0100 mon (1.2.0-1) unstable; urgency=low * New upstream release (Closes: #433265) * Maintainer email address updated * debian/mon.default: Added more configuration parameters * debian/control: - Added 'libtime-modules-perl', 'libcrypt-ssleay-perl' to 'Reccomends' needed by 'imap-ssl.monitor' to work. - Long description: Project URL updated - Patch system moved from 'dpatch' to 'quilt' * debian/patches/*: Added DEP3 headers - Reapplied patches: - 00_security_fixes.patch: New version has no fix for #496398 this yet - Deapplied patches: - 01_cfbasedir_fix.patch: Now changes are made via /etc/default/mon file - 03_remove_revision_control_headers.patch: New version is not including previous maintainer's revision control headers anymore. - Modified patches: - 04_fix_SNMP_module_calls.patch: Added fixes on new distributed files: - mon.d/hpnp.monitor - mon.d/snmpdiskspace.monitor - mon.d/snmpvar.monitor - 05_manpage_fixes.patch: Splited into independent manpage fixes: - 05_manpage_fix_mon.8.patch: For mon.8 manpage. - 05_manpage_fix_moncmd.1.patch: For moncmd.1 manpage. - 06_add_scripts_for_ipvs: Splited into: - 06_add_ipvs.alert.patch - 06_add_ipvs.monitor.patch - New patches: - 06_add_imap-ssl.monitor.patch: Adds imap-ssl.monitor. (Closes: #545160) - 06_add_smblist.monitor.patch: Adds smblist.monitor * debian/copyright: Updated to DEP5 format proposal. (see: http://dep.debian.net/deps/dep5/ for details) * debian/mon.init.d: - Change Required-Start to $all to start the daemon the latest possible. - Added $remote_fs dependencies -- Dario Minnucci Thu, 21 Jan 2010 17:15:21 +0100 mon (0.99.2-15) unstable; urgency=medium * debian/mon.init.d: Fixes to start the daemon later on system boot. (Closes: #547556) * debian/control: Removed dependencies on libtime-hires-perl, provided by perl -- Dario Minnucci (midget) Tue, 22 Sep 2009 16:50:11 +0200 mon (0.99.2-14) unstable; urgency=low * debian/control: debhelper compatibility updated to >=7 ${misc:Depends} added to fix debhelper-but-no-misc-depends lintian warning. Standards-Version bumped to 3.8.3: Added debian/README.source file. * debian/rules: deprecated dh_clean -k in favour of dh_prep * debian/mon.dirs: Remove creation dirs: usr/lib/mon/cgi-bin/, var/log/mon and var/run/mon * debian/mon.init.d: Was completely rewritten to be LSB compliant. (Closes: #538133) Added support for ENABLED args: "yes", "true" or "1". (Closes: #522546) Added dynamical control for recreation of /var/run/mon directory. * debian/copyright: Fixed copyright-refers-to-symlink-license * debian/README.Debian: Updated Explanations on how to use local monitors (Closes: #477164) * debian/NEWS.Debian: Removed * Added 'set -e' to: mon.mon.preinst, mon.postinst, mon.prerm, mon.postrm * debian/patches/05_manpage_fixes: Fixes typos in manpages * debian/patches/06_add_scripts_for_ipvs: Add scripts for ipvs support. Thanks to Richard Hartmann. (Closes: #500810) * Do not apply debian/patches/02_enable_monshow_full_mode.dpatch anymore to revert behaviour of 'monshow --full'. (Closes: #422866) * debian/etc/mon/monshowrc: Provides an initial .monshowrc configuration for monshow.cgi * Symbolic links added: monshow.cgi is a symbolic link of /usr/bin/monshow .monshowrc is a symbolic link of /etc/mon/monshowrc -- Dario Minnucci (midget) Thu, 03 Sep 2009 07:29:40 +0200 mon (0.99.2-13) unstable; urgency=low * debian/control: Conforms with latest Standards Version 3.8.0 * debian/control: Added 'Homepage' field * debian/patches/00_security_fixes: (Closes: #496398) -- Dario Minnucci (midget) Wed, 10 Sep 2008 14:19:23 +0200 mon (0.99.2-12) unstable; urgency=low * debian/control: Maintainer's name changed due to GPG signature update. * Changes to run mon as user mon. (Closes: #117550) * debian/mon.default: Added. (Closes: #311352) * Arguments are now managed in the new /etc/default/mon file which solves bug #305108. (Closes: #305108) * debian/mon.init.d: Completely rewritten. * debian/mon.postinst: Completely rewritten. * debian/mon.postinst: Completely rewritten. * debian/mon.preinst: Completely rewritten. * debian/mon.prerm: Completely rewritten. * debian/patches/01_cfbasedir_fix: More harcoded paths fixed. * patches/04_SNMP_module_call_fixes.dpatch: Issued to solve SNMP module issue reported on BTS #432858. (Closes: #432858) - asyncreboot.monitor: SNMP module call updated. - cpqhealth.monitor: SNMP module call updated. - foundry-chassis.monitor: SNMP module call updated. - na_quota.monitor: SNMP module call updated. - netappfree.monitor: SNMP module call updated. - process.monitor: SNMP module call updated. - reboot.monitor: SNMP module call updated. - silkworm.monitor: SNMP module call updated. - xedia-ipsec-tunnel.monitor: SNMP module call updated. -- Dario Minnucci (midget) Mon, 30 Jul 2007 00:56:22 +0200 mon (0.99.2-11) unstable; urgency=low * debian/watch: Rewritten to match upstream version format. * clients/skymon/skymon.1: Added basic manpage for skymon (Closes: #410614) * doc/mon.8: SEE ALSO section updated. * doc/moncmd.1: SEE ALSO section updated. * doc/monshow.1: SEE ALSO section updated. * debian/control: 'Suggests:' upgraded to 'Recommends:' (Closes: #181778). For further information, please read NEWS.Debian file. -- Dario Minnucci Mon, 5 Mar 2007 03:13:44 +0100 mon (0.99.2-10) unstable; urgency=low * New maintainer (Closes: #337944) * mon.d/smblist.monitor: Added Samba monitor contributed by Matthew Astley (Closes: #180872) * debian/control: Added dpatch to Build-Depends: (for dpatch support) * A few patches were issued: - patches/01_cfbasedir_fix: Fixes the configuration base directory. - patches/02_enable_monshow_full_mode: Shows all watches on cgi execution. - patches/03_remove_revision_control_headers: Removes revision control headers from most of the distributed files. (Closes: #322566) NOTE: A few headers used within the code still remains there. You can find remaining revision control headers the following files: - alert.d/file.alert - alert.d/netpage.alert - alert.d/mail.alert - mon - mon.d/http_tpp.monitor - mon.d/smtp3.monitor - mon.d/file_change.monitor * debian/NEWS.Debian file added reporting changes -- Dario Minnucci Sun, 11 Feb 2007 22:38:27 +0100 mon (0.99.2-9) unstable; urgency=low * QA upload. * Set maintainer to QA Group; Orphaned: #337944 * Bump compat level to debhelper 5 * Depend on at least debhelper 5 * Add missing binary-indep target to debian/rules * Update debian/copyright * Add missing lsb section to debian/init * Conforms with latest Standards Version 3.7.2 -- Michael Ablassmeier Thu, 2 Nov 2006 16:25:44 +0100 mon (0.99.2-8) unstable; urgency=low * msql-mysql.monitor: Use $dbh->tables rather than $dbh->func('_ListTables'), thanks to Clement 'nodens' Hermann and Jade Nicoletti (closes: #275347). * http_t.monitor: s/joint/join/, thanks to Bryan Chow (closes: #276553). * smtp.monitor: Support continued quit (221-) messages, thanks to Joe Edmonds (closes: #282104). * smtp3.monitor: Support continued banner (220-) messages, thanks to Brian Grossman (closes: #296943). -- Roderick Schertler Fri, 25 Mar 2005 21:44:00 -0500 mon (0.99.2-7) unstable; urgency=low * Back-port fix for broken host parsing in auth.cf trap section (closes: #251236). * Fix "alertafter