<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Serveur-Faucon Surveillance wrote:
<blockquote cite="mids07d036e.075@bp.cslaval.qc.ca" type="cite">
<pre wrap="">I have some powerware with the SNMP/Web card. Here are my SNMP check commands.
I have included a little translation in English between "**", do not include thoses in the commands file :)
** input voltage that works with every snmp ups **
# AJOUT *** Ajout pour le VOLTAGE d'un UPS (SNMP UPS standard) en entree (upsinputvoltage)
# SNMP
define command{
command_name snmp_UPS_inputvoltage
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -c 70:140 -C $ARG1$ -o .1.3.6.1.2.1.33.1.3.3.1.3.1 -l SNMPinputVoltage -u Volts -t $USER29$
}
** Powerware only - temperature **
# AJOUT *** Ajout pour TEMPERATURE d'un UPS (PowerWare seulement)
# SNMP
define command{
command_name snmp_Pware_temp
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -C $ARG3$ -o .1.3.6.1.4.1.534.1.6.1.0 -l SNMPTemperature -u Celcius -t $USER29$
}
** UPS load, every snmp ups **
# AJOUT *** Ajout pour la charge (load) du UPS. (SNMP UPS standard)
# SNMP
define command{
command_name snmp_UPS_load
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -C $ARG3$ -o .1.3.6.1.2.1.33.1.4.4.1.5.1 -l SNMPLoad -t $USER29$
}
** ups status, every snmp ups. Not very usefull unless you know the return codes **
# AJOUT *** Ajout pour le STATUS d'un UPS PowerWare (output power). (SNMP UPS standard)
# SNMP
define command{
command_name snmp_UPS_BStatus
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.2.1.33.1.4.1.0 -l SNMPStatus -t $USER29$
}
** powerware only - time remaning on battery in seconds **
# AJOUT *** Ajout Temps restant sur la pile d'un UPS PowerWare en SECONDES (PowerWare seulement)
# SNMP UPS
define command{
command_name snmp_Pware_PileSecRest
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.534.1.2.1.0 -w $ARG2$ -c $ARG3$ -l SNMPSecRestPWare -u sec -t $USER29$
}
** every snmp ups, time remaning in minutes **
# AJOUT *** Temps restant sur la pile d'un UPS PowerWare en MINUTES (SNMP UPS standard)
# SNMP UPS
define command{
command_name snmp_UPS_PileMinRest
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.2.1.33.1.2.3.0 -w $ARG2$ -c $ARG3$ -l SNMPMinRestUPS -u min -t $USER29$
}
** powerware only - OS version of the snmp/web card **
# AJOUT *** Version du OS sur la carte SNMP (PowerWare seulement)
# SNMP UPS
define command{
command_name snmp_PWare_VersionOS
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.534.1.1.3.0 -l SNMPVersionOS -t $USER29$
}
** everything that does snmp, uptime of the snmp object **
# AJOUT *** Pour voir le sysuptime (sysuptime de la partie reseau) (tout ce qui fait du SNMP)
# SNMP
define command{
command_name snmp_sysuptime
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.2.1.1.3.0 -l SNMPuptime -t $USER29$
}
**end**
---------------------------------------------------
Alexandre Racine
Montréal, Québec, Canada
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Subhendu Ghosh <<a class="moz-txt-link-abbreviated" href="mailto:sghosh@sghosh.org">sghosh@sghosh.org</a>> 2004-04-07 09:05:01 >>>
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><!---->
No such plugin exists. Powerware uses a proprietary serial protocol that
the folks at Network UPS Tools have not been able to integrate.
However, Powerware's LanSafe Monitoring application does provide a SNMP
sub-agent on Windows that can supports the standard UPS-MIB.
(automatically installed if you already have SNMP running)
This assumes you are running the windows box as the LanSafe Controller.
Only one UPS per windows snmp agent.
Alternately - if you have the Web/SNMP card - that supports the standard
UPS-MIB as well.
-sg
On Wed, 7 Apr 2004, Jim Mozley wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Spencer L Horn wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Does anyone know off the top of there head of a decent plugin to monitor
Powerware ups's?
</pre>
</blockquote>
<pre wrap="">Did you check the archives?
Did you check the contrib plugins? There is one there for apc ups that
could possibly be modified.
Did you consider snmp; either traps or polling?
Jim Mozley
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
Thanks so much for the information and taking the time to put this
email together ! however i just finished writing a script out as well.
Still messing with the output, maybe i can find some ideas from yours =)<br>
<br>
Thanks again!<br>
Spencer<br>
</body>
</html>