[Nagios-users] Monitoring unmounted partition

2011-02-08 Thread Javier Rivera
Good Morning, Im having a problem with check_nrpe. Im monitoring a partition /mnt/2 f.e. If i dont have this partition mounted, it just returns the value of "/" witout sending any error. How can i get an alert when the partition isn`t mounted.

[Nagios-users] Fwd: Monitoring unmounted partition

2011-02-08 Thread Javier Rivera
Good Morning, Im having a problem with check_nrpe. Im monitoring a partition /mnt/2 f.e. If i dont have this partition mounted, it just returns the value of "/" witout sending any error. How can i get an alert when the partition isn`t mounted.

Re: [Nagios-users] Nagios::Plugin and Nagios Embedded perl interpretor

2011-02-08 Thread Max Schubert
Marc, On Tue, Feb 8, 2011 at 6:16 AM, Marc-André Doll m...@b-care.net wrote: Hi list, I'm developing some Nagios plugin with the Nagios::Plugin perl module and it's saving me a great amount of time. However, I encountered a little problem when I tried to activate the embedded perl

Re: [Nagios-users] Monitoring unmounted partition

2011-02-08 Thread dave stern - e-mail.pluribus.unum
Write a plugin. It could search the output of the command, mount On Tue, Feb 8, 2011 at 6:49 AM, Javier Rivera jriv...@skisa.com wrote: Good Morning, Im having a problem with check_nrpe. Im monitoring a partition /mnt/2 f.e. If i dont have this partition mounted, it just returns the

Re: [Nagios-users] Nagios::Plugin and Nagios Embedded perl interpretor

2011-02-08 Thread Marc-André Doll
Yes that was it! Thank you for your hint. Marc-André On Tue, 2011-02-08 at 07:18 -0500, Max Schubert wrote: Marc, On Tue, Feb 8, 2011 at 6:16 AM, Marc-André Doll m...@b-care.net wrote: Hi list, I'm developing some Nagios plugin with the Nagios::Plugin perl module and it's saving me

Re: [Nagios-users] Monitoring unmounted partition

2011-02-08 Thread C. Bensend
Im having a problem with check_nrpe. Im monitoring a partition /mnt/2 f.e. If i dont have this partition mounted, it just returns the value of / witout sending any error. br br How can i get an alert when the partition isn`t mounted.br Oooof, plain text, please. I

Re: [Nagios-users] Monitoring unmounted partition

2011-02-08 Thread Tntteam
Here is my script that you can rewrite to fit ur needs #!/bin/bash disk=/dev/sdb STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 STATETEXT=( OK WARNING CRITICAL UNKNOWN ) seuil_warn=$1 seuil_crit=$2 STATE=$STATE_UNKNOWN RETURN=UKNOWN STATE declare -a result IFS=$'\n' result=(

Re: [Nagios-users] nagios-common RPM Package

2011-02-08 Thread Marc Deop
On Monday 07 February 2011 16:14:23 Jonathan Q. wrote: My apologies for the newbie question... I'm doing an install of Nagios 3.2.3 on CentOS 5.5, and I've run across an RPM package called nagios-common. My google searches have turned up little info about this package, so I thought I'd ask

[Nagios-users] Error with scheduling service check

2011-02-08 Thread kk
Hi, Summary: Error with scheduling service checks to run on particular day of every month. I am facing problem with scheduling a service check to run on particular day of every month. The problem is that the check is not actually trigerred. I am not aware if this is a known issue with the

Re: [Nagios-users] Error with scheduling service check

2011-02-08 Thread Yueh-Hung Liu
what's the status of this service? how do you know the check is not triggered? On Tue, Feb 8, 2011 at 10:44 PM, kk ketan.kalgaon...@db.com wrote: Hi, Summary: Error with scheduling service checks to run on particular day of every month. I am facing problem with scheduling a service check

Re: [Nagios-users] Monitoring unmounted partition

2011-02-08 Thread Jeffrey Watts
IMHO /proc/mounts is a much better place to look, as NFS problems and so forth can cause 'mount' to hang and hit the NRPE timeout. Jeffrey. On Tue, Feb 8, 2011 at 6:24 AM, dave stern - e-mail.pluribus.unum dit.d...@gmail.com wrote: Write a plugin. It could search the output of the command,

Re: [Nagios-users] Error with scheduling service check

2011-02-08 Thread kk
Yueh-Hung Liu yuehung.liu at gmail.com writes: what's the status of this service? how do you know the check is not triggered? Hello Yueh-Hung, the status for that service remains PENDING. The service check actually triggers a java program and that too is not triggered(If I manually

Re: [Nagios-users] Error with scheduling service check

2011-02-08 Thread Ketan Kalgaonkar
Hello Yueh-Hung, the status for that service remains PENDING. The service check actually triggers a java program and that too is not triggered(If I manually reschedule the next check for that service it triggers the check and the associated java program, this implies that there is no problem

[Nagios-users] (no subject)

2011-02-08 Thread Christian I#xF1;iguez
Feel pleasure from having real satisfaction! http://www.nmbcmedia.net/2011.php?Page=7449 ... -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors

Re: [Nagios-users] nagios-common RPM Package

2011-02-08 Thread Daniel Wittenberg
I'm not sure what that is, but I tend to stick with the RPM's from rpmforge for Nagios stuff. I have to tweak them, but they are good. You should be able to get nagios (all server stuff), then things like nagios-plugins, nagios-nrpe, nsca, and the nsca client and that would get most of what you

Re: [Nagios-users] Error with scheduling service check

2011-02-08 Thread Jim Avery
On 8 February 2011 14:44, kk ketan.kalgaon...@db.com wrote: Hi, Summary: Error with scheduling service checks to run on particular day of every month. I am facing problem with scheduling a service check to run on particular day of every month. The problem is that the check is not

[Nagios-users] send_nsca

2011-02-08 Thread ann kok
Hi I install nsca and can't find this command send_nsca in fedora14 ls any problem? Thank you -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before

Re: [Nagios-users] send_nsca

2011-02-08 Thread Allan Clark
Hi Ann; On Tue, Feb 8, 2011 at 13:06, ann kok oiyan...@yahoo.ca wrote: Hi I install nsca and can't find this command send_nsca in fedora14 ls any problem? RPM-based distros are a flurry of RPMs around a snowstorm of activity, with different naking convention, so it's sometimes difficult to

Re: [Nagios-users] Error with scheduling service check

2011-02-08 Thread Andreas Ericsson
On 02/08/2011 03:44 PM, kk wrote: Hi, Summary: Error with scheduling service checks to run on particular day of every month. I am facing problem with scheduling a service check to run on particular day of every month. The problem is that the check is not actually trigerred. I am not

Re: [Nagios-users] Nagios storing data into PostgreSQL?

2011-02-08 Thread Michael Friedrich
On 07.02.2011 22:49, larry johnson wrote: Hello, i am newbie to linux/Nagios and need help to clear some doubts. I wander whether is possible to make Nagios writing notification (host up/host down, for example) into PostgreSQL database? if you write your own NEB broker module, and put that

Re: [Nagios-users] Nagios storing data into PostgreSQL?

2011-02-08 Thread Mike Lindsey
Another potential option is setting ups a 'postgres' contact, with a custom notification command. Pass the data you want to store, to the notification command, and let that dump the data to the database. This can potentially be as simple as a bash script that takes the input, builds a sql