Re: [Nagios-users] Critical state for several hosts after a server restart

2006-02-02 Thread Toto Capuccino
I am running nagios version 1.3 with plugins 1.4.2My setup is quiet basic i monitor windows servers on which i installed pNSClient. I am monitoring about a hundred servers. The one that i restarted yedterday was inside a LAN (where Nagios is running) where 30 hosts are too. The other servers are lo

[Nagios-users] performance data - RRDTool

2006-02-02 Thread Richard Gliebe
Hi all, I want to store the service_perfdata into RRD-tool to read it with MRTG. Is there a RTFM available ? We are using _nagios-2.0.r1 _nagios-plugins-1.4.2_2,1 _rrdtool-1.2.12 _mrtg-2.12.2,1 on FreeBSD 5.4-STABLE thanks in advance Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH /

Re: [Nagios-users] Hosts PENDING

2006-02-02 Thread Hugo van der Kooij
On Thu, 2 Feb 2006, frank wrote: > I can't find the specific doc/FAQ that says so, but I know its been > discussed here before: > > Every host needs a service. A host will not be checked if it doesn't have > one. Even tho your host-check is probably a check_ping or check_icmp, add > a _service_ to

Re: [Nagios-users] Critical state for several hosts after a server restart

2006-02-02 Thread Hugo van der Kooij
On Thu, 2 Feb 2006, Toto Capuccino wrote: > I just restarted a server that i monitor and a lot of other services went > red CRITICAL on all the other hosts i monitor. There is no dependency > relationship between the servers and the one i restarted that would cause > such behaviour so i wonder why

Re: [Nagios-users] Hosts PENDING

2006-02-02 Thread Diego Gonzalez Briones
Hi, Actually you have to add the equipment to the service.cfg file. In fact you have to add a service for your equipment, if not, nagios will mark the host with pending status because is waiting for some service to monitor. For example you have a router defined in hosts.cfg: # 'router1' host de

Re: [Nagios-users] Hosts PENDING

2006-02-02 Thread frank
I can't find the specific doc/FAQ that says so, but I know its been discussed here before: Every host needs a service. A host will not be checked if it doesn't have one. Even tho your host-check is probably a check_ping or check_icmp, add a _service_ to that host that does yet another check_pi

[Nagios-users] Hosts PENDING

2006-02-02 Thread Patrick M. Rutkowski
I have several hosts with no associated services, and their status bars are stuck on "PENDING" in the Host Detail cgi. check_command on them is set to check-host-alive, and checks_enabled is set to 1. What am I doing wrong, why aren't the hosts being checked? -

RE: [Nagios-users] RE: Reporting and misc rave.

2006-02-02 Thread Jim Pye
All, I have only been using Nagios for a week or two. Have a system configured to monitor a five server network. I therefore have not used all the features comprehensively but I do see some of the points Steve mentions below as things I see missing - see my notes. Note I am using v2.0rc2. On Fri

[Nagios-users] 2.0rc2 avail.cgi - possible bug in reporting of HOST DOWNTIME START/END EVENTS.

2006-02-02 Thread Stanley.Hopcroft
Dear Folks, I am writing to report a possible anomaly/bug in avail.cgi for Nag 2.0 rc2 (RPM based on Dag Wieers for RHEL3). The problem is that when a host has exited a period of scheduled downtime, the 'Host log entries' shown by avail.cgi look like Event Start Time Event End TimeEvent

Re: [Nagios-users] RE: Reporting and misc rave.

2006-02-02 Thread John P. Rouillard
In message <[EMAIL PROTECTED]>, Stanley.Hopcroft writes: >I am writing with mainly a rant about Graphing and Reporting. > > OT -> on topic in this case IMHO 8-). >1 About graphing with Nagios >Why would one bother when > 1.1 Cacti does such a good job Well cacti does a good job but I hate the

RE: [Nagios-users] RE: Reporting and misc rave.

2006-02-02 Thread Steve Shipway
> Main problem: Both systems have their own host/service > configuration systems, so you'll end up duplicating all the > data entry. We get around this with a home-grown configuration system, which outputs not just the Nagios configuration files, but also files for MRTG, updates a mysql database

RE: [Nagios-users] RE: Reporting and misc rave.

2006-02-02 Thread Steve Shipway
> I am writing with mainly a rant about Graphing and Reporting. Oh yes, I have problems with these, also. Please feel free to rant away at length. > 1 About graphing with Nagios > Why would one bother when > 1.1 Cacti does such a good job > 1.2 Nagios could check the Cacti RRDs with either

RE: [Nagios-users] RE: Reporting and misc rave.

