[Nagiosplug-devel] [ nagiosplug-Bugs-1714823 ] check_ups - -v parameter not working / needs documentation
SourceForge.net
noreply at sourceforge.net
Tue May 8 11:51:57 CEST 2007
Bugs item #1714823, was opened at 2007-05-08 09:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1714823&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ask Bjoern Hansen (ask)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_ups - -v parameter not working / needs documentation
Initial Comment:
./check_ups --help
says -v is
[-v variable]
and
-v, --verbose
Show details for command-line debugging (Nagios may truncate output)
The detailed documentation talks about specifying a variable, so I am guessing the first version is correct. The information on what the variables are is missing though.
./check_ups -H localhost -u ups1 -T
UPS OK - Status=Online Utility=113.0V Batt=100.0% Load=59.0% Temp=29.0C|voltage=113000mV;;;0 battery=100%;;;0;100 load=59%;;;0;100 temp=29degC;;;0
# ./check_ups -H localhost -u ups1 -T -v Temp
check_ups: Unrecognized UPS variable - Temp
Usage:check_ups -H host -u ups [-p port] [-v variable] [-w warn_value] [-c crit_value] [-to to_sec] [-T]
# ./check_ups -H localhost -u ups1 -T -v Batt
check_ups: Unrecognized UPS variable - Batt
Usage:check_ups -H host -u ups [-p port] [-v variable] [-w warn_value] [-c crit_value] [-to to_sec] [-T]
# ./check_ups -H localhost -u ups1 -T -v load
check_ups: Unrecognized UPS variable - load
Usage:check_ups -H host -u ups [-p port] [-v variable] [-w warn_value] [-c crit_value] [-to to_sec] [-T]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1714823&group_id=29880
More information about the Devel
mailing list