Re: Cacti not graphing on hosts acting as SNMP server devices - version 0.8.8a
Gandalf <[email protected]>
| Newsgroups | gmane.network.cacti.user |
|---|---|
| Message-ID | <[email protected]> |
On 09.05.2012 13:11, Kaya Saman wrote: > Hi Reinhard, > > On Tue, May 8, 2012 at 7:41 PM, Gandalf <[email protected]> wrote: >> > >> >> >>> but still I am getting no graphs showing up and the Zenoss >>> server is shown as "down"?? >> Before trying to wait 50 times for a host that is down to get 50 different >> values, we check that very host for reachability. There are some options how to >> check that host "as a whole", but you will have to chose the "correct method". >> E.g. the SNMP test checks for sysUptime. In case the device does not respond, we >> say it is "down", even when it is "up". >> Some generic hints are provided at >> http://docs.cacti.net/manual:087:4_help.2_debugging#debugging >> >> Please start there and come back with more information about that very host. > > I have had a look at the debugging site and it turns out the RRD > directory had somehow reverted ownership from user cacti to something > that didn't exist. All fixed and graphs are showing. > > I also found for the bce0 network interface (FreeBSD Broadcom NIC 1) > that there were no data sourced defined for the graph. I also fixed > this and now I have full graphs for local host! > > > So thank you for that! :-) Fine! > > > The other machine that I have which is CentOS 6.2 x64 based running > net-snmp from the EPEL repos.... is still not working: > > Output from snmpget: > > snmpget -c 4622b8ba -v 2c 172.31.8.16 1.3.6.1.2.1.25.1.1.0 > HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (75939008) 8 days, 18:56:30.08 > > > Uptime if I understand correctly is 8 days +..... > > > So why doesn't Cacti then see this? There are two uptimes - hrSystemUptime == uptime of the system (but this is an OPTIONAL MIB) - sysUptime == uptime of the snmpd on target system (and there have been restart scripts to restart snmpd each week since long ...) so both may differ. We refer to the last one. > > The web-ui shows this: > > SNMP Information > System:Linux uk-lon-nag-1.rjis.co.uk 2.6.32-220.13.1.el6.x86_64 #1 SMP Tue > Apr 17 23:56:34 BST 2012 x86_64 > Uptime: 9411 (0 days, 0 hours, 1 minutes) That's sysUptime! > Hostname: uk-lon-nag-1.rjis.co.uk > Location: Monitoring Cluster > Contact: Master Kaya Saman > > > But under Console it shows as down:? That is indeed strange. > > What information could I provide for this host to be useful? > > > The log shows that SNMP is querying the system: > > May 9 11:59:08 uk-lon-nag-1 snmpd[12567]: Connection from UDP: > [172.31.8.17]:16996->[172.31.8.16] Please have a look, which request and which response is exchanged. Is it a sysUptime request and is there any response? A tcpdump/wireshark trace may help. Are you running spine or cmd.php? > > > No firewall is active on either system and nothing in the middle is blocking. Good to know > > > Regards, > > > Kaya > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > cacti-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cacti-user > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/