I am trying to add the "Used Space" graphs on a device, via the CLI.
Here are the interesting parameters :
But I don't have the good SNMP fields ![root@ukmon002 cli]# php add_graphs.php --list-snmp-queries|grep "SNMP.*Par"
8 SNMP - Get Mounted Partitions
[root@ukmon002 cli]#
[root@ukmon002 cli]# php add_graphs.php --list-graph-templates|grep "MIB.*Disk"
26 Host MIB - Available Disk Space
[root@ukmon002 cli]#
[root@ukmon002 cli]# php add_graphs.php --snmp-query-id=8 --list-query-types
Known SNMP Query Types: (id, name)
18 Available Disk Space
[root@ukmon002 cli]#
If I had by hand, in the web interface, "Add Data Query: SNMP - Get Mounted Partitions "
It goes from :
How can I add these fields using the CLI ?[root@ukmon002 cli]# php add_graphs.php --list-snmp-fields --host-id=11
Known SNMP Fields for host-id 11: (name)
ifDescr
ifHwAddr
ifIndex
ifIP
ifOperStatus
ifSpeed
ifType
[root@ukmon002 cli]#
to
[root@ukmon002 cli]# php add_graphs.php --list-snmp-fields --host-id=11
Known SNMP Fields for host-id 11: (name)
hrStorageAllocationUnits
hrStorageDescr
hrStorageIndex
ifDescr
ifHwAddr
ifIndex
ifIP
ifOperStatus
ifSpeed
ifType
[root@ukmon002 cli]#
Thanks !