Re: [Nagios-users] Service Configuration

2006-09-05 Thread Derek Olsen
Tim. Let's say you have 20 application servers and you want to monitor the tim_http service on each one. The nagios way is to include each of the 20 application servers into what's referred to as a hostgroup and then when you define your service instead of referencing a host reference a ho

[Nagios-users] Service Configuration

2006-09-05 Thread Tim Pushor
Hi All, Newb question alert. I've used other systems in the past and am trying to wrap my head around configuring Nagios. I have an array of application servers that I'd like to monitor. To begin with, a simple HTTP check to each will do. I have the hosts configured (they do nothing, I now kn

Re: [Nagios-users] Notification commands

2006-09-05 Thread Arno Lehmann
Hi, On 9/5/2006 3:25 PM, Hari Sekhon wrote: > Christopher Odenbach wrote: > >>Hi, >> >> >> >>>certainly not. >>> >>>just put both in the same contact definition, see >>>http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact and >>>see the Directive Description for host-notification-c

Re: [Nagios-users] Number of Notifications!?

2006-09-05 Thread lennart.kvam
Thanks Marc...works like charm now:-) //Lelle -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Marc Powell Skickat: den 31 augusti 2006 20:57 Till: nagios-users@lists.sourceforge.net Ämne: Re: [Nagios-users] Number of Notifications!? > -Original Mess

Re: [Nagios-users] How to integrate Nagios & MRTG

2006-09-05 Thread Israel Brewster
On Sep 4, 2006, at 5:39 AM, Ranjeet Kumar wrote: Hi, Can anyone give me idea how to integrate Nagios & MRTG?  Thanks,Ranjeet  The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they ar

Re: [Nagios-users] How to integrate Nagios & MRTG

2006-09-05 Thread Joerg Linge
Am Dienstag, 5. September 2006 17:13 schrieb Blake Krone: > That looks promising, however I get the following in my nagios log: > *ePN failed to compile /usr/nagios/libexec/process_perfdata.pl: "Subroutine > print_log redefined at (eval 15) line 236," at /usr/nagios/bin/p1.pl line > 155. > > Any th

Re: [Nagios-users] Suse 10.0 - perl plugin return "No outpput"

2006-09-05 Thread Scott DeMarco
Or, make sure that your nagios user is in the same group that owns the plugins currently Best Regards, Scott DeMarco Network Systems Monitoring Engineer Cell: +1 (813) 464-9565 Email: [EMAIL PROTECTED] Office: +1 (813) 221-1600 · Fax: +1 (813) 221-1604 www.saxotech.com

Re: [Nagios-users] Suse 10.0 - perl plugin return "No outpput"

2006-09-05 Thread Rene Fertig
Hi Andreas. Am Dienstag, 5. September 2006 16:39 schrieb Andreas Brandino: > i am using Suse 10.0 with nagios 1.2.x > All perl plugins i try to use return "No output" message. However, all > other plugins work just fine. > When i run the plugins from command line (as "root" or "daemon") work > wi

Re: [Nagios-users] How to integrate Nagios & MRTG

2006-09-05 Thread Blake Krone
That looks promising, however I get the following in my nagios log:*ePN failed to compile /usr/nagios/libexec/process_perfdata.pl: "Subroutine print_log redefined at (eval 15) line 236," at /usr/nagios/bin/p1.pl line 155.Any thoughts on that?On 9/5/06, Christopher Odenbach <[EMAIL PROTECTED] > wrot

Re: [Nagios-users] Suse 10.0 - perl plugin return "No outpput"

2006-09-05 Thread Dan Joseph
Andreas Brandino wrote: > i am using Suse 10.0 with nagios 1.2.x > All perl plugins i try to use return "No output" message. However, all > other plugins work just fine. I had a problem with one of my recent plugins I made. I was outputting a blank line without realizing it before I echo'd out

[Nagios-users] Suse 10.0 - perl plugin return "No outpput"

2006-09-05 Thread Andreas Brandino
Hi list,i am using Suse 10.0 with nagios 1.2.x All perl plugins i try to use return "No output" message.  However, all other plugins work just fine.When i run the plugins from command line (as "root" or "daemon") work without problem. Using perl full path in front of the plugin (checkcommands.cfg)

Re: [Nagios-users] Notification commands

2006-09-05 Thread Hari Sekhon
Christopher Odenbach wrote: Hi, certainly not. just put both in the same contact definition, see http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact and see the Directive Description for host-notification-commands which says "...Multiple notification commands should b

Re: [Nagios-users] Notification commands

2006-09-05 Thread Christopher Odenbach
Hi, > certainly not. > > just put both in the same contact definition, see > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact and > see the Directive Description for host-notification-commands which > says "...Multiple notification commands should be separated by > commas...". Just

Re: [Nagios-users] Notification commands

