In an attempt to get us back up and running I devised a bash script plugin to grab the snmp data manually parse it and report back the status. Here are the results aptly called check_uptime.sh:
#Description: Nagios plugin to check uptimes of servers and equipment.
#Linux uses a different OID for uptime than does everything else. If you use the regular
#OID for Linux hosts you will get an erroneous answer.
#Created by Jason Wasser
#Until I can learn how to parse command line arguments, we must accept the command line
#argments in order.
#$1 - hostname
#$2 - community name
#$3 - critical (automatically chooses less than) value in ticks (100 ticks per second)
#$4 - OID - choose between one of the values below
#OID for Linux: HOST-RESOURCES-MIB::hrSystemUptime.0
#OID for Other: 184.108.40.206.220.127.116.11.0
UPTFULL=`snmpget -v1 -c $2 $1 $4 | cut -d "=" -f 2`
UPT=`echo $UPTFULL | cut -d "(" -f 2|cut -d ")" -f 1`
if [ $UPT -lt $3 ]; then
echo "CRITICAL -" "$UPTFULL"
elif [ $UPT -gt $3 ]; then
echo "OK -" "$UPTFULL"
echo "UNKNOWN -" "$UPTFULL"