-----Ursprüngliche Nachricht----- Von: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] Im Auftrag von Dave Shield Gesendet: Freitag, 02. Dezember 2011 17:43 An: Andreas Schnederle-Wagner - Futureweb.at Cc: net-snmp-users@lists.sourceforge.net Betreff: Re: problem with hrStorage
On 2 December 2011 13:56, Andreas Schnederle-Wagner - Futureweb.at <schnede...@futureweb.at> wrote: > Output of server 1 (working) > # df > Filesystem 1K-blocks Used Available Use% Mounted > on > /dev/vzfs 1048576 283028 765548 27% / > Server 2 (not working) > # df > Filesystem 1K-blocks Used Available Use% Mounted > on > /dev/vzfs 73400320 37336160 36064160 51% / Alright - I just installed the latest Version of net-snmp and discovered something weird!? Right after snmpd restart - "snmpwalk -v 2c -c public localhost hrFSTable" the output is: [root@nagios net-snmp-5.7.1]# snmpwalk -v 2c -c public localhost hrFSTable HOST-RESOURCES-MIB::hrFSIndex.1 = INTEGER: 1 HOST-RESOURCES-MIB::hrFSIndex.4 = INTEGER: 4 HOST-RESOURCES-MIB::hrFSMountPoint.1 = STRING: "/" HOST-RESOURCES-MIB::hrFSMountPoint.4 = STRING: "/dev" HOST-RESOURCES-MIB::hrFSRemoteMountPoint.1 = STRING: "/dev/vzfs" HOST-RESOURCES-MIB::hrFSRemoteMountPoint.4 = "" HOST-RESOURCES-MIB::hrFSType.1 = OID: HOST-RESOURCES-TYPES::hrFSOther HOST-RESOURCES-MIB::hrFSType.4 = OID: HOST-RESOURCES-TYPES::hrFSOther HOST-RESOURCES-MIB::hrFSAccess.1 = INTEGER: readOnly(2) HOST-RESOURCES-MIB::hrFSAccess.4 = INTEGER: readWrite(1) HOST-RESOURCES-MIB::hrFSBootable.1 = INTEGER: true(1) HOST-RESOURCES-MIB::hrFSBootable.4 = INTEGER: false(2) HOST-RESOURCES-MIB::hrFSStorageIndex.1 = INTEGER: 31 HOST-RESOURCES-MIB::hrFSStorageIndex.4 = INTEGER: 34 HOST-RESOURCES-MIB::hrFSLastFullBackupDate.1 = STRING: 0-1-1,0:0:0.0 HOST-RESOURCES-MIB::hrFSLastFullBackupDate.4 = STRING: 0-1-1,0:0:0.0 HOST-RESOURCES-MIB::hrFSLastPartialBackupDate.1 = STRING: 0-1-1,0:0:0.0 HOST-RESOURCES-MIB::hrFSLastPartialBackupDate.4 = STRING: 0-1-1,0:0:0.0 Then I do a snmpwalk from our icinga machine: (snmpwalk -v 2c -c public nagios.futureweb.at hrFSTable) Output: HOST-RESOURCES-MIB::hrFSIndex.4 = INTEGER: 4 HOST-RESOURCES-MIB::hrFSMountPoint.4 = STRING: "/dev" HOST-RESOURCES-MIB::hrFSRemoteMountPoint.4 = "" HOST-RESOURCES-MIB::hrFSType.4 = OID: HOST-RESOURCES-TYPES::hrFSOther HOST-RESOURCES-MIB::hrFSAccess.4 = INTEGER: readWrite(1) HOST-RESOURCES-MIB::hrFSBootable.4 = INTEGER: false(2) HOST-RESOURCES-MIB::hrFSStorageIndex.4 = INTEGER: 34 HOST-RESOURCES-MIB::hrFSLastFullBackupDate.4 = STRING: 0-1-1,0:0:0.0 HOST-RESOURCES-MIB::hrFSLastPartialBackupDate.4 = STRING: 0-1-1,0:0:0.0 After I queried from our icinga host I do the query on localhost again: [root@nagios net-snmp-5.7.1]# snmpwalk -v 2c -c public localhost hrFSTable HOST-RESOURCES-MIB::hrFSIndex.4 = INTEGER: 4 HOST-RESOURCES-MIB::hrFSMountPoint.4 = STRING: "/dev" HOST-RESOURCES-MIB::hrFSRemoteMountPoint.4 = "" HOST-RESOURCES-MIB::hrFSType.4 = OID: HOST-RESOURCES-TYPES::hrFSOther HOST-RESOURCES-MIB::hrFSAccess.4 = INTEGER: readWrite(1) HOST-RESOURCES-MIB::hrFSBootable.4 = INTEGER: false(2) HOST-RESOURCES-MIB::hrFSStorageIndex.4 = INTEGER: 34 HOST-RESOURCES-MIB::hrFSLastFullBackupDate.4 = STRING: 0-1-1,0:0:0.0 HOST-RESOURCES-MIB::hrFSLastPartialBackupDate.4 = STRING: 0-1-1,0:0:0.0 So the root partition is gone as soon I query the information from another host?!?! When I restart the snmpd the localhost information is correct again. Any ideas on this? Thank you, bye from Austria Andreas ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users