2006-02-02 Thread Tedman Eng
> From: [EMAIL PROTECTED] > > 1 About graphing with Nagios > > Why would one bother when > > 1.1 Cacti does such a good job > > 1.2 Nagios could check the Cacti RRDs with either > check_rrd, or by an > outboard (Cron scheduled) RRD poller that submits passive service > check results >

[Nagios-users] RE: Reporting and misc rave.

2006-02-02 Thread Stanley.Hopcroft
Dear Folks, I am writing with mainly a rant about Graphing and Reporting. 1 About graphing with Nagios Why would one bother when 1.1 Cacti does such a good job 1.2 Nagios could check the Cacti RRDs with either check_rrd, or by an outboard (Cron scheduled) RRD poller that submits pass

[Nagios-users] Critical state for several hosts after a server restart

2006-02-02 Thread Toto Capuccino
Hi,I just restarted a server that i monitor and a lot of other services went red CRITICAL on all the other hosts i monitor. There is no dependency relationship between the servers and the one i restarted that would cause such behaviour so i wonder why all went wrong this way. Cheers.

Re: [Nagios-users] Statusmap Images

2006-02-02 Thread Toto Capuccino
put png or gd2 images for statusmap and also check permissions2006/2/2, Patrick M. Rutkowski <[EMAIL PROTECTED]>: I've set xedtemplate_config_file=/etc/nagios/hostextinfo.cfg incgi.cfg, and then put one entry into hostextinfo.cfg:define hostextinfo{host_name   flashicon_image   

Re: [Nagios-users] Statusmap Images (resend)

