[Nagios-users] Custom Object Variables in CGI's ?

2009-03-18 Thread Matthias Haider
Hi, i would like to use Custom Object Variables, but found only examples to use them in plugins, eventhandlers etc.. Is it possible to use them in the standard nagios cgi-s and make them visible in the nagios web interface? br, Matthias smime.p7s Description: S/MIME cryptographic

Re: [Nagios-users] blank perfdata: not parsing macros

2009-03-18 Thread Jim Avery
2009/3/17 M P r...@eyesopen.org: Hi, I have nagios3 running (installed via apt-get on Debian). Everything worked pretty well until I tried to add graphing support. As described in numerous how-tos, I added the following to nagios.cfg: ... What kind of graphing support are you trying to

[Nagios-users] Problems with nrpe and nagios 3

2009-03-18 Thread Dunn, Larry
Good morning group! I am still relatively new to nagios and trying to implement nrpe with nagios 3 at my site. I believe I have everything setup correctly on both the nagios server and the client. When I try to use check_nrpe to run a script on the client side I am getting the error:

[Nagios-users] monitoring remote networks

2009-03-18 Thread Mark Weaver
Hi All, I'm running Nagios 3 on a CentOS 4.7 server. I've got it monitoring other windows and linux servers on the LAN as well as all the Windows Desktops, both XP Pro and Vista. All runs very well, however now I've got to take the next step: How do I use this same Nagios server to monitor

Re: [Nagios-users] monitoring remote networks

2009-03-18 Thread Marc Powell
On Mar 18, 2009, at 6:29 AM, Mark Weaver wrote: Hi All, I'm running Nagios 3 on a CentOS 4.7 server. I've got it monitoring other windows and linux servers on the LAN as well as all the Windows Desktops, both XP Pro and Vista. All runs very well, however now I've got to take the next step:

Re: [Nagios-users] delay notifications on passive checked services

2009-03-18 Thread Marc Powell
On Mar 18, 2009, at 5:46 AM, Jaime Ventura wrote: With active checks its possible to specific a how many checks are made before sending a notification. But im using passive checks. Is there any way to do it? The capability is the same between active and passive checks, just make sure you

Re: [Nagios-users] monitoring remote networks

2009-03-18 Thread Jim Avery
2009/3/18 Mark Weaver mwea...@compinfosystems.com: Hi All, I'm running Nagios 3 on a CentOS 4.7 server. I've got it monitoring other windows and linux servers on the LAN as well as all the Windows Desktops, both XP Pro and Vista. All runs very well, however now I've got to take the next

Re: [Nagios-users] service dependency and escalations

2009-03-18 Thread Chris Beattie
Lori Adams wrote: We are still running nagios 2.x. I appropriated a spare desktop PC and practiced the upgrade there first. There were a few changes in the nagios.cfg file that I needed to make, but it was relatively painless. Is it possible to specify a servicedependency and/or a service

Re: [Nagios-users] monitoring remote networks

2009-03-18 Thread Kevin Keane
Mark Weaver wrote: How do I use this same Nagios server to monitor remote client networks using the NSClient? As others have already pointed out, fundamentally, it doesn't matter whether the client is on the same network segment, or behind a router. However, in reality, when you are

Re: [Nagios-users] Problems with nrpe and nagios 3

2009-03-18 Thread Andreas Ericsson
Dunn, Larry wrote: Good morning group! I am still relatively new to nagios and trying to implement nrpe with nagios 3 at my site. I believe I have everything setup correctly on both the nagios server and the client. When I try to use check_nrpe to run a script on the client side I am

Re: [Nagios-users] Make nagios3 log successful tests

2009-03-18 Thread Andreas Ericsson
Kelly Jones wrote: When a nagios3 host/service test fails, nagios.log has something like this: SERVICE ALERT: host;service;CRITICAL;SOFT;5;text of some sort How do I make nagios3 log *successful* tests as well? One reason: I want to keep perfdata long-term *even if* I don't want to

[Nagios-users] NRPE return values

2009-03-18 Thread Assaf Flatto
Hello List I am trying to write a plugin to count the number of connection of a specific type on a port . I wrote the script that gives me the output i require and running the script on the machine i need it it works well . The problem is when i am trying to execute the script via NPRE , i

Re: [Nagios-users] blank perfdata: not parsing macros

2009-03-18 Thread M P
On 18-Mar-09, at 5:06 AM, Jim Avery wrote: 2009/3/17 M P: Hi, I have nagios3 running (installed via apt-get on Debian). Everything worked pretty well until I tried to add graphing support. As described in numerous how-tos, I added the following to nagios.cfg: ... What kind of

[Nagios-users] RESEND: orphaned check, no check results posted, no macro expand: solaris 10, new install]

2009-03-18 Thread David Dozier
All, Should I be seeing the following lack of macro expansion in nagios.debug? In nagios.debug: [] Raw Command Input: $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 [] Expanded Command Output: $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c

[Nagios-users] Nagios plugins compile errors on OS X 10.3 Server

2009-03-18 Thread Andrew Davis
I'm having some issues compiling Nagios (natively, not through MacPorts, etc) on two Mac servers. One is running 10.3, the other 10.4. Both are PPC. Neither can be updated to 10.5 due to third party s/w constraints. On the 10.3 server, after running ./configure it seems to end okay, but I see

Re: [Nagios-users] NRPE return values

2009-03-18 Thread Assaf Flatto
The sudo was in place - but silly me - i forgot that the sudoers file has a specific list of commands that the nagios user have sudo permissions to run . Adding the new script to the file did solve the issue. But thank you for reminding me this slight oversight . Assaf On Wednesday 18

