Discussion:
How To Monitor the Linux Inode
subba rayudu
2013-02-07 12:10:01 UTC
Permalink
subba rayudu [http://community.zenoss.org/people/subbu5678] created the discussion

"How To Monitor the Linux Inode"

To view the discussion, visit: http://community.zenoss.org/message/71431#71431

--------------------------------------------------------------
Hi Team,

Can any one help me how to monitor the Linux Inode . Intially i used the below Script to monitor but it's printing the wrong value . I required help

Command : check_disk -W 10% -K 5% -p /

Check_disk - Plugin

-W - Warning for Inode

-K Critical for Inode

It's printing the same value for all the partitions . Can any one please help me out


Thanks,
Subbu
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/71431#71431]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Sandeep_Krishnan
2013-02-12 04:09:07 UTC
Permalink
Sandeep_Krishnan [http://community.zenoss.org/people/Sandeep_Krishnan] created the discussion

"Re: How To Monitor the Linux Inode"

To view the discussion, visit: http://community.zenoss.org/message/71452#71452

--------------------------------------------------------------
Install zenoss and add the linux node, it will gather network routes, disk usage etc...
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/71452#71452]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
James Newman
2013-02-12 12:41:34 UTC
Permalink
James Newman [http://community.zenoss.org/people/JimForTheWin] created the discussion

"Re: How To Monitor the Linux Inode"

To view the discussion, visit: http://community.zenoss.org/message/71455#71455

--------------------------------------------------------------
If you're using NET-SNMP you can use the following:

snmpwalk -v<version> -c<community> <hostname> dskTable

This shows details for each disk you have specific in your snmpd.conf (or snmpd.local.conf)

On an example host, I have two disks specified and get the following results:

UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1
UCD-SNMP-MIB::dskIndex.2 = INTEGER: 2
UCD-SNMP-MIB::dskPath.1 = STRING: /
UCD-SNMP-MIB::dskPath.2 = STRING: /gpfs/g-uss-sm
UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/mapper/vg01-lv_root
UCD-SNMP-MIB::dskDevice.2 = STRING: /dev/g-uss-sm
UCD-SNMP-MIB::dskMinimum.1 = INTEGER: -1
UCD-SNMP-MIB::dskMinimum.2 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: 5
UCD-SNMP-MIB::dskMinPercent.2 = INTEGER: 5
UCD-SNMP-MIB::dskTotal.1 = INTEGER: 2086912
UCD-SNMP-MIB::dskTotal.2 = INTEGER: 3221225472
UCD-SNMP-MIB::dskAvail.1 = INTEGER: 1757304
UCD-SNMP-MIB::dskAvail.2 = INTEGER: 2169982976
UCD-SNMP-MIB::dskUsed.1 = INTEGER: 329608
UCD-SNMP-MIB::dskUsed.2 = INTEGER: 1051241984
UCD-SNMP-MIB::dskPercent.1 = INTEGER: 16
UCD-SNMP-MIB::dskPercent.2 = INTEGER: 9
*UCD-SNMP-MIB::dskPercentNode.1 = INTEGER: 0*
*UCD-SNMP-MIB::dskPercentNode.2 = INTEGER: 25*
UCD-SNMP-MIB::dskErrorFlag.1 = INTEGER: 0
UCD-SNMP-MIB::dskErrorFlag.2 = INTEGER: 0
UCD-SNMP-MIB::dskErrorMsg.1 = STRING:
UCD-SNMP-MIB::dskErrorMsg.2 = STRING:

The lines in *bold* are Inode usage for each disk.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/71455#71455]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...