try to:
stop nav psql manage delete from rrd_file where subsystem='cricket'; run makecricketconfig.pl as user navcron nav start
Done
, or macs, it appears data is not being collected. >
What is getDeviceData.log telling you?
Guess I am still getting that error: Aug 08 14:38:01 2005 getDeviceData MAIN-5-INIT Running with 16 threads (max) Aug 08 14:38:01 2005 getDeviceData MAIN-3-INIT Could not connect to database! This seems to look wrong, when I execute the nav startup script with a status command I get the following: networkDiscovery: Up cricket: Up eventEngine does not seem to be running... logengine: Up maintengine: Up servicemon.py (pid 2039) is running... smsd.pl (pid 2050) is running... thresholdMon: Up mactrace: Up iptrace: Up safe_smsd: Up getDeviceData does not seem to be running... backup: Up pping.py (pid 2079) is running... Alertengine is running with process id 2089. It has been running for 0 minutes and 31 seconds. Should I be worried that getDeviceData is no running? My path is showing correctly now in the cron jobs...Yeah!!! But I'm getting a notification from cron now that follows: Subject: smsd database connection problem Status: 08.08.2005 14:54:04 PG_conn=SCALAR(0x8175b44) 1 Reset Error was: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. I think I still have a path problem. I'm thinking the path still isn't getting sourced in the startup script correctly. Maybe I should change it from a bourne script to a bash script and use the "source" command. Thanks for the help guys. Matt
From Borge.Brunes at cc.uit.no Mon Aug 8 23:00:15 2005 From: Borge.Brunes at cc.uit.no (Borge Brunes) Date: Mon Aug 8 22:00:22 2005 Subject: [Nav-users] Some problems after upgrade Message-ID: <200508082000.j78K0FXA039900@duke.cc.uit.no>
Folks, I did an upgrade from svn 3290 to 3318, and now these messages are popping in: [08-Aug-2005 21:30:34*] Cannot update /usr/local/nav/cricket/cricket-config/../cricket-data//switches/tf4292-sw.infra.uit.no.rrd: expected 5 data source readings (got 4) from N:0:1:40827872:56543441:... (our cricket-expert is at holliday) I'm also getting a lot of these: --- Subject: Hardware version changed for (67) From: alertengine@franklin.uit.no Date: Mon, 8 Aug 2005 17:22:20 +0200 (CEST) This is an automatically generated message from NAV: Hardware version changed to: N/A from: H0 ----- Subject: Hardware version changed for (67) From: alertengine@franklin.uit.no Date: Mon, 8 Aug 2005 17:22:22 +0200 (CEST) This is an automatically generated message from NAV: Hardware version changed to: H0 from: N/A --- regards, -- Borge Brunes, Computer Center, University of Tromso, Norway http://www.cc.uit.no/~borge/ | http://www.freebsd.org