Subject: | Missing host config options |
Love this module by the way. I noticed while setting it up on our own
machines that it was missing a few host options, so I added these three:
active_checks_enabled
passive_checks_enabled
obsess_over_host
These are normal Nagios host checks that I'm guessing were just missed.
See here for more info:
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host
A patch has been attached that just adds them to your table (hopefully
for upstream) ;)
Thanks!
Subject: | host_update.patch |
diff -ruN Nagios-Object-0.17/lib/Nagios/Object.pm Nagios-Object-0.17.patch/lib/Nagios/Object.pm
--- Nagios-Object-0.17/lib/Nagios/Object.pm 2006-11-21 22:23:22.000000000 -0500
+++ Nagios-Object-0.17.patch/lib/Nagios/Object.pm 2007-04-10 17:16:53.000000000 -0400
@@ -133,7 +133,10 @@
failure_prediction_enabled => ['BINARY', 16 ],
name => ['host_name', 6 ],
comment => ['comment', 6 ],
- file => ['filename', 6 ]
+ file => ['filename', 6 ],
+ active_checks_enabled => ['BINARY', 8 ],
+ passive_checks_enabled => ['BINARY', 8 ],
+ obsess_over_host => ['BINARY', 8 ]
},
HostGroup => {
use => ['Nagios::HostGroup', 8 ],