2006-02-02 Thread Jim Pye
I had the same problem. The solution was to make sure that the permissions on the files for your nagios user and group are r. I also found that the world needs r as well. Jim On Thu, 2006-02-02 at 11:50 -0500, Patrick M. Rutkowski wrote: > (I sent out this message and I don't see it in the nagio

RE: [Nagios-users] Statusmap Images

2006-02-02 Thread Steve Shipway
> define hostextinfo{ > host_name flash > icon_image logo.gif > icon_image_alt logo.gif > statusmap_image logo.gif > } I believe the statusmap_image needs to be a .gd2 image file? At least, they are on our system. And, the icon_image_alt should be text

Re: [Nagios-users] Custom command

2006-02-02 Thread Jim Pye
Robert, One thing I discovered with the script is that it uses the alarm() functionality of the Linux kernel to help catch communication time outs. Both Windows (and NetWare) do not support this functionality in their PERL implementations. The script does account for Windows (I had to modify it fo

Re: [Nagios-users] Statusmap & "Host _assumed_ to be up"

2006-02-02 Thread Hugo van der Kooij
On Thu, 2 Feb 2006, Patrick M. Rutkowski wrote: > All the pictures in my status map are the unknown.gif question marks > despite the fact that I've added statusmap_image to the entries in > hostextinfo.cfg. ( I know my hostextinof.cfgi file is working because > I do have custom icons working in th

Re: [Nagios-users] Service on an IP address different from the host

2006-02-02 Thread Hugo van der Kooij
On Thu, 2 Feb 2006, Marc Haber wrote: > On Thu, Feb 02, 2006 at 11:48:49AM -0800, Guy B. Purcell wrote: > > Regarding recipient confusion with this method, you'll notice my > > sample defs used a common alias. The alias is what gets reported, so > > recipients wouldn't see different hostnames--ju

[Nagios-users] check_swap command runs ok as root user, but as nagios user it gives incorrect info

2006-02-02 Thread Rob Madole
Sharing this with the list for posterity's sake... Version info: FreeBSD 4.10-RELEASE-P2 Nagios 2.0.r2 Nagios-plugins 1.4.2 NRPE 2.3 The plugin in question, check_swap, was returning the following information when ran through NRPE. SWAP CRITICAL - 100% free (0 MB out of 0 MB) |swap=0MB;0;0;0

Re: [Nagios-users] Service on an IP address different from the host

2006-02-02 Thread Guy B. Purcell
On Feb 2, 2006, at 10:01, Marc Haber wrote: On Thu, Feb 02, 2006 at 09:34:06AM -0800, Guy B. Purcell wrote: That you've been staring at the problem from waaay too close :^) Seriously, all you need to do is to define (in Nagios, not necessarily in the DNS, although that probably wouldn't hurt)

Re: [Nagios-users] Service on an IP address different from the host

2006-02-02 Thread Marc Haber
On Thu, Feb 02, 2006 at 11:48:49AM -0800, Guy B. Purcell wrote: > Regarding recipient confusion with this method, you'll notice my > sample defs used a common alias. The alias is what gets reported, so > recipients wouldn't see different hostnames--just different service > names. Wouldn't t

[Nagios-users] Statusmap & "Host _assumed_ to be up"

2006-02-02 Thread Patrick M. Rutkowski
All the pictures in my status map are the unknown.gif question marks despite the fact that I've added statusmap_image to the entries in hostextinfo.cfg. ( I know my hostextinof.cfgi file is working because I do have custom icons working in the host details cgi). Could the fact that I'm only seeing

[Nagios-users] question about host groups

2006-02-02 Thread Miner, Jonathan W (CSC) (US SSA)
I have a problem with not being able to view some host groups. We have a host group for all our servers. We have separate contact groups depending on whether the server is UNIX or Windows. Our admins get added to the contact group depending on which OS they support. If I select "host detail"

RE: [Nagios-users] Custom command

2006-02-02 Thread Tedman Eng
Are you testing from commandline from the context of the nagios user? > -Original Message- > From: Robert Fitzpatrick [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 02, 2006 7:22 AM > To: Nagios > Subject: [Nagios-users] Custom command > > > Thanks to Jim here on the list, I have d

Re: [Nagios-users] Graphing service checks

2006-02-02 Thread Arno Lehmann
Hello, On 2/2/2006 5:47 PM, Rusty Hall wrote: I have some data that im trying to graph from nagios , but can't seem to get it to work. I have 2 that are giving me an issue, one is an old file for graphing disk on windows server. The graph shows nothing as far as the data, but an rrd fi

RE: [Nagios-users] Nagios Escalations

2006-02-02 Thread Jason Coleman
Thank you. I will take a look there. Might be a misunderstanding of what that actually means in regards to escalations. Jason Coleman Systems Engineer LRN - The Legal Knowledge Company 1100 Glendon Ave, Suite 700 Los Angeles, CA 90024 tel: 310-209-5381 "/(b

[Nagios-users] Plea for one time messages only

2006-02-02 Thread Hugo van der Kooij
PLEASE. Will everyone sending out duplicate messages stop sending them twice. This list is unique as it is the only mailiglist on which I see so many duplicate messages. (I see more here per day than on any other list per month.) If you don't see your own messages you need to verify your settings

Re: [Nagios-users] Service on an IP address different from the host

2006-02-02 Thread Guy B. Purcell
On Feb 2, 2006, at 02:25, Marc Haber wrote: some systems I am responsible for have multiple IP addresses, with services that are not running on all IP addresses. I thus need service definitions that don't check the service on the host address, but on a dedicated "service address" while still be

Re: [Nagios-users] Custom command

2006-02-02 Thread Robert Fitzpatrick
On Thu, 2006-02-02 at 17:44 +0200, Assaf Flatto wrote: > Have you tried placing the script under the libexec directory? > > I had the same issue some time ago and the script only worked when it was in > the > libexec directory even though the absolute path was set. Thanks, but still same error

Re: [Nagios-users] NagiosGrapher and XML::Simple

2006-02-02 Thread Hugo van der Kooij
On Thu, 2 Feb 2006, Christopher Gill wrote: > I'm having some very frustrating trouble getting NagiosGrapher working. > Since it doesn't have it sown mialing lists, figured I'd ask here. I've > followed the install instructions provided, but when running the > collection script, collect2.pl, I get

Re: [Nagios-users] Service on an IP address different from the host

2006-02-02 Thread Marc Haber
On Thu, Feb 02, 2006 at 09:34:06AM -0800, Guy B. Purcell wrote: > That you've been staring at the problem from waaay too close :^) > Seriously, all you need to do is to define (in Nagios, not > necessarily in the DNS, although that probably wouldn't hurt) > separate hosts for the different i

Re: [Nagios-users] You don't have permission to access /nagios/cgi-bin/ on this server

2006-02-02 Thread Bob DeBolt
Mike I have discovered why the permission issue has happened. Following (not) the docs, after the Web Interface login is setup I was still using the http://yourmachine/nagios/cgi-bin/ to verify the functioning of the login. The login works but then attempts to read the cgi-bin directory. I sho

[Nagios-users] Statusmap Images

2006-02-02 Thread Patrick M. Rutkowski
I've set xedtemplate_config_file=/etc/nagios/hostextinfo.cfg in cgi.cfg, and then put one entry into hostextinfo.cfg: define hostextinfo{ host_name flash icon_image logo.gif icon_image_alt logo.gif statusmap_image logo.gif } I made little 40x40 gif in t

[Nagios-users] Statusmap Images (resend)

2006-02-02 Thread Patrick M. Rutkowski
(I sent out this message and I don't see it in the nagios-users archives, so I'm sending it again just be sure that it gets out there; apologies if it's a double). I've set xedtemplate_config_file=/etc/nagios/hostextinfo.cfg in cgi.cfg, and then put one entry into hostextinfo.cfg: define hostexti

[Nagios-users] Graphing service checks

2006-02-02 Thread Rusty Hall
    I have some data that im trying to graph from nagios , but can't seem to get it to work.  I have 2 that are giving me an issue, one is an old file for graphing disk on windows server.  The graph shows nothing as far as the data, but an rrd file has been cretaed.   first one   ntdisk_C

[Nagios-users] Plugin return codes

2006-02-02 Thread Deborah Martin
Hi, I'm using Nagios 2.0b4 on Suse 9.2 I have some plugins which do various database checks such as disk usage. In the plugin, I want to define the exit codes depending on the status of the check. I noticed that there is an exit status of STATE_DEPENDENT (defined in utils.sh which comes with th

[Nagios-users] Plugin exit status codes

2006-02-02 Thread Deborah Martin
Hi, I'm using Nagios 2.0b4 on Suse 9.2 I have some plugins which do various database checks such as disk usage. In the plugin, I want to define the exit codes depending on the status of the check. I noticed that there is an exit status of STATE_DEPENDENT (defined in utils.sh which comes with th

[Nagios-users] NagiosGrapher and XML::Simple

2006-02-02 Thread Christopher Gill
Good morning. I'm having some very frustrating trouble getting NagiosGrapher working. Since it doesn't have it sown mialing lists, figured I'd ask here. I've followed the install instructions provided, but when running the collection script, collect2.pl, I get a perl error back claiming it can't fi

RE: [Nagios-users] Nagios Escalations

2006-02-02 Thread Andrew Laden
Bringing it back to the list > -Original Message- > From: Jason Coleman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 01, 2006 2:13 PM > To: Andrew Laden > Subject: RE: [Nagios-users] Nagios Escalations > > My apologies. I would like the groups listed in the > escalations conta

Re: [Nagios-users] Custom command

2006-02-02 Thread Assaf Flatto
Have you tried placing the script under the libexec directory? I had the same issue some time ago and the script only worked when it was in the libexec directory even though the absolute path was set. Assaf Robert Fitzpatrick wrote: Thanks to Jim here on the list, I have defined a command t

[Nagios-users] Custom command

2006-02-02 Thread Robert Fitzpatrick
Thanks to Jim here on the list, I have defined a command to send an e-mail using a sendEmail perl script. From the command line, the script works fine. When I try to use the new notify-by-sendEmail as the service_notification_commands for my contact, Nagios logs the message as sent, which never mak

[Nagios-users] Restarting Nagios via "sudo"

2006-02-02 Thread Miner, Jonathan W (CSC) (US SSA)
Hi - We've setup the $NAGIOS/etc directory so that all the admins can edit the files, and the files are under RCS control. I'm pretty comfortable with this, and am pretty sure the permissions are fine. All the files are world-readable except for resource.cfg which is only readable by user (roo

Re: [Nagios-users] host info web page

2006-02-02 Thread jeff vier
On Thu, 2006-02-02 at 13:50 +0100, Toto Capuccino wrote: > Hi, > > Is there's a way to get ride of the text "There are additional notes > for this host" that is displayed on the host information ? The fastest way would be to remove your serviceextinfo definition. ;) Just hack the line in the s

[Nagios-users] host info web page

2006-02-02 Thread Toto Capuccino
Hi,Is there's a way to get ride of the text "There are additional notes for this host" that is displayed  on the host information ?Thank you

Re: [Nagios-users] RE: You don't have permission to access /nagios/cgi-bin/ on this server

2006-02-02 Thread Toto Capuccino
maybe the problem comes from the configuration of Apache, did you put the ScriptAlias and Alias as mentionned in the doc, did you mouve the nagios web directory?2006/2/1, Bob DeBolt < [EMAIL PROTECTED]>:Hi MikeThanks for the response > This appears to be a permissions problem. It sounds as if you h

[Nagios-users] Service on an IP address different from the host

2006-02-02 Thread Marc Haber
Hi, some systems I am responsible for have multiple IP addresses, with services that are not running on all IP addresses. I thus need service definitions that don't check the service on the host address, but on a dedicated "service address" while still being associated to the host which has a diff

Re: [Nagios-users] Submit passive check result for a service sending out duplicate alert mails?

2006-02-02 Thread Arno Lehmann
Hello, On 2/2/2006 6:49 AM, Karan uk wrote: Nope this is just a single server setup...monitoring services on remote servers. Perhaps a mail server problem? Because I also see all your mails to the list twice. The one I reply to: Received: by wproxy.gmail.com with SMTP id i24so316636wra

Re: [Nagios-users] subject rewrite

2006-02-02 Thread D. Wüthrich
Hi Have a look at 'misccommands.cfg' configuration file. There are 2 command definitions: - host-notify-by-email (hosts) - notify-by-email (services) The mail-command specified, e.g. '... /usr/bin/mailx -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$' uses macros - have a look at