Combining 2 OID to get single display
Posted: Sat Sep 29, 2018 1:32 am
can i include 2 oid in single check_snmp command ?
for eg.
./check_snmp -P 2c -C public -H *.*.*.* -o 1.3.6.1.4.1.9.9.109.1.1.1.1.12 - this shows used memory
./check_snmp -P 2c -C public -H *.*.*.* -o 1.3.6.1.4.1.9.9.109.1.1.1.1.13 - this shows free memory
i want to get both in single line of command so that on GUI i can see both side by side.
for eg.
./check_snmp -P 2c -C public -H *.*.*.* -o 1.3.6.1.4.1.9.9.109.1.1.1.1.12 - this shows used memory
./check_snmp -P 2c -C public -H *.*.*.* -o 1.3.6.1.4.1.9.9.109.1.1.1.1.13 - this shows free memory
i want to get both in single line of command so that on GUI i can see both side by side.