Hej Bill

i tried this on our W2003 server (HP)

the check plugin called check_snmp_cpquptime

$USER1$/check_snmp -H $HOSTADDRESS$ -o compaq.19.2.2.2.0 -l 'System Uptime' $ARG1 -C public

try with SNMP
/usr/local/nagios/libexec/check_snmp -H <yourserver> -o  compaq.19.2.2.2.0 -l 'System Uptime' -C public
output

System Uptime OK - "9 Day(s) 4 Hour(s) 42 Minute(s) 8 Second(s)" | CPQHOST-MIB::compaq.19.2.2.2.0="9 Day(s) 4 Hour(s) 42 Minute(s) 8 Second(s)";;;;

If you have another Hardware try to find the OID from http://www.oidview.com/mibs/detail.html

Best regards

Jörg Schulz

SYSteam Kalmar AB

Strömgatan 15
Box 99, 391 21 Kalmar

Direkt 0480-456638
Mobil 0708-157806
E-Post [EMAIL PROTECTED]
Webb www.systeam.se




Bill Kimura <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

2006-04-20 22:17

To
<[email protected]>
cc
Subject
[Nagios-users] Windows 2003 server OID for uptime?





Does anyone know what the snmp OID is for reporting system uptime
on a Windows 2003 server?  I've looked at both hrSystemUptime.0 and
sysUpTime.0, but neither agree with the output of "net statistics server"
on the actual server.  Any help would be greatly appreciated.

Thanks,
- Bill



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null


Reply via email to