diff --git a/plugins/other/snmp_xerox_wc-7x32 b/plugins/other/snmp_xerox_wc-7x32 index e745e58a..3ab6cb40 100755 --- a/plugins/other/snmp_xerox_wc-7x32 +++ b/plugins/other/snmp_xerox_wc-7x32 @@ -91,24 +91,24 @@ CYAN_LVL_OID=".1.3.6.1.2.1.43.11.1.1.9.1.4" DRUM_MAX_OID=".1.3.6.1.2.1.43.11.1.1.8.1.24" DRUM_LVL_OID=".1.3.6.1.2.1.43.11.1.1.9.1.24" -BLACK_MAX=`snmpget -v 1 -c public -Ov -Oq $IP $BLACK_MAX_OID` -BLACK_LVL=`snmpget -v 1 -c public -Ov -Oq $IP $BLACK_LVL_OID` +BLACK_MAX=`snmpget -v 1 -c public -Ov -Oq $HOST $BLACK_MAX_OID` +BLACK_LVL=`snmpget -v 1 -c public -Ov -Oq $HOST $BLACK_LVL_OID` BLACK_LVL_PERCENTS=$(($BLACK_LVL*100/$BLACK_MAX)) -YELLOW_MAX=`snmpget -v 1 -c public -Ov -Oq $IP $YELLOW_MAX_OID` -YELLOW_LVL=`snmpget -v 1 -c public -Ov -Oq $IP $YELLOW_LVL_OID` +YELLOW_MAX=`snmpget -v 1 -c public -Ov -Oq $HOST $YELLOW_MAX_OID` +YELLOW_LVL=`snmpget -v 1 -c public -Ov -Oq $HOST $YELLOW_LVL_OID` YELLOW_LVL_PERCENTS=$(($YELLOW_LVL*100/$YELLOW_MAX)) -MAGENTA_MAX=`snmpget -v 1 -c public -Ov -Oq $IP $MAGENTA_MAX_OID` -MAGENTA_LVL=`snmpget -v 1 -c public -Ov -Oq $IP $MAGENTA_LVL_OID` +MAGENTA_MAX=`snmpget -v 1 -c public -Ov -Oq $HOST $MAGENTA_MAX_OID` +MAGENTA_LVL=`snmpget -v 1 -c public -Ov -Oq $HOST $MAGENTA_LVL_OID` MAGENTA_LVL_PERCENTS=$(($MAGENTA_LVL*100/$MAGENTA_MAX)) -CYAN_MAX=`snmpget -v 1 -c public -Ov -Oq $IP $CYAN_MAX_OID` -CYAN_LVL=`snmpget -v 1 -c public -Ov -Oq $IP $CYAN_LVL_OID` +CYAN_MAX=`snmpget -v 1 -c public -Ov -Oq $HOST $CYAN_MAX_OID` +CYAN_LVL=`snmpget -v 1 -c public -Ov -Oq $HOST $CYAN_LVL_OID` CYAN_LVL_PERCENTS=$(($CYAN_LVL*100/$CYAN_MAX)) -DRUM_MAX=`snmpget -v 1 -c public -Ov -Oq $IP $DRUM_MAX_OID` -DRUM_LVL=`snmpget -v 1 -c public -Ov -Oq $IP $DRUM_LVL_OID` +DRUM_MAX=`snmpget -v 1 -c public -Ov -Oq $HOST $DRUM_MAX_OID` +DRUM_LVL=`snmpget -v 1 -c public -Ov -Oq $HOST $DRUM_LVL_OID` DRUM_LVL_PERCENTS=$(($DRUM_LVL*100/$DRUM_MAX)) echo -n "cyan.value "