Monitoring VM's from cacti

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
honeybone
Posts: 6
Joined: Wed Apr 22, 2009 7:42 am

Monitoring VM's from cacti

Post by honeybone »

Hi, i have a new installation of cacti Version 0.8.7d using spine on CentOS-5.3, but i seem to have an issue with monitoring linux vm's. i've already set up a couple of windows vm's to monitor and they are fine, produce graphs and correct data. but although the linux vm's respond to snmp they don't produce any data. if i do snmpwalk from the cacti server i get the following:
admin]# snmpwalk -c <blah> -v 2c my.ip.add.ress
SNMPv2-MIB::sysDescr.0 = STRING: Linux <hostname> 2.6.18-53.1.13.el5 #1 SMP Mon Feb 11 13:27:52 EST 2008 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (502065) 1:23:40.65
SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
SNMPv2-MIB::sysName.0 = STRING: <hostname>
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (12) 0:00:00.12
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (11) 0:00:00.11
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (11) 0:00:00.11
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (11) 0:00:00.11
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: (12) 0:00:00.12
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (12) 0:00:00.12
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (12) 0:00:00.12
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (43984963) 5 days, 2:10:49.63
HOST-RESOURCES-MIB::hrSystemUptime.0 = No more variables left in this MIB View (It is past the end of the MIB tree)

so i get the info that's snmpd.conf

if i do a verbose query ( this one is for SNMP- Get Mounted Partitions ) i get:
+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/cacti/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/cacti/scripts/ss_host_disk.php <my.ip.add.ress> 62 2:161:500:1:10:blah:blah:blah:MD5::DES: index'
+ Executing script query '/usr/bin/php -q /var/www/cacti/scripts/ss_host_disk.php <my.ip.add.ress> 62 2:161:500:1:10:blah:blah:blah:MD5::DES: query index'
+ Executing script query '/usr/bin/php -q /var/www/cacti/scripts/ss_host_disk.php <my.ip.add.ress> 62 2:161:500:1:10:blah:blah:blah:MD5::DES: query description'
+ Executing script query '/usr/bin/php -q /var/www/cacti/scripts/ss_host_disk.php <my.ip.add.ress> 62 2:161:500:1:10:blah:blah:blah:MD5::DES: query sau'
+ Found data query XML file at '/var/www/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/cacti/resource/script_server/host_disk.xml'

does anyone have any experience of monitoring linux/unix vm servers or can anyone point me in the right direction.
honeybone
Posts: 6
Joined: Wed Apr 22, 2009 7:42 am

Post by honeybone »

thanks for the reply. as i said...cacti is already producing graphs for the majority of hosts that it's monitoring, if you look at the output of snmpwalk it's very stunted, ( especially when i compare it to another linux box that is producing good graphs. BUT, the common thing between the linux hosts that are not getting full snmpwalk results is that they are 64-bit machines. So....does anyone know if there is an issue on that side of things. The cacti server is 32-bit by the way.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest