| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| loadconfig : load Nagios configuration into mysql database http://steveshipway.org/forum/viewtopic.php?f=20&t=1087 |
Page 1 of 1 |
| Author: | hgeist [ Mon Apr 23, 2007 9:59 pm ] |
| Post subject: | loadconfig : load Nagios configuration into mysql database |
Hi i have problems with loadconfig.pl in Nagios 2.5 (Download: http://www.nagiosexchange.org/Misc.36.0 ... nagext_pi1[p_view]=462) problem to parse escalation statement # ./loadconfig.pl -V 2.0 ---------------log---------------------- Called set_hostgroup() on an object that doesn't support it. at /usr/lib/perl5/site_perl/5.8.3/Nagios/Object.pm line 854 Nagios::Object::set_hostgroup_name('Nagios::ServiceEscalation=HASH(0x90ac088)','ups') called at /usr/lib/perl5/site_perl/5.8.3/Nagios/Object/Config.pm line 286 Nagios::Object::Config::parse('Nagios::Object::Config=HASH(0x84900ec)','/etc/nagios/services_ups_escalations.cfg') called at /usr/lib/perl5/site_perl/5.8.3/Nagios/Config.pm line 105 Nagios::Config::new('Nagios::Config','Filename','/etc/nagios/nagios.cfg','Version',2.0) called at ./loadconfig.pl line 289 -----------log end------------------------ what version must "Nagios::Object" have ? Heiko |
|
| Author: | stevesh [ Tue Apr 24, 2007 10:33 am ] |
| Post subject: | |
Nagios::Object changed its calling parameters between versions, and depending on which version of loadconfig you have you will need the earlier or later version. Annoyingly, Nagios::Object does not have version numbers defined in the perl module for me to check. And I also forgot to add a version in the comments of loadconfig. I would suggest you download the latest Nagios perl modules from CPAN, and then get the latest loadconfig from NagiosExchange.org -- these should work together, unless Albert has changed the calling convention *again*.... Steve |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|