2006-09-05 Thread Hari Sekhon
Christopher Odenbach wrote: > Hi, > > we have two notification methods: by email and by SMS. I would like to > specify different methods for different services, e.g. just send an > email if service X is critical, but send an email and an SMS if service > Y is critical. > > The problem is that th

[Nagios-users] Notification commands

2006-09-05 Thread Christopher Odenbach
Hi, we have two notification methods: by email and by SMS. I would like to specify different methods for different services, e.g. just send an email if service X is critical, but send an email and an SMS if service Y is critical. The problem is that the notification command has to be configur

Re: [Nagios-users] Trouble with passive checks and freshness

2006-09-05 Thread Christopher Odenbach
Hi, > > I just checked the objects.cache file. The host and service entries > > for rana and another host are completely identical: > > > > define host { > > host_name rana > > check_command check-host-alive > > contact_groups No-Alarm > > notification_per

Re: [Nagios-users] Nagios 2.5

2006-09-05 Thread Andy Shellam
Hi Kaushal, As John said, you've got 3 config files which all contain (some of the same) commands. When I started out with Nagios I found it easier to start writing your own config files from scratch. In /etc/nagios, I created another directory called "nagios_cfg." In nagios_cfg, I created f

Re: [Nagios-users] Nagios 2.5

2006-09-05 Thread John Longland
Title: RE: [Nagios-users] Nagios 2.5 Reading configuration data... Error: Command 'check-host-alive' has already been defined Error: Could not register command (config file '/etc/nagios/minimal.cfg', starti     ng on line 76) ***> One or more problems

Re: [Nagios-users] Nagios 2.5

2006-09-05 Thread Andy Shellam
Error: Command 'check-host-alive' has already been defined It's exactly what it says, the command "check-host-alive" has either been defined twice in the same configuration file, or it's defined in 2 config files. What are the settings for "object configuration files" in your nagios.cfg (the

[Nagios-users] Nagios 2.5

2006-09-05 Thread Kaushal Shriyan
Hi All I did followed http://nagios.sourceforge.net/docs/2_0/configmain.html and did configured nagios.cfg step by step by following the URL [EMAIL PROTECTED] ~]# nagios -v /etc/nagios/nagios.cfg Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 L

Re: [Nagios-users] nagios generated email.

2006-09-05 Thread Hari Sekhon
[EMAIL PROTECTED] wrote: > Sorry about top posting, but i'm using Notes and it sucks > > Nagios just uses /bin/mailx which also relies on local > sendmail/qmail/whatever to be configured properly.. I built my own perl > emailer to connect directly to a configured mail server, use a configured > FRO

Re: [Nagios-users] nagios generated email.

2006-09-05 Thread rob . moss
Sorry about top posting, but i'm using Notes and it sucks Nagios just uses /bin/mailx which also relies on local sendmail/qmail/whatever to be configured properly.. I built my own perl emailer to connect directly to a configured mail server, use a configured FROM address and send TO an address pas

Re: [Nagios-users] help needed .. newbie

2006-09-05 Thread Andy Shellam
It's always better to put the full path to the plugins (or check this is so in minimal.cfg.) $USER1$ I believe has the path to the plugins folder (nagios/libexec), so you can use "$USER1$/check_ping -H localhost" in a service definition as the check command to ping the localhost. Return code

Re: [Nagios-users] How to integrate Nagios & MRTG

2006-09-05 Thread Christopher Odenbach
Hi, > Can anyone give me idea how to integrate Nagios & MRTG? If you are just looking for some funky performance graphs, have a look at PNP: http://www.ederdrom.de/doku.php/nagios/pnp It is simple, but working. Christopher -- == Dipl.

Re: [Nagios-users] nagios generated email.

2006-09-05 Thread Hari Sekhon
Morris, Patrick wrote: Where do i configure the FROM address for nagios's outbound emails? It will go out from the user Nagios runs as. The rest is handled by your mailer. I've found that my emails show the name field as being the comment of the nagios user, so I just

Re: [Nagios-users] help needed .. newbie

2006-09-05 Thread Arno Lehmann
Hi, On 9/5/2006 9:18 AM, rahul ramasubramanian wrote: > hi ankush.. > thanks for the help... the nagios service is running now but still i get the > same error > the error message that is being writetn in the logs is > > Warning: Return code of 127 for check of service 'PING' on host 'localh

Re: [Nagios-users] removing 'cache' after restarting Nagios

2006-09-05 Thread Marcus Fleige
Hi Joost, Joost Saanen wrote: > Hi there, > > Is it possible to reset the 'service details' when I restart Nagios? > The problem was the path to my plugins /usr/lib/nagios/plugins. At the > first time I started nagios the path wasn't right but I have fix it now > (changed it to the right path)

Re: [Nagios-users] help needed .. newbie

2006-09-05 Thread rahul ramasubramanian
hi ankush.. thanks for the help... the nagios service is running now but still i get the same error the error message that is being writetn in the logs is Warning: Return code of 127 for check of service 'PING' on host 'localhost' wa s out of bounds. Make sure the plugin you're trying to ru