Rép. : Re: [Nagios-users] Powerware UPS
Serveur-Faucon Surveillance
SrvFaucon at cslaval.qc.ca
Wed Apr 14 15:24:21 CEST 2004
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
>>> Subhendu Ghosh <sghosh at sghosh.org> 2004-04-07 09:05:01 >>>
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:
> Spencer L Horn wrote:
>
> > Does anyone know off the top of there head of a decent plugin to monitor
> > Powerware ups's?
>
> 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
> 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
>
--
-------------------------------------------------------
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
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
-------------------------------------------------------
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_id70&alloc_id638&op=click
_______________________________________________
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
More information about the Users
mailing list