Re: [Nagios-users] NRPE return values

2009-03-18 Thread Marc Powell
On Mar 18, 2009, at 9:45 AM, Assaf Flatto wrote: if [ $1 = 2598 ]; then W=`lsof -Pn -i | grep squid | grep ESTABLISHED | grep -v 127.0.0.1 | grep 2598 | wc -l` A couple possible problems here... - use full paths to every program (lsof, grep, wc). The environment available to the

Re: [Nagios-users] RESEND: orphaned check, no check results posted, no macro expand: solaris 10, new install]

2009-03-18 Thread Marc Powell
On Mar 18, 2009, at 10:02 AM, David Dozier wrote: All, Should I be seeing the following lack of macro expansion in nagios.debug? In nagios.debug: [] Raw Command Input: $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 [] Expanded Command

Re: [Nagios-users] Nagios plugins compile errors on OS X 10.3 Server

2009-03-18 Thread Andrew Davis
Disregard. I pulled down m4 and automake from the GNU site, compiled them and put /usr/local/bin into my path and all is fine. A. Davis Email: ncc...@gmail.com There is no limit to what a man can accomplish if he doesn't care who gets the credit. - Ronald Reagan Andrew Davis wrote:

Re: [Nagios-users] RESEND: orphaned check, no check results posted, no macro expand: solaris 10, new install]

2009-03-18 Thread David Dozier
Thanks Marc, For the URL: I see that the debug_level needs to be set to 2048 to capture macro expansion. Debug_verbosity=2 I've restarted and will continue troubleshooting. David Marc Powell wrote: On Mar 18, 2009, at 10:02 AM, David Dozier wrote: All, Should I be seeing the

Re: [Nagios-users] problem starting nagios

2009-03-18 Thread Marc Powell
Hi Anirudh, On Mar 18, 2009, at 12:13 PM, Anirudh Srinivasan wrote: This is what i see when i run this .and to tell you i dint create time period which i think is no way related to this problem: Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified:

[Nagios-users] Circular Map setup

2009-03-18 Thread Albrecht Dreß
Hi all, I use Nagios to monitor several servers, redundant switches, and Windows PC's and printers. Works perfectly, except for the circular status map... The problem is that the icons of the components in the outer ring are overlapping (see attached screenshot). Is there any way to

Re: [Nagios-users] Nagios-SNMP

2009-03-18 Thread Jim Avery
2009/3/18 Joseph Ribin Roy ribin@mformation.com: Any feedback or other ways of integrating of Nagios-SNMP will be grateful. I use NagTrap. It's probably not everyone's cup of tea but is easy to install and maintain (compared with the scripts I used before anyway). http://nagtrap.org

Re: [Nagios-users] blank perfdata: not parsing macros

2009-03-18 Thread Jim Avery
2009/3/18 M P r...@eyesopen.org: Other than compiling from source, any other tips? I would suggest you try PNP4Nagios, but again if you installed Nagios from repositories you're going to find it more difficult to get it working than if you installed it from source. Cheers, Jim

Re: [Nagios-users] Circular Map setup

2009-03-18 Thread Jim Avery
2009/3/18 Albrecht Dreß albrecht.dr...@arcor.de: Hi all, I use Nagios to monitor several servers, redundant switches, and Windows PC's and printers.  Works perfectly, except for the circular status map...  The problem is that the icons of the components in the outer ring are overlapping (see

[Nagios-users] Stuck on NRPE for OS X Server

2009-03-18 Thread Andrew Davis
I have two Mac OS X servers, one running 10.3, the other running 10.4. Neither can be upgraded to 10.5 due to third party s/w constraints. Both are PPC based XServe's. Trying to compile nrpe with: ./configure --sysconfdir=/etc/nagios --enable-ssl Initially, I got the cannot find ssl

Re: [Nagios-users] Stuck on NRPE for OS X Server

2009-03-18 Thread Andrew Davis
FYI: /var/log/system.log on the client shows: Mar 18 16:08:07 shu xinetd[29066]: START: nrpe pid=557 from=10.1.1.170 Mar 18 16:08:07 shu nrpe[557]: Error: NRPE daemon cannot be run as user/group root! whether I do the default test (with SSL) or use the -n flag to test w/o SSL. The odd thing

Re: [Nagios-users] Stuck on NRPE for OS X Server

2009-03-18 Thread Andrew Davis
If I'm reading this correctly, the line about NRPE daemon cannot be run as user/group root! is directly from the source code of NRPE. Its not an xinetd thing. I've confirmed that xinetd is running and listening on port 5666. I tried changing the owner/group from nobody:nobody to another

Re: [Nagios-users] Stuck on NRPE for OS X Server

2009-03-18 Thread Allan Clark
Reply is bottom-posted. On Wed, Mar 18, 2009 at 16:57, Andrew Davis ncc...@gmail.com wrote: If I'm reading this correctly, the line about NRPE daemon cannot be run as user/group root! is directly from the source code of NRPE. Its not an xinetd thing. I've confirmed that xinetd is running and

Re: [Nagios-users] Host checks instead of service checks

2009-03-18 Thread Israel Brewster
Using check_dummy with a service check titled No Services is exactly how we are doing this here. We have a number of hosts which we are really only interested in if the machine is running or not - so check_icmp is specified as the host check, and No services as the only service check. You

Re: [Nagios-users] check_jmx plugin chokes on more than 2Gb memory

2009-03-18 Thread Adam Serediuk
Old message, but I had the same problem. check_jmx was built using Integer's for numbers and the Java Integer type is not able to handle values larger than 2^31-1(2147483647.) When you pass a value larger than this NumberFormatException is thrown. I have no idea who the original author