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/

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 wh

Re: [Nagios-users] Defining service dependency

2010-01-25 Thread Asrai khn
On Mon, Jan 25, 2010 at 9:29 PM, Assaf Flatto 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 to def

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 w

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 al

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 ha

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 onl

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 wrote: > > On Jan 25, 2010, at 3:40 PM, Kurt Buff wrote: > >> On Mon, Jan 25, 2010 at 13:08, Scott Lambert wrote: >>> On Mon, Jan 25, 2010 at 11:51:51AM -0800, Kurt Buff wrote: >> So, yes, restarting FF on my box does then cause the auth prompt. >> Howe

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] 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 that

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 wrote: >> On Mon, Jan 25, 2010 at 11:51:51AM -0800, Kurt Buff wrote: >>> On Fri, Jan 22, 2010 at 20:03, Scott Lambert wrote: On Fri, Jan 22, 2010 at 04:19:58PM -0800, Kurt Buff wrote: > Forgot

[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 Kurt Buff
On Mon, Jan 25, 2010 at 13:18, Marc Powell wrote: > > On Jan 25, 2010, at 1:51 PM, Kurt Buff wrote: >> >>  Options ExecCGI >>  AllowOverride None >>  Order allow,deny >>  Allow from all >>  AuthName "Nagios Access" >>  AuthType Basic >>  AuthUserFile /usr/local/etc/nagios/htpasswd.users >>  Requ

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 wrote: > On Mon, Jan 25, 2010 at 11:51:51AM -0800, Kurt Buff wrote: >> On Fri, Jan 22, 2010 at 20:03, Scott Lambert wrote: >> > On Fri, Jan 22, 2010 at 04:19:58PM -0800, Kurt Buff wrote: >> >> Forgot to mention: When I get the directory listing, there

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 na

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 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 use

[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 Jupit

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 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 password due to th

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 n

[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

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] 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] 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, Nico

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 wrote: > Hi all > > I make some troubles in nagios setting. My customer just

[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, ple

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 wrote: > What kind of options does one have, if your master nagios server is > getting overloaded? > > I have half a

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

[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. Binbin