Re: [Nagios-users] Re NSCA

2009-07-10 Thread Nick Price
Hi Tried that still can't get it to work I have got the central server nagios debug set to external commands nothing shows in the debug log. Also nothing from nsca in both of the servers nagios.log And on the central server the nagios.cmd file stays at 0 bytes so nothing seems to be

Re: [Nagios-users] Re NSCA

2009-07-10 Thread Kevin Keane
OK, a couple of things to look at: - nagios.cmd is supposed to always be 0 bytes. It's not a file but a socket. - How did you define the ocsp command? - When you execute the OCSP command manually what happens? Do you see anything in the central server's logs? Note: make sure to run as user

Re: [Nagios-users] Using two or more host templates to aggregate contacts

2009-07-10 Thread Guy Waugh
Thanks Patrick, I'm laid out with the flu but I'll try that next week. On Fri, Jul 10, 2009 at 12:44 AM, Morris, Patrick patrick.mor...@hp.comwrote: Hi Guy! On Tue, 07 Jul 2009, Guy Waugh wrote: Hi all, I'm trying to configure nagios 3.0.6 so that I can add contact groups to a host by

Re: [Nagios-users] (no subject)

2009-07-10 Thread Spook ZA
2009/7/10 Morris, Patrick patrick.mor...@hp.com: On Thu, 09 Jul 2009, Francisco wrote: help, anyone using nagios to monitor switch 3com 4200 the nagios monitors only the port 14 and 16 with snmp I know this doesn't help with your switch issue, but you may want to consider trying your

Re: [Nagios-users] Re NSCA

2009-07-10 Thread Marc Powell
On Jul 10, 2009, at 2:32 AM, Kevin Keane wrote: OK, a couple of things to look at: - nagios.cmd is supposed to always be 0 bytes. It's not a file but a socket. - How did you define the ocsp command? - When you execute the OCSP command manually what happens? Do you see anything in the

[Nagios-users] Hosgtroup question

2009-07-10 Thread Dale J. Chatham
I don't seem to be able to do this: # vim:ts=4:ai:expandtabs # # define hostgroup { hostgroup_nameall-hst alias all-hst members * } # vim:ts=4:ai:expandtabs # # define hostgroup {

Re: [Nagios-users] check for the absence of a service

2009-07-10 Thread Richard Remington
Dear Mr. Dippery, The method I use is the check_nmap_scan plug-in by Serg Belokamen, which I've attached to this email. It is written in perl and requires that you have nmap installed on your nagios host. Basically, you define what ports should be open (and not open) on a given host and then

Re: [Nagios-users] How to graph historical data

2009-07-10 Thread Richard Remington
Dear Mr. Gabriel, I would definitely suggest using pnp4nagios. http://www.pnp4nagios.org/pnp/start It's written in PHP5 so there typically isn't too much required to get it running nicely on a Nagios box on Linux. It needs the GD libraries for PHP and I think you're good to go. Oh wait,

Re: [Nagios-users] check for the absence of a service

2009-07-10 Thread Olivier JAN
You also have the possibility to use the negate plugin (in offcial plugins). This is an already written wrapper to swap OK and CRITICAL return values ;-) Olivier Jan http://nagios-fr.org Richard Remington rreming...@messagevision.com a écrit : Dear Mr. Dippery, The method I use is the

Re: [Nagios-users] Re NSCA

2009-07-10 Thread Nick Price
Hi All Ok I can see it coming into the central nagios logs. Trouble was to do with encryption/decryption and passwords How do I get the data into the central nagios and therefore into the central nagios web interface. I'm not sure what and how to write the central server configs for the

Re: [Nagios-users] How to graph historical data

2009-07-10 Thread Frost, Mark {PBG}
I had been using nagiosgraph for years and found it to be good I had to adjust the map file when I wrote custom checks which was a bit of a pain, but it was manageable. Then I gave pnp4nagios a shot. I found that I liked 2 things about a lot better than nagiosgraph 1) graphs were prettier and

[Nagios-users] Nagios plugin for monitoring files in a directory?

2009-07-10 Thread David Rosenstrauch
Just wondering if anyone might have some pointers on a monitoring puzzle I've run into. We have a couple of automated processes - one of them an automated FTP upload, the other an automated log file gatherer - which wind up causing essentially the same result: new files regularly getting

Re: [Nagios-users] Banner Text in status.cgi

2009-07-10 Thread Mark Young
On Jul 8, 2009, at 12:29 PM, Litwin, Matthew wrote: How can one change the “Location” red banner text that is on the top of the status page? I did a grep for the text and it was a string inside status.cgi. Is set up at compile time somehow? That doesn’t seem right… If you want to

