Sadly, the way NSCA works at the moment isn't capable of doing multi-line
responses (when I investigated about 6 months ago at least) as it uses the
external command file (which is a single-line command/response FIFO).
What I ended up doing to simulate the behaviour was to implement
Current as in installed, or current as in available?
We wrote this a while ago to see if the most recently installed kernel is the
bootable kernel:
#!/bin/bash
#
# Check if current kernel is being used.
#
GRUBBY=/sbin/grubby
GREP=/bin/grep
UNAME=/bin/uname
OUTPUT=Current kernel running.
What happens when you run this check as the user Nagios runs as (usually
'nagios')?
Stuart
From: peter.shankl...@ricoh-rpl.com [mailto:peter.shankl...@ricoh-rpl.com]
Sent: Thursday, 31 May 2012 8:14 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_snmp_ibm_imm.sh Plugin
Jeremy,
You can have HARD WARNING state as well. SOFT is when you have not yet reached
max_check_attempts.
Stuart
From: Jeremy Page [mailto:jeremy.p...@gilbarco.com]
Sent: Friday, 20 April 2012 1:35 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios-users Digest, Vol
-Original Message-
From: Marki [mailto:jm+nagios-us...@roth.lu]
Sent: Wednesday, 21 March 2012 9:13 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] one shot check at specific time of day
Hi people,
I have problems defining a check so that it only runs once each
Hi,
-Original Message-
From: David Dyer-Bennet [mailto:d...@dd-b.net]
Sent: Wednesday, 22 February 2012 10:42 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Where can arguments go?
I'm looking to use a special check command to verify routers are in
operation by
Hi,
One of the errors is saying you're not using $sqlplus variable for execution,
but we can't see the code that actually does the executing (you probably just
left off the $).
The language isn't being set properly. Possibly this is the shell you're
executing from doesn't have it, thus all
them in a time series data warehouse that is sensitive to interval
skew...any poller that hits 10 seconds latency has to be bounced.
We are at 12 pollers or so right now and we will be up to almost 20 by
next year at this time.
Sounds fun ;)
Max
On 10/2/11, Stuart Browne stuart.bro
Hi,
I know this topic has been covered many times, but I've tried those tweaks and
I have the remaining issue.
After a few days, the latency on checks explodes. It goes along quite happily
with small values, then after (about) 3 days, the values rise quite sharply.
I've recently been
I don't have a generic solution, but we write all such things using Perl and
WWW::Mechanize.
What are your perl skills like?
Stuart
-Original Message-
From: Mark Elsen [mailto:mark.el...@gmail.com]
Sent: Tuesday, 27 September 2011 5:43 PM
To: Nagios Users List
Subject:
-Original Message-
From: Axel Rosenski [mailto:rosen...@wave-computer.de]
Sent: Monday, 5 September 2011 5:35 PM
To: Nagios Users List
Subject: [Nagios-users] Different notification behaviour depending on
daytime?
Hi,
I want to know whats the best or common way to get different
-Original Message-
From: Andre Tann [mailto:at...@alphasrv.net]
Sent: Tuesday, 24 May 2011 4:32 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Question about notification_period
Hello everyone,
I want my servers to be checked in a 24x7 period, and I want to be
-Original Message-
From: trm asn [mailto:trm.nag...@gmail.com]
Sent: Friday, 20 May 2011 6:24 PM
To: Nagios Users List
Subject: [Nagios-users] IBM System x3650
Dear List,
Is there any way we can monitor hardware device health for IBM System
x3650 , like we can do for HP
-Original Message-
From: Justin T Pryzby [mailto:just...@norchemlab.com]
Sent: Thursday, 24 March 2011 9:56 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] compact definition of multiple hosts or service
groups?
Hi Everyone,
Is there any way to add multiple
Have you had a look at the 'check_cluster' plugin? It allows you to team
multiple services into a single service. You tell it how many can
fail/not-fail before raising an alert etc.
http://nagios.sourceforge.net/docs/3_0/clusters.html
We use this for our SMTP MX target availability.
Stuart
From: Edwin Zoeller [mailto:edwin.zoel...@ama-assn.org]
Sent: Thursday, 20 January 2011 7:28 AM
I was wondering if someone out there can help me with this. I am trying to
monitoring a website to which I login with a username/password then from
there as that user access another site that I
-Original Message-
From: Yu Watanabe [mailto:yu.watan...@jp.fujitsu.com]
Sent: Thursday, 6 January 2011 5:04 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Check behavior during the notification event
Hello all.
I would like to ask a question regarding to the
Perhaps you'd like to run the plugin (as nagios) when it is erroring
and show us the output?
I was just about to ask the same question, when this thread appeared. I
have exactly the same problem. In my case it is a Python script. The
output is fine for the OK state, but missing for other
-Original Message-
From: Alexander Haas [mailto:a...@geloet.de]
Subject: [Nagios-users] No output returned from plugin
Hi list,
it's me again :)
I wrote a plug-in which does work great. It works from the shell as
root, from the shell as nagios and from nagios executed as
-Original Message-
From: Alexander Haas [mailto:a...@geloet.de]
Subject: Re: [Nagios-users] No output returned from plugin
Hi Stuart,
you got me on that one :)
The output did in fact contain a empty new line. I did not pay very much
attention to this fact because my own error
-Original Message-
From: Jim Avery [mailto:j...@jimavery.me.uk]
Sent: Tuesday, 9 November 2010 4:16 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Status Information in to Logfile
On 8 November 2010 16:45, matt.garr...@shell.com wrote:
If a Service state is ok and its
-Original Message-
From: Litwin, Matthew [mailto:mlit...@stubhub.com]
Sent: Monday, 25 October 2010 14:11
To: nagios-users@lists.sourceforge.net List
Subject: [Nagios-users] tim format in nagios.log
how can I change time from unix time to human readable?
There are a number of
-Original Message-
From: Robert Wolfe [mailto:robert.wo...@robertwolfe.org]
Sent: Friday, 1 October 2010 11:38
To: Nagios Users List
Subject: Re: [Nagios-users] significant bug in 3.2.2 - nagios.cfg --
execute_service_checks=0 completely ignored
Hi all. My first post here. So
-Original Message-
From: sandma...@libero.it [mailto:sandma...@libero.it]
Sent: Tuesday, 21 September 2010 16:31
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Handling different states
Hi all,
I've written a plugin that looks for number of record processed. If
what's the command line that is called from nrpe when it's asked for a
'check_load' ? There should be a line similar to this in there:
command[check_load]=/usr/lib64/nagios/plugins/check_load -w 5,4,3 -c 8,6,4
Does this exist in the nrpe.cfg? If you run the command from your
configuration as
: Unable to read output
do I actually need to supply arguments at the end of the check_nrpe command?
e.g., -w 5,4,3 (i've tried doing so, but to no avail)
On Sep 21, 2010, at 3:57 PM, Stuart Browne wrote:
what's the command line that is called from nrpe when it's asked for a
'check_load
From: Tracy Phillips [mailto:tracy.phill...@amerinap.com]
Sent: Thursday, 29 July 2010 13:03
Hi List!
I am building RPM's (on RHEL 5.5 x86_64) from the provided
nagios-plugins.spec file.
The build goes well, however after the install when I try to install
the RPM's I get the
-Original Message-
From: Litwin, Matthew [mailto:mlit...@stubhub.com]
Sent: Thursday, 8 July 2010 13:01
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] setting ENV for checks in commands.cfg
Hi, I need to set up my checks in command.cfg to source an ENV file
before
-Original Message-
From: Litwin, Matthew [mailto:mlit...@stubhub.com]
Sent: Tuesday, 8 June 2010 08:57
I need to monitor that a process is running on one of three hosts and
that is not running on the other two. Is there a way to set up a
service such that a check must return OK for
As you've not said what system you're wanting to check account expirations on,
it makes it a bit hard to give decent advice.
On a Linux box, about the closest I can think of is to run 'passwd -S user'
on every user on a box. This specific command only works for local accounts
however. If in
-Original Message-
From: Scot Wilcoxon [mailto:s...@wilcoxon.org]
I want to make all check_http commands use a different timeout. How
can
I replace the check_http command without altering the original
definition file?
I tried redefining the command in the directory where I have
Does 'check_http' not work for you?
From: ward.p.fonte...@wellsfargo.com [mailto:ward.p.fonte...@wellsfargo.com]
Sent: Tuesday, 11 May 2010 09:45
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Odd long URL
Hello,
After scratching my head until my head fell I have come to ask
From: Paras pradhan [mailto:pradhanpa...@gmail.com]
Just installed nagiosgraph and nagios (bothe latest) . Nagios seems to be
working fine. When i see Load graph, I am seeing something like 350m, 440m,
200m instead of 0.03, 0.04, 0.02. I don't know what this m is and how/why
this is
Oops, wrong scale. Milli as Romain suggests.
-Original Message-
From: Stuart Browne [mailto:stuart.bro...@ausregistry.com.au]
Sent: Wednesday, 7 April 2010 09:09
To: Nagios Users List
Subject: Re: [Nagios-users] Nagiosgraph and load graphing
From: Paras pradhan [mailto:pradhanpa
-Original Message-
From: Morris, Patrick [mailto:patrick.mor...@hp.com]
Traiano Welcome wrote:
Hi All
I'm sending nagios logs to a 3rd party application (Netcool) for
processing, and there is a requirement for the IP address of the
monitored device to appear in the ALERT and
-Original Message-
From: Rick Garland [mailto:rick.garl...@quantum.com]
On Mar 10, 2010, at 11:29 AM, Rick Garland wrote:
Hi Marc:
In the script I have it doing a couple of arcane things for testing.
I have it touch a file called 'test' and I have it echo the macro
values to a
-Original Message-
From: ravishankar.gundlap...@wipro.com
I have approached my security team and they have suggested me that they
can change the IP address of this Linux box and move it to a different
VLan for some time period where we have internet access, so that I can
install the
-Original Message-
From: Marc Powell [mailto:m...@ena.com]
snip
Try adding a bit at the top of the script to touch a file or something
to see if it really ran and is maybe failing further into the script
(i.e. because of a potential sudo restriction).
exec /tmp/$(/bin/basename
From: akp geek [mailto:akpg...@gmail.com]
I have installed nagios on server1. Without installing NRPE on the Server2 ,
would it possible to use the check_disk to monitor the space on server2.
Thanks
for the help
Investigate the 'check_by_ssh' plugin that comes with the nagios-plugins.
From: Ennis Ibarra [mailto:en...@nmcourts.gov]
From: Stuart Browne stuart.bro...@ausregistry.com.au
From: akp geek [mailto:akpg...@gmail.com]
I have installed nagios on server1. Without installing NRPE on the
Server2, would it possible to use the check_disk to monitor the
space
-Original Message-
From: Wolfe, Robert [mailto:robert.wo...@robertwolfe.org]
Sent: Thursday, 4 February 2010 01:52
Hi all!
I am wanting to write a plugin that will tell Asterisk to make a test
call every so often and then report back to Nagios if a call was
successful or not.
-Original Message-
From: Mr Gabriel [mailto:gabr...@impactteachers.com]
Sent: Monday, 25 January 2010 09:49
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] How to run a perl script instead of sending
emails?
Dear All,
I have a perl script that connects to my
-command= ?
Stuart Browne
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications
-Original Message-
From: Ricardo Melendez [mailto:rmelen...@utep.com.mx]
Sent: Wednesday, 28 October 2009 10:35
To: Stuart Browne; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] RV: check_snmp : External command error
with no output (return code: 3)
Hi, Stuart
Hi All
When I run the check_disk plugin it only detects the first disks
numbers.
[r...@wsrv1 nagios]# /usr/lib/nagios/plugins/check_disk -w 80
DISK WARNING - free space: / 14512 MB (50% inode=97%); /boot 58 MB (62%
inode=99%); /mnt/disk 16522 MB (53% inode=99%); /mnt/dbdata 2445 MB (7%
-Original Message-
From: Justin Pryzby [mailto:just...@norchemlab.com]
Sent: Monday, 5 October 2009 02:50
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] escalation for receiving only recovery events?
A coworker wants to receive periodic notifies for failing
-Original Message-
From: Marc Powell [mailto:m...@ena.com]
Sent: Friday, 25 September 2009 22:21
On Sep 25, 2009, at 6:29 AM, Angel L. Mateo wrote:
Hello,
I am using nagios3 and I'm having problem scheduling downtimes
for hosts...
The problem is that although I
NRPE has requests made to it by the nagios server.
-Original Message-
From: YungWei Chen [mailto:ywche...@yahoo.com]
Sent: Monday, 7 September 2009 11:21
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] How does an NRPE daemon work with multiple Nagios
servers?
Hi,
Hi,
I'm trying to get a passive-checked is_volatile service working.
Currently, it accepts the passive result, changes to 'WARNING', but that's the
end of it.
It doesn't return back to an OK state.
Service definition exploded out from templates as follows:
define service {
The nagios Plugins has a 'check_mysql' compiled binary which does basic checks,
and has plenty of built-in help to get it working.
From: Eduardo Barreto [mailto:lec...@gmail.com]
Sent: Tuesday, 26 May 2009 01:55
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Monitoring MSSQL
Hi
Generally, checks will run as the 'nagios' user (nagios_user in nagios.cfg).
If the check needs to write to some temporary files, or is in a place where
that user cannot read from, it may just be a 'Permission Denied' issue.
When you run it from the command line, do you run it as the 'nagios'
Oh crud!
Sorry.
Brain wasn't awake :(
-Original Message-
From: Jon Angliss [mailto:j...@netdork.net]
Sent: Tuesday, 26 May 2009 13:31
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring MSSQL
On Tue, 26 May 2009 09:08:26 +1000, Stuart Browne
stuart.bro
52 matches
Mail list logo