Re: [Nagios-users] passing a string with spaces to nrpe

2010-09-29 Thread Lori Adams
2$ --query="$ARG3$" -Lori From: Lori Adams [mailto:lad...@cloudmark.com] Sent: Wednesday, September 29, 2010 10:00 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] passing a string with spaces to nrpe I'm having a terrible time setting up nrpe to allow me to pass a s

Re: [Nagios-users] passing a string with spaces to nrpe

2010-09-29 Thread Lori Adams
mando line configuration? Sent from my BlackBerry(r) wireless device -Original Message----- From: Lori Adams Date: Wed, 29 Sep 2010 10:00:05 To: nagios-users@lists.sourceforge.net Reply-To: Nagios Users List Subject: [Nagios-users] passing a string with spac

Re: [Nagios-users] passing a string with spaces to nrpe

2010-09-29 Thread Lori Adams
with spaces to nrpe On 29/09/10 18:00, Lori Adams wrote: I'm having a terrible time setting up nrpe to allow me to pass a string with spaces. This is with nagios 3.x and nrpe 2.0. The service config is trying to check a log on a remote server for a string that contains spaces. The ser

[Nagios-users] passing a string with spaces to nrpe

2010-09-29 Thread Lori Adams
--oldlog=/srv/nagios_nrpe/tmp/log-parser.log.out --query=ERROR: I've tried quoting the $ARG3$ in the nrpe command, and I get the same thing. I've seed other threads on the list that in order to pass quotes to nrpe, you must escape them. You can see I've tried that. Any guidance wou

[Nagios-users] multiple parents

2009-04-08 Thread Lori Adams
We have several hosts that have multiple parents. Will the child notify as down if only one of the parents is down? Or will the child suppress notifications because one of its parents is down? -Lori -- This SF.net email

[Nagios-users] service dependency and escalations

2009-03-17 Thread Lori Adams
We are still running nagios 2.x. Is it possible to specify a servicedependency and/or a service escalation within a service definition? For the serviceescalation part, they are much like servicegroups where it has to be defined somewhere, but after that you can specify the group in the service

[Nagios-users] failure_prediction_enabled flag

2008-11-02 Thread Lori Adams
Looking in both the 2.x and 3.x docs, I'm unable to find out what the "failure_prediction_enabled" flag does. I came across it in the objects.cache file and am curious what it means. Can someone enlighten me? Also it seems that the default = 1, even though I don't have that set anywhere in my

Re: [Nagios-users] hostgroups in servicegroup definition FIXED

2007-09-24 Thread Lori Adams
t: Monday, September 17, 2007 4:05 AM To: Lori Adams Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] hostgroups in servicegroup definition FIXED I've had a look at the changelog and it doesn't seem to be something that has been done in the new 3.x series. Also, I'm n

Re: [Nagios-users] hostgroups in servicegroup definition FIXED

2007-09-14 Thread Lori Adams
up_name,service } -Original Message- From: Hari Sekhon [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 3:04 AM To: Lori Adams Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] hostgroups in servicegroup definition FIXED I went and had a look at this for yo

Re: [Nagios-users] hostgroups in servicegroup definition

2007-09-11 Thread Lori Adams
This doesn't work. I get the error: Error: Could not find a service matching host name '' and description ''. It appears to only want hosts. -Lori -Original Message- I don't use hostgroups in this way but I'm pretty sure it is possible because I added this to my ser

[Nagios-users] hostgroups in servicegroup definition

