can't monitor host through SNMP cause status is Unknown
Moderators: Developers, Moderators
can't monitor host through SNMP cause status is Unknown
Hey all!
I have installed Cacti 0.8.6d on a Fedora core 3 host, but when I try to monitor remote hosts throught SNMP their status becomes Unknown
{
An example is
LocalSNMP Unknown 192.168.0.112 0 0 100%
The information for the remote host is the following
LocalSNMP (192.168.0.112)
SNMP Information
System: Linux s112.xanadu 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686
Uptime: 321907
Hostname: s112.xanadu
SNMP Options public /version 1 / 161 / 500
Associated Data Queries
1) SNMP - Get Processor Information (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]
2) SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]
}
even though snmpd is running on the remote host and if I use snmpwalk I get
[root@s110 ~]# snmpwalk -v 1 -c public 192.168.0.112
SNMPv2-MIB::sysDescr.0 = STRING: Linux s112.xanadu 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
SNMPv2-MIB::sysUpTime.0 = Timeticks: (299861) 0:49:58.61
SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
SNMPv2-MIB::sysName.0 = STRING: s112.xanadu
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (14) 0:00:00.14
SNMPv2-MIB::sysORID.1 = OID: IF-MIB::ifMIB
SNMPv2-MIB::sysORID.2 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.3 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.4 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.5 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.6 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.7 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.9 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module to describe generic objects for network interface sub-layers
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.7 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.8 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.9 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (10) 0:00:00.10
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (10) 0:00:00.10
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (10) 0:00:00.10
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (11) 0:00:00.11
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (11) 0:00:00.11
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (11) 0:00:00.11
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (14) 0:00:00.14
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (14) 0:00:00.14
SNMPv2-MIB::sysORUpTime.9 = Timeticks: (14) 0:00:00.14
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (326539) 0:54:25.39
End of MIB
Here is the output of the debug. It seems OK to me.
06/14/2005 01:24:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:24:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:19:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:19:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:14:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:14:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:09:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:09:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:04:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:04:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:59:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:59:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:54:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:54:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:49:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:49:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:40:06 AM - SYSTEM STATS: Time: 3.2679 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
06/14/2005 12:40:06 AM - SYSTEM STATS: Time: 3.2225 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
06/14/2005 12:29:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:29:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:24:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:24:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
Any help or pointers would be much appreciated.
Thanks in advance,
sil
I have installed Cacti 0.8.6d on a Fedora core 3 host, but when I try to monitor remote hosts throught SNMP their status becomes Unknown
{
An example is
LocalSNMP Unknown 192.168.0.112 0 0 100%
The information for the remote host is the following
LocalSNMP (192.168.0.112)
SNMP Information
System: Linux s112.xanadu 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686
Uptime: 321907
Hostname: s112.xanadu
SNMP Options public /version 1 / 161 / 500
Associated Data Queries
1) SNMP - Get Processor Information (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]
2) SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]
}
even though snmpd is running on the remote host and if I use snmpwalk I get
[root@s110 ~]# snmpwalk -v 1 -c public 192.168.0.112
SNMPv2-MIB::sysDescr.0 = STRING: Linux s112.xanadu 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
SNMPv2-MIB::sysUpTime.0 = Timeticks: (299861) 0:49:58.61
SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
SNMPv2-MIB::sysName.0 = STRING: s112.xanadu
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (14) 0:00:00.14
SNMPv2-MIB::sysORID.1 = OID: IF-MIB::ifMIB
SNMPv2-MIB::sysORID.2 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.3 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.4 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.5 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.6 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.7 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.9 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module to describe generic objects for network interface sub-layers
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.7 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.8 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.9 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (10) 0:00:00.10
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (10) 0:00:00.10
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (10) 0:00:00.10
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (11) 0:00:00.11
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (11) 0:00:00.11
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (11) 0:00:00.11
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (14) 0:00:00.14
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (14) 0:00:00.14
SNMPv2-MIB::sysORUpTime.9 = Timeticks: (14) 0:00:00.14
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (326539) 0:54:25.39
End of MIB
Here is the output of the debug. It seems OK to me.
06/14/2005 01:24:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:24:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:19:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:19:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:14:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:14:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:09:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:09:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:04:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 01:04:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:59:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:59:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:54:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:54:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:49:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:49:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:40:06 AM - SYSTEM STATS: Time: 3.2679 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
06/14/2005 12:40:06 AM - SYSTEM STATS: Time: 3.2225 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
06/14/2005 12:29:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:29:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:24:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/14/2005 12:24:59 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
Any help or pointers would be much appreciated.
Thanks in advance,
sil
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Double check you paths, that is not a normal log, especially the path to PHP.
Something is up with you snmpd, restart it. A walk of the tree should yeild more than that. Otherwise, please review you snmpd.conf.
Something is up with you snmpd, restart it. A walk of the tree should yeild more than that. Otherwise, please review you snmpd.conf.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
here is the attachement for the previous post
sil
sil
- Attachments
-
- snmpd.conf.txt
- snmpd.conf file
- (18.15 KiB) Downloaded 497 times
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Unknown errors are caused when you use cmd.php and either don't have graph/data source items created in the poller cache, or you have a messed up graph/data source/data input method collection that is causing cacti not to place items in the poller cache correctly.
When did you say this started?
TheWitness
When did you say this started?
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 4 guests