From: Thomas K. <tk...@we...> - 2009-01-09 08:01:11
|
Hi Buchan, On Thu, Jan 08, 2009 at 07:05:19PM +0200, Buchan Milne wrote: > Running this for a few days turned this up, one second (but about 100 lines) > before devmon stopped doing anything: > > [09-01-07@22:45:12] DEBUG SNMP: Pooling 1 oids > Can't use an undefined value as a HASH reference > at /usr/share/devmon/modules/dm_snmp.pm line 399, <$__ANONIO__> line > 59375. > [09-01-07@22:45:12] DEBUG SNMP: Failed queries 0 > > I have changed some of the logging inside the affected subroutine (to print > the fork number ($form_num) for every "DEBUG SNMP" line) to try and confirm > what I think is happening. I will also try and see if I can test a fix > (without devmon itself). > > But, again, confirmation from others would help ... one of our devmon servers turned purple this morning. It stopped here: [09-01-09@07:24:36] DEBUG TEMPLATES: running post_template_load() [09-01-09@07:24:36] DEBUG CFG: running read_hosts [09-01-09@07:24:36] DEBUG SNMP: running poll_devices() [09-01-09@07:24:36] Starting snmp queries [09-01-09@07:24:36] Getting device status from hobbit at xx.xx.xx.xx:1984 It is possible, that this system couldn't reach the hobbit server at that time. However it didn't recover from this status. The debug log shows some messages like 'Use of uninitialized value in addition (+) at (eval 94189069) line 1, <$__ANONIO__> line 1450529.', too. But they are shown in every cycle and not just before devmon stopped. Best regards Thomas -- Thomas Kähn NetCologne Network Engineering & Design Gesellschaft für Telekommunikation mbH Im Süsterfeld 6 Telefon: 0241/701333-18 52072 Aachen Fax: 0241/911879 Handelsregister: HRB 25580, Amtsgericht Köln Geschäftsführer: Werner Hanf, Dipl.-Ing. Karl-Heinz Zankel |