Title: [opsview] [11311] Force NRD to add results in checkresults directory in chronological order
- Revision
- 11311
- Author
- tvoon
- Date
- 2013-02-01 10:33:24 +0000 (Fri, 01 Feb 2013)
Log Message
Force NRD to add results in checkresults directory in chronological order
Modified Paths
Modified: trunk/CHANGES
===================================================================
--- trunk/CHANGES 2013-02-01 10:30:06 UTC (rev 11310)
+++ trunk/CHANGES 2013-02-01 10:33:24 UTC (rev 11311)
@@ -23,6 +23,7 @@
It is now possible to specify an SNMP port greater than 32768
Added logging for check_snmp_interfaces_cascade for situations where threshold > 100%
Changed Nagios CGI date format to be iso8601 on fresh installs
+ Updated NRD configuration to apply results into checkresults with timestamp value for Nagios to process in order
NOTICES:
Only a subset of Nagios environment macros are available. Plugins will only get environment variables if
specified within the plugin. Notifications and event handlers have a limited set of macros. See
Modified: trunk/opsview-core/bin/nagconfgen.pl
===================================================================
--- trunk/opsview-core/bin/nagconfgen.pl 2013-02-01 10:30:06 UTC (rev 11310)
+++ trunk/opsview-core/bin/nagconfgen.pl 2013-02-01 10:33:24 UTC (rev 11311)
@@ -3892,6 +3892,7 @@
writer resultdir
check_result_path %CHECK_RESULT_PATH%
batch_results 1
+long_check_result_filename 1
EOF
my $nrd_shared_password = Opsview::Config->nrd_shared_password;
Modified: trunk/opsview-core/t/var/configs/Master Monitoring Server/nrd.conf
===================================================================
--- trunk/opsview-core/t/var/configs/Master Monitoring Server/nrd.conf 2013-02-01 10:30:06 UTC (rev 11310)
+++ trunk/opsview-core/t/var/configs/Master Monitoring Server/nrd.conf 2013-02-01 10:33:24 UTC (rev 11311)
@@ -30,3 +30,4 @@
writer resultdir
check_result_path /usr/local/nagios/var/spool/checkresults
batch_results 1
+long_check_result_filename 1
_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins