Skip Menu |

This queue is for tickets about the Nagios-Object CPAN distribution.

Report information
The Basics
Id: 26288
Status: resolved
Priority: 0/
Queue: Nagios-Object

People
Owner: duncan_j_ferguson [...] yahoo.co.uk
Requestors: dhalik [...] nbcs.rutgers.edu
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.17
Fixed in: (no value)



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 ],
Fixed - some time ago by the look of it