Re: [Nagios-users] can't get host to display in Host Detail panel

2010-09-21 Thread Jonathan Wiggins
# The following examples use hardcoded command arguments... command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_hda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1 com

Re: [Nagios-users] can't get host to display in Host Detail panel

2010-09-21 Thread Stuart Browne
Ok, what are those definitions and what output do they give when you run them on the remote machine manually? From: Jonathan Wiggins [mailto:jwigg...@salon.com] Sent: Wednesday, 22 September 2010 09:55 To: Nagios Users List Subject: Re: [Nagios-users] can't get host to display in Host Detail pane

Re: [Nagios-users] can't get host to display in Host Detail panel

2010-09-21 Thread Jonathan Wiggins
Hi Stuart That line does exist, along with others, in the nrpe.cfg file I run these, for example, and both give the same output: /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_users NRPE: Unable to read output /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_load NRPE: Un

Re: [Nagios-users] can't get host to display in Host Detail panel

2010-09-21 Thread Stuart Browne
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

[Nagios-users] can't get host to display in Host Detail panel

2010-09-21 Thread Jonathan Wiggins
I have 3 web servers, and although they at one time all showed up successfully, now one of them does not. i have verified on the web server in question that nrpe is running and listening on tcp/5666: netstat -ntlp | grep nrpe tcp0 0 0.0.0.0:56660.0.0.0:*

Re: [Nagios-users] Conditional checks between different hou rs?

2010-09-21 Thread Kyle O'Donnell
setup 2 services where the check time periods don't overlap, and the different values are checked during their respective times. ie service-check-cpu-day 0800-1800 with command args of say 90% service check-cpu-night 18:01-24:00,00:00-07:59 with command args of say 50% not ideal because you crea

Re: [Nagios-users] Conditional checks between different hours?

2010-09-21 Thread Greg Pangrazio
I have in the past used a wrapper script that took the different inputs and issued the command differently based on the time of day. The answer is that it looks the same to nagios but the return value from the plugin (my wrapper) is different based on time of day. Basically my script called the ori

Re: [Nagios-users] Conditional checks between different hours?

2010-09-21 Thread Scott Lofland
>-Original Message- >From: Jim Avery [mailto:j...@jimavery.me.uk] > >On 20 September 2010 16:27, Ricardo F wrote: >> >> Hello, >>     Is it possible to put different checks values >> (max_check_attempts, retry_check_interval, normal_check_interval, notification_interval) >> and check eac

Re: [Nagios-users] Conditional checks between different hours?

2010-09-21 Thread Jim Avery
On 20 September 2010 16:27, Ricardo F wrote: > > Hello, >     Is it possible to put different checks values > (max_check_attempts, retry_check_interval, normal_check_interval, notification_interval) > and check each one if is one hour on another? I'm pretty sure it isn't (not without a cludge of

[Nagios-users] SQL-DB Services-Unknown Status

2010-09-21 Thread ravishankar.gundlapali
Hi, I am using Nagios Version 3.0.6 on a Linux server to monitor the SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers. The status information in Nagios is showing following error. Please see the screenshots below 1) UNKNOWN: No handler for that command I am using the follo

[Nagios-users] Batched service check data

2010-09-21 Thread Jens Deppe
Hello, I have an environment where I would like to feed Nagios with batched service statistics. The reasons for this are varied: o There is no direct connection between the server and clients. The clients will need to, periodically, push the data to a location which is also accessible by the se

Re: [Nagios-users] Handling different states

2010-09-21 Thread Stuart Browne
> -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 process