2007-09-10 Thread Lori Adams
Looking at the documentation, I don't think what I'm hoping for is possible. We're using nagios 2.9 on Redhat. I'd like to define a servicegroup by listing the members as ,service,,service and then also have other members like ,service. Example: Define servicegroup { Servi

RE: [Nagios-users] check_http problems

2006-02-15 Thread Lori Adams
Check your host config for mail.myvest.com. Also when you do check_http -H $HOSTADDRESS$ it's expecting the IP Address of the host that you gave in the host config. -Lori > -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Julie

RE: [Nagios-users] Service definition with * and host-templates

2006-02-07 Thread Lori Adams
The notification looks right to me. A template can be valid hosts or services according to nagios, as long as all required values for a host config are present in the template config. If they are not all there, then the config is allowed as long as it has a register = 0. Your template called

RE: [Nagios-users] Why the distinction between host definition and hostextinfo definition?

2006-02-07 Thread Lori Adams
This is actually true of the services documentation. It doesn't state that you can use hostgroups. -Lori > -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Marc Haber > Sent: Tuesday, February 07, 2006 5:48 AM > To: nagios-users@lists.so

RE: [Nagios-users] Scheduling downtime for all services in a host?

2006-02-07 Thread Lori Adams
I wrote a perl script that gets all the services for a host, and then uses the EXTERNAL_COMMAND corresponding to scheduling downtime to put hosts into a downtime.  It outputs the entire command to the nagios.cmd file.   -Lori   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: [Nagios-users] Major notification problem

2006-02-07 Thread Lori Adams
What version are you running and on what OS?   -Lori   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 3:57 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Major notification problem  

RE: [Nagios-users] Nagios ignoring Perl Shebang - Was: Notification script problems.. How do I debug

2006-01-26 Thread Lori Adams
rl -w /usr/lib/nagios/plugins/sms-msg.pl" > > > > I found this to be a little weird.. perhaps it's a bug? or just > > something over looked. > > You've probably got a Nagios with embedded Perl running. There's a > section in the manual with some hints ho

RE: [Nagios-users] Notification script problems.. How do I debug

2006-01-26 Thread Lori Adams
Have you checked any log for errors? Maybe you have a permissions problem on your sms script.    -Lori   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Osmond Sent: Thursday, January 26, 2006 11:12 AM To: nagios-users@lists.sourceforge.net Subject: RE: [N

RE: [Nagios-users] SCHEDULE_HOST_DOWNTIME and DEL_HOST_DOWNTIME

2006-01-24 Thread Lori Adams
I actually do all of this kind of work by looking at the GUI.  Meaning, I have the script get the appropriate page and find the downtime id.   This information may be in the status.log.  I also think there is a downtime.log.  Check in there.  You’d have to parse the file.   -Lori    

RE: [Nagios-users] retention issue

2006-01-19 Thread Lori Adams
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lori Adams Sent: Wednesday, January 18, 2006 11:57 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] retention issue   I’m using nagios-2.04b.   Here’s what happened.  We had nagios running using nagios-1.2.  We

[Nagios-users] retention issue

2006-01-18 Thread Lori Adams
I’m using nagios-2.04b.   Here’s what happened.  We had nagios running using nagios-1.2.  We wanted to try out nagios-2.04b.  I set up an entire new nagios instance on the same machine.  We called this nagios instance, nagios-2.  I’ve moved nagios-2 to be in the same location as nagios(-1

RE: [Nagios-users] disk_check for a remote machine

2006-01-03 Thread Lori Adams
also look at nagios' brother, nrpe. Your nagios server calls check_nrpe which contacts the remote server and runs a command on the remote machine returning an informative output and exit status. -Lori > -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED

RE: [Nagios-users] Nagios not showing all hosts!

2005-12-21 Thread Lori Adams
Sounds like multiple nagios processes running. Kill them all and restart nagios and see if that makes it better. -Lori > -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Jim Perrin > Sent: Wednesday, December 21, 2005 10:10 AM > To: Wie

RE: [Nagios-users] Authorization situation

2005-12-21 Thread Lori Adams
Before getting your reply, I had just figured that out. That's exactly what I did. Require user A -Lori > -Original Message- > From: Tedman Eng [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 21, 2005 11:10 AM > To: Lori Adams; nagios-users@list

[Nagios-users] Authorization situation

2005-12-21 Thread Lori Adams
I’m using nagios 1.2 on gentoo.   Apache authentication works great. I’ve been reading the docs, and found some helpful information on authorizations on this list.  However, I am unable to exactly figure out the right set of directives, to achieve what I’m looking for.   I have two use

RE: [Nagios-users] Re: contacts.cfg file errors when running pre-flight

2005-12-21 Thread Lori Adams
" The contactgroups membership has to be defined via the directive "members" of a contactgroups object, not via "contactgroups" in a contacts object." So they gave you the error message and exactly what was wrong. What you have shown us is that you are defining a contact, not a contactgroup.

RE: [Nagios-users] Different notification methods in different timeperiods

2005-12-20 Thread Lori Adams
I don't think you'll be able to do this within the configs. What you could do though is write a little wrapper script. Based on the time of day, a different $CONTACTGROUP$ would be notified. This will keep your config cleaner, but add a level of complexity. -Lori > -Original Message---

RE: [Nagios-users] retention issue

2005-11-18 Thread Lori Adams
November 18, 2005 11:25 AM > To: Lori Adams; nagios-users@lists.sourceforge.net > Subject: RE: [Nagios-users] retention issue > > This is related to your max_check_attempts setting. > > If the service hasn't reached the max_checks yet, it's still 'soft' stat

RE: [Nagios-users] RE: Remove nagios

2005-11-18 Thread Lori Adams
Looks to me like nagios is still running.   Those are errors you get from the daemon when trying to run a check and the plugin doesn’t exist.   killall nagios should do the trick.   -Lori   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Master Virtuoso Sen

[Nagios-users] retention issue

2005-11-18 Thread Lori Adams
Nagios 1.2 Linux   I’m using a couple of templates for this particular check.  There are many services checks using this template.  When one of these checks becomes critical, the status in status.log changes to say it’s critical.  If I stop/start nagios, then the status saved in status.s

RE: [Nagios-users] check_netapp nagios plugin howto

2005-11-17 Thread Lori Adams
You don’t quite have everything set up right for nrpe.  It has nothing to do at this point with your netapp script.    If you’re using nrpe, then your checkcommand needs to reflect that:  Right now, you’re not even calling nrpe.   define command {     command_name    ch

RE: [Nagios-users] Logged in as ?

2005-11-16 Thread Lori Adams
@lists.sourceforge.net Cc: Lori Adams Subject: Re: [Nagios-users] Logged in as ?   first create a .htaccess file both in your nagios and in cgi-bin directories. and put the datas below in it AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users req

[Nagios-users] Logged in as ?

2005-11-16 Thread Lori Adams
It appears that authentication is setup correctly with nagios.2.04b and apache 1.  I’m able to use authentication to log in, yet in the top corner, it says “Logged in as ?”. Has anyone seen this and remember how to fix it?   -Lori

RE: [Nagios-users] is there an enable event handler external command?

2005-11-11 Thread Lori Adams
http://www.nagios.org/developerinfo/externalcommands/commandlist.php   I believe this list is the full one.    See DISABLE_SVC_EVENT_HANDLER, and ENABLE_SVC_EVENT_HANDLER.   -Lori   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kristi tsukida Sent: Thursd

RE: [Nagios-users] nagios -v minimal.cfg ???

2005-11-11 Thread Lori Adams
Did you notice the error message given to you?  The –v flag is very good at letting you know what it sees as a problem. You’re using the wrong config file in your command, just like it tells you in the error statement.    -Lori   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC