Re: [Nagios-users-br] Monitorar Validade Certificado Digital

2010-01-25 Thread Jose Oliveira
Colega Use o plugin check_http do proprio projeto nagios plugins. Veja o trecho extraído do manual: CHECK CERTIFICATE: check_http -H www.verisign.com -C 14 When the certificate of 'www.verisign.com' is valid for more than 14 days, a STATE_OK is returned. When the certificate is still valid,

[Nagios-users] How to stop sending notification after 3 times?

2010-01-25 Thread Binbin Wang
Hi all I make some troubles in nagios setting. My customer just only receive notification only 3 times, and stop receiving it even through that warning still exists. Anyone know how to set up nagios ? thanks in advance.

Re: [Nagios-users] How to stop sending notification after 3 times?

2010-01-25 Thread Martin Melin
This sounds like a service/host escalation causing the problem. If you don't know what that is and haven't set it up, my money is on a spam filter at the customer kicking in. Take a look in notifications.cgi (Notifications in the web interface menu) and check if Nagios thinks it has sent out more

Re: [Nagios-users] Overloaded master

2010-01-25 Thread Martin Melin
What kind of notifications are you doing and how many are you sending out? Why does a notification cycle take 9 seconds to complete? On Sat, Jan 23, 2010 at 12:13 AM, Mike Lindsey mike-nag...@5dninja.netwrote: What kind of options does one have, if your master nagios server is getting

[Nagios-users] Problems using check _ yum on sles11

2010-01-25 Thread Nicole Hähnel
Hi, I'm trying to use check_yum 0.7.1 (Hari Sekhon) on sles 11 with yum 3.2.25. yum check-update works on the commandline. Check_yum says: YUM WARNING: Cannot find summary line in yum output. Please make sure you have upgraded to the latest version of this plugin. If the problem persists,

Re: [Nagios-users] How to stop sending notification after 3 times?

2010-01-25 Thread Kyle O'Donnell
you could also pass the macro $NOTIFICATIONNUMBER$ to your notification command, which does an if on the value. [ $NOTIFICATIONNUMBER$ -le 3 ] echo blah blah blah $HOSTNAME$ $SERVICE... |mail On 1/25/10, Binbin Wang binbin.b.w...@hotmail.com wrote: Hi all I make some troubles in nagios

Re: [Nagios-users] Problems using check _ yum on sles11

2010-01-25 Thread Martin Melin
I think check_yum -vvv will give some useful information on what might be going wrong. I tested 0.7.1 and it seemed to work fine for me. Although I personally use http://git.op5.org/git/?p=nagios/op5plugins.git;a=blob_plain;f=check_yum_update.pl;hb=HEAD:-) On Mon, Jan 25, 2010 at 12:32 PM,

[Nagios-users] Checking Asterisk Call Availability

2010-01-25 Thread Wolfe, Robert
Hi all! Was just wondering if there was a plugin for Nagios (latest version) that works with Asterisk to make an outbound call in Asterisk ad return a value back to Nagios to see if the call was placed successfully or not?

Re: [Nagios-users] Checking Asterisk Call Availability

2010-01-25 Thread Martin Melin
I don't know of a plugin that does this specifically, and couldn't find it with a quick search. However it should be simple to do if you use Asterisk call files, where you simply put a file into /var/spool/asterisk/outgoing and then watch if that file ends up in /failed or /completed (I'm not sure

[Nagios-users] Defining service dependency

2010-01-25 Thread Asrai khn
Hi list, I want to define service dependency, i have read the relevant nagios docs but I am not getting how to define one. we are running nagios 3.2.x (pre build binary on centos 5.4) Eg, I want to define service dependency for all services that been checked with nrpe, ie if nrpe not running on

Re: [Nagios-users] Defining service dependency

2010-01-25 Thread Assaf Flatto
Asrai khn wrote: Hi list, I want to define service dependency, i have read the relevant nagios docs but I am not getting how to define one. we are running nagios 3.2.x (pre build binary on centos 5.4) Eg, I want to define service dependency for all services that been checked with nrpe,

Re: [Nagios-users] n00b trying to set up on freebsd

2010-01-25 Thread Kurt Buff
On Fri, Jan 22, 2010 at 20:03, Scott Lambert lamb...@lambertfam.org wrote: On Fri, Jan 22, 2010 at 04:19:58PM -0800, Kurt Buff wrote: Forgot to mention: When I get the directory listing, there is no auth taking place - I don't get asked for a username or password. You don't get asked for a

[Nagios-users] Virtual Machines - define as parent or as host dependency...

2010-01-25 Thread Andrew Davis
I'm trying to figure out the best way to do this, yet keep things as simple as possible. Say I have a server called Saturn running VMWare. I'm monitoring this server with Nagios. I also have three VM's on Saturn: Jupiter, Mars, and Pluto I want to suppress all host and service alerts on

Re: [Nagios-users] n00b trying to set up on freebsd

2010-01-25 Thread Scott Lambert
On Mon, Jan 25, 2010 at 11:51:51AM -0800, Kurt Buff wrote: On Fri, Jan 22, 2010 at 20:03, Scott Lambert lamb...@lambertfam.org wrote: On Fri, Jan 22, 2010 at 04:19:58PM -0800, Kurt Buff wrote: Forgot to mention: When I get the directory listing, there is no auth taking place - I don't get

Re: [Nagios-users] n00b trying to set up on freebsd

2010-01-25 Thread Marc Powell
On Jan 25, 2010, at 1:51 PM, Kurt Buff wrote: Using lynx on localhost, I get prompted for a login to nagios and get to the home page and subsidiary pages just fine, but from FF on a remote box I get no login prompt, and the home page just comes up, and it shows as me being logged in as

Re: [Nagios-users] n00b trying to set up on freebsd

2010-01-25 Thread Kurt Buff
On Mon, Jan 25, 2010 at 13:08, Scott Lambert lamb...@lambertfam.org wrote: On Mon, Jan 25, 2010 at 11:51:51AM -0800, Kurt Buff wrote: On Fri, Jan 22, 2010 at 20:03, Scott Lambert lamb...@lambertfam.org wrote: On Fri, Jan 22, 2010 at 04:19:58PM -0800, Kurt Buff wrote: Forgot to mention: When

Re: [Nagios-users] n00b trying to set up on freebsd

2010-01-25 Thread Kurt Buff
On Mon, Jan 25, 2010 at 13:18, Marc Powell m...@ena.com wrote: On Jan 25, 2010, at 1:51 PM, Kurt Buff wrote: snip Directory /usr/local/www/nagios/cgi-bin  Options ExecCGI  AllowOverride None  Order allow,deny  Allow from all  AuthName Nagios Access  AuthType Basic  AuthUserFile

[Nagios-users] Command execution failed

2010-01-25 Thread ReynierPM
Hi every: Some time ago I wrote a message to this list for get help in how to check Bacula over Nagios. As bacula nagios plugins use check_host_by_ssh command I configure shared key between client (monitoring server, where nagios reside) and server(bacula - server to check) and it works because

Re: [Nagios-users] n00b trying to set up on freebsd

2010-01-25 Thread Marc Powell
On Jan 25, 2010, at 3:40 PM, Kurt Buff wrote: On Mon, Jan 25, 2010 at 13:08, Scott Lambert lamb...@lambertfam.org wrote: On Mon, Jan 25, 2010 at 11:51:51AM -0800, Kurt Buff wrote: On Fri, Jan 22, 2010 at 20:03, Scott Lambert lamb...@lambertfam.org wrote: On Fri, Jan 22, 2010 at 04:19:58PM

Re: [Nagios-users] Command execution failed

2010-01-25 Thread Gary Every
Looks like either the execute permissions are improperly set on the script you're trying to run - via ssh - on the remote (not nagios) server, or the user that you've set up shared keys with doesn't have permission to run the command or script. The problem with shared keys and check-by-ssh is

Re: [Nagios-users] Command execution failed

2010-01-25 Thread Marc Powell
On Jan 25, 2010, at 4:27 PM, Gary Every wrote: The problem with shared keys and check-by-ssh is that either you've got to set up your scripts to be able to be run by a non-priveleged user, or you've got to share the root users keys . . .. or better, use sudo... -- Marc

Re: [Nagios-users] n00b trying to set up on freebsd

2010-01-25 Thread Kurt Buff
On Mon, Jan 25, 2010 at 14:16, Marc Powell m...@ena.com wrote: On Jan 25, 2010, at 3:40 PM, Kurt Buff wrote: On Mon, Jan 25, 2010 at 13:08, Scott Lambert lamb...@lambertfam.org wrote: On Mon, Jan 25, 2010 at 11:51:51AM -0800, Kurt Buff wrote: snip So, yes, restarting FF on my box does then

Re: [Nagios-users] Command execution failed

2010-01-25 Thread ReynierPM
On 1/25/2010 5:33 PM, Marc Powell wrote: or better, use sudo... Any guide to do this with sudo? I not know how to -- Cheers ReynierPM -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay

Re: [Nagios-users] Command execution failed

2010-01-25 Thread ReynierPM
On 1/25/2010 5:27 PM, Gary Every wrote: Looks like either the execute permissions are improperly set on the script you're trying to run - via ssh - on the remote (not nagios) server, or the user that you've set up shared keys with doesn't have permission to run the command or script. It have

Re: [Nagios-users] Overloaded master

2010-01-25 Thread Mike Lindsey
A typical first tier notification goes to 20 people. One of those will be a pager, and is very simple. The rest are fairly complex. Notifications include a link to existing and recent tickets in our ticketing system (this also allows me to not send a ticket opening notification if a ticket

Re: [Nagios-users] Command execution failed

2010-01-25 Thread Marc Powell
On Jan 25, 2010, at 5:12 PM, ReynierPM wrote: It have permissions: -rwxr-x--- 1 nagios nagios 5020 2009-09-22 00:01 check_bacula.pl* Any other idea? Can you run check_bacula.pl as the nagios user on the remote machine? If not, read any documentation you received with the plugin to see

Re: [Nagios-users] Defining service dependency

2010-01-25 Thread Asrai khn
On Mon, Jan 25, 2010 at 9:29 PM, Assaf Flatto nag...@flatto.net wrote: Asrai khn wrote: Hi list, I want to define service dependency, i have read the relevant nagios docs but I am not getting how to define one. we are running nagios 3.2.x (pre build binary on centos 5.4) Eg, I want

Re: [Nagios-users] [ Nagios-users ] Problems using chec k _ yum on sles11

2010-01-25 Thread Nicole Hähnel
Yes, check_yum -vvv helped. Summary line should be No packages needed, for security, d+ available but I get No packages needed for security; d+ packages available Thanks! Nicole Am 25.01.2010 15:24, schrieb Martin Melin: I think check_yum -vvv will give some useful information on what might

Re: [Nagios-users] How to stop sending notification after 3 times?

2010-01-25 Thread Wang Binbin
Kyle Much appreciate your reply, and I am a rookie in nagios. Could you give me much detail about how to use macro $NOTIFICATIONNUMBERS$? How can I add the if judge in command definition? Millions of thanks. define command{ command_namenotify-by-email command_line