Thanks for your reply folks.. :)
Finally I have concluded that the portion which reads the argument has
issues.
$host=$ARGV[0];
It isn't taken correctly when its executed from nagios. Please somebody tell
me what code should I put if I need to specify the host name like
./test.pl-H hostname?
Finally I have concluded that the portion which reads the argument has issues.
$host=$ARGV[0];
Read that link I gave you, it explains this thoroughly.
On another note, your plugin looks like you simply query an OID for a value
and return levels based on a range? Why are you writing a plugin to
If you're going to be writing many of your own plugins, it might be worth the
effort to use the Nagios::Plugin modules
(http://search.cpan.org/~tonvoon/Nagios-Plugin-0.35/lib/Nagios/Plugin.pm).
They're probably installed under the perl/lib subdirectory of your Nagios
installation. Among other
From: Nibin VM [mailto:nibin...@piserve.com]
Sent: January-24-11 10:17
To: Nagios Users List
Subject: Re: [Nagios-users] Trying to develop a new perl plugin
$host=$ARGV[0];
It isn't taken correctly when its executed from nagios. Please somebody tell
me what code should
I put if I
Hello, I'm using Mr. Amundsen's excellent check_openmanage plugin, and I'm
getting an odd error:
$ check_openmanage -H myserver -C public
Power Supply 0 [AC] needs attention: Presence detected, Failure detected, AC
lost
Voltage sensor 14 [PS 2 Voltage 2] is
INTERNAL ERROR: Use of uninitialized
$ check_openmanage -H myserver -C public
Power Supply 0 [AC] needs attention: Presence detected, Failure detected,
AC lost
You have a power supply #0, it is plugged in, but it has no AC
input. Someone tripped over a cable.
Voltage sensor 14 [PS 2 Voltage 2] is
INTERNAL ERROR: Use of
Jeffrey Watts jeffrey.w.wa...@gmail.com writes:
Hello, I'm using Mr. Amundsen's excellent check_openmanage plugin, and I'm
getting an odd error:
$ check_openmanage -H myserver -C public
Power Supply 0 [AC] needs attention: Presence detected, Failure detected, AC
lost
Voltage sensor 14 [PS
Hi,
I have done my 'due dilligence' in trying to get nagwin/nsclient++ to 'work' in
any regard. Meaning, read the requisite docs, config suggestions etc.
But just to save myself time - does the nagwin/nsclient++ 'stuff' actuall work ?
The items are the 'latest and greatest' downloads.
Just
That's easy, just use the Getopt
-
use Getopt::Long;
use vars qw($opt_h $opt_C $opt_H);
# Get the options
Getopt::Long::Configure('bundling');
GetOptions
(h = \$opt_h, help = \$opt_h, # Help Flag
H=s = \$opt_H, hostname=s = \$opt_H); # Hostname
# Validate the options
if ($opt_h) {
Steve yackey_steve at emc.com writes:
Hi,
I have done my 'due dilligence' in trying to get nagwin/nsclient++ to 'work'
in
any regard. Meaning, read the requisite docs, config suggestions etc.
But just to save myself time - does the nagwin/nsclient++ 'stuff' actuall
work ?
The items
Thanks Trond! That seems to have fixed it. Here's what I see now:
./check_openmanage -H pkc-search28 -C tomgeco
Power Supply 0 [AC] needs attention: Presence detected, Failure detected, AC
lost
Voltage sensor 14 [PS 2 Voltage 2] is Unknown reading
It comes up correctly now as a CRIT, too.
Jeffrey Watts jeffrey.w.wa...@gmail.com writes:
Thanks Trond! That seems to have fixed it. Here's what I see now:
./check_openmanage -H pkc-search28 -C tomgeco
Power Supply 0 [AC] needs attention: Presence detected, Failure detected, AC
lost
Voltage sensor 14 [PS 2 Voltage 2] is Unknown
Hi, folks,
I'm in need of using nrpe to get information from log files, and
I'm stumped on where to find guidance on doing so. Any pointers to the
right information or the right place to ask (if this isn't it)?
Thanks,
John A
I'm in need of using nrpe to get information from log files, and
I'm stumped on where to find guidance on doing so. Any pointers to the
right information or the right place to ask (if this isn't it)?
I would take a look at the sample nrpe.cfg that comes with NRPE for
examples of
Nagwin + NSClient++ will work just fine as long as you run NSClient in
NRPE mode.
Tev
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even
Hi,
It seems that Cygwin support for named pipes may have some broken
partshttp://cygwin.com/ml/cygwin/2010-08/msg00459.html,
causing trouble during porting of External Command Interface.
What I observe that Nagios manages to write to the named pipe for the first
time. Following requests end up
Hello,
I wanted to unregister for Nagios mail. Please remove my email id from this
user list.
Thank you.
Warm regards,
Naveen.R.,
Philips Consumer Lifestyle, Philips Innovation Campus,
Philips Electronics India Ltd, Manyata Tech Park, Nagavara,
Bangalore - 560045.
Ph: +91 80 40162000
Extn:
I've been using Trond Amundsen's awesome check_openmanage script to
babysit a dozen or so full of various Dell PowerEdges - all the way
from x550s to x950s (thanks, Trond!)
After upgrading three of the 1850s to Dell OMSA 6.4 today, I noticed
something strange. The three of them now display in
18 matches
Mail list logo