Re: [Nagios-users] notification command errors

2009-07-10 Thread David Rosenstrauch
Natalie Aloi wrote: I am getting this error: But I don't know where or how to define the service notification or host notification - any body know where to point me? Checking contacts... Error: Service notification command 'notify-by-email' specified for contact 'grover' is not defined

[Nagios-users] shoot not sure what is happening - cant start nagios (account unavailable)

2009-07-10 Thread Natalie Aloi
All I had a sample version (out of the box) of nagios running, I made my config changes with my devices, etc, verified configuration...now nagios won't start! Here is my output any ideas? [r...@dns bin]# ./nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan

Re: [Nagios-users] shoot not sure what is happening - cant start nagios (account unavailable)

2009-07-10 Thread David Rosenstrauch
Natalie Aloi wrote: All I had a sample version (out of the box) of nagios running, I made my config changes with my devices, etc, verified configuration...now nagios won't start! Here is my output any ideas? [na...@dns bin]$ sudo service nagios restart [sudo] password for root: Running

Re: [Nagios-users] shoot not sure what is happening - cant start nagios (account unavailable)

2009-07-10 Thread Natalie Aloi
not really sure what happened here...I tried your suggestion but still same results, once I edited the etc/passwd file and gave nagios a valid shell I could stop start the service successfully. [r...@dns /]# vi /etc/passwd [r...@dns /]# service nagios restart Running configuration

Re: [Nagios-users] shoot not sure what is happening - cant start nagios (account unavailable)

2009-07-10 Thread Dale J. Chatham
Interesting, I think nagios has /sbin/nologin on mine. WEll, as long as you're up and running, ... Natalie Aloi wrote: not really sure what happened here...I tried your suggestion but still same results, once I edited the etc/passwd file and gave nagios a valid shell I could stop start

[Nagios-users] trying to view comments shows process info

2009-07-10 Thread Seth Simmons
Under system, if I select comments, it shows process info instead. Other items show fine, except this one. For process info, the link is /cgi-bin/extinfo.cgi?type=0 For comments, the link is /cgi-bin/extinfo.cgi?type=3 Both links show process info. Running 3.1.2 on CentOS 5.3

Re: [Nagios-users] Nagios thinks the archive logs are empty but they are not.

2009-07-10 Thread John Andrunas
On Tue, Jul 7, 2009 at 11:43 AM, John Andrunasj...@andrunas.net wrote: On Tue, Jul 7, 2009 at 11:07 AM, Marc Powellm...@ena.com wrote: On Jul 7, 2009, at 12:23 PM, John Andrunas wrote: When using the reporting functions in Nagios I can only view the current days logs/statistics, anything

[Nagios-users] Bug or by design? services inheriting contacts from host

2009-07-10 Thread Matt Nelson
Service: define service{ use noncritical-service host_name myHost service_description myMonitor check_command bla bla bla contact_groups +myGroup2 } Host: define host { use default

Re: [Nagios-users] Nagios plugin for monitoring files in a directory?

2009-07-10 Thread Israel Brewster
On Jul 10, 2009, at 8:16 AM, David Rosenstrauch wrote: Just wondering if anyone might have some pointers on a monitoring puzzle I've run into. We have a couple of automated processes - one of them an automated FTP upload, the other an automated log file gatherer - which wind up causing

Re: [Nagios-users] Re NSCA

2009-07-10 Thread Marc Powell
On Jul 10, 2009, at 11:12 AM, Nick Price wrote: Hi All Ok I can see it coming into the central nagios logs. Trouble was to do with encryption/decryption and passwords How do I get the data into the central nagios and therefore into the central nagios web interface. I'm not sure

Re: [Nagios-users] Nagios thinks the archive logs are empty but they are not.

2009-07-10 Thread Marc Powell
On Jul 10, 2009, at 4:01 PM, John Andrunas wrote: upon further investigation it appears that while my log files are not empty they have been stripped of everything except for the CURRENT SERVICE STATE Any thoughts on what would strip the rest of the log files (alerts, etc) on rotation?

Re: [Nagios-users] Bug or by design? services inheriting contacts from host

2009-07-10 Thread Marc Powell
On Jul 10, 2009, at 4:10 PM, Matt Nelson wrote: Service: define service{ use noncritical-service host_name myHost service_description myMonitor check_command bla bla bla contact_groups +myGroup2 } Host:

[Nagios-users] How to have an escalation just respond to criticals and recoveries from criticals only (not warnings)

2009-07-10 Thread Max
Hi, Nagios 3.0.3. Our configurations are set up so that notifications go out for every state, but we have escalations that we want to only go out if they are for a critical alert or a recovery from a critical. the problem we are having is that by doing an escalation like this: define