Windows 2003 server OID for uptime?

Jorg.Schulz at systeam.se Jorg.Schulz at systeam.se
Fri Apr 21 07:58:19 CEST 2006


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 jorg.schulz at systeam.se
Webb www.systeam.se





Bill Kimura <bill.kimura at baesystems.com> 
Sent by: nagios-users-admin at lists.sourceforge.net
2006-04-20 22:17

To
<nagios-users at lists.sourceforge.net>
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
Nagios-users at lists.sourceforge.net
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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060421/345fc5df/attachment.html>


More information about the Users mailing list