[HOWTO] Build a graph set from snmpget output

If you figure out how to do something interesting/cool in Cacti and want to share it with the community, please post your experience here.

Moderators: Developers, Moderators

Post Reply
paulbeard206
Cacti User
Posts: 150
Joined: Sat Jul 30, 2005 2:15 pm

[HOWTO] Build a graph set from snmpget output

Post by paulbeard206 »

Our moderator lvm has agreed to walk through the steps necessary to build a cacti template suite from the output of snmp commands.

Here's what I see from an snmptable invocation of the hrStorageTable dataset.

Code: Select all

SNMP table: HOST-RESOURCES-MIB::hrStorageTable

 hrStorageIndex                                hrStorageType         hrStorageDescr hrStorageAllocationUnits hrStorageSize hrStorageUsed hrStorageAllocationFailures
              1         HOST-RESOURCES-TYPES::hrStorageOther         Memory Buffers                256 Bytes             0             ?                           0
              2           HOST-RESOURCES-TYPES::hrStorageRam            Real Memory               4096 Bytes         61450             ?                           0
              3 HOST-RESOURCES-TYPES::hrStorageVirtualMemory             Swap Space               4096 Bytes        263010             ?                           0
              4         HOST-RESOURCES-TYPES::hrStorageOther Memory Buffer Clusters               1024 Bytes          1024             ?                           0
              5     HOST-RESOURCES-TYPES::hrStorageFixedDisk                      /               1024 Bytes         99183             ?                           0
              6     HOST-RESOURCES-TYPES::hrStorageFixedDisk                   /usr               1024 Bytes       7302338             ?                           0
              7     HOST-RESOURCES-TYPES::hrStorageFixedDisk                   /var               1024 Bytes         19815             ?                           0
              8     HOST-RESOURCES-TYPES::hrStorageFixedDisk                  /proc               4096 Bytes             1             ?                           0
              9     HOST-RESOURCES-TYPES::hrStorageFixedDisk                   /opt               1024 Bytes      75746877             ?                           0
             10     HOST-RESOURCES-TYPES::hrStorageFixedDisk                 /cdrom               2048 Bytes        282426             ?                           0
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest