[Nagios-users] Plugins for jvm memory
Hello all ! I'm new in Nagios world and I want to monitor the jvm memory of tomcat with NRPE... I want nagios warn me if the memory used is over 80% or 90%. Do you know a plugins for that ? Thank you a lot ! _ Nouveau Windows 7 : Simplifiez votre quotidien. Trouvez le PC qui vous convient. http://windows.microsoft.com/shop-- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Multiple NRPE Processes
Hi all, I have noticed that when I turn off monitoring on the client machine, all the other socket connections disappear and I'm only left with; nag...@pms # netstat -a | grep nrpe *.nrpe *.*0 0 49152 0 LISTEN As soon as I enable monitoring for the client, the socket connections that the OS is keeping in a TIME_WAIT state return. But like Marc advised, I'll take this up on another list since NRPE is not *directly* involved. Thanks all! -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Checking 64bit host from 32bit server
Do you have same version of nrpe on both sides ? I had this problem too, and i need to upgrade nrpe on one machine. Regards Martin On Thursday 21 January 2010 14:42:12 Natxo Asenjo wrote: > On Mon, Jan 18, 2010 at 10:53 AM, Mr Gabriel > wrote: > > When I run > > > > --# ./check_nrpe -H 64.bit.host > > > > I get back -- CHECK_NRPE: Error - Could not complete SSL handshake. When > > I do > > > > --# ./check_nrpe -H 64.bit.host -n > > i check 64bits machine all the time from our virtual 32 bit nagios > installation and it just works. > > natxo > > --- > --- Throughout its 18-year history, RSA Conference consistently attracts > the world's best and brightest in the field, creating opportunities for > Conference attendees to learn about information security's most important > issues through interactions with peers, luminaries and emerging and > established companies. http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null > -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Plugins & glibc
On Jan 21, 2010, at 7:40 AM, steve f wrote: > We are running glibc-2.2.5-235 > > I copied the plugin from the plugin directory on my host server which is > running glibc 2.4. > > Is my problem that I copied a plugin that was compiled on a server running > glibc 2.4? Yes. > Can I run an older set of plugings on the servers with the older glibc? Yes, or you can compile the newer plugins on the destination server so that they use glibc 2.2.5. > Anyone know the nagios-plugin version # ? Version number doesn't matter. Any will do if you compile them on that machine. What matters is what dependencies a pre-compiled *package* you've chosen to use has. If you're depending on finding an pre-existing package, you'll need to search the repositories available for your OS for either an older or newer version of the plugins that expects 2.2.5. > > Can I continue to keep my host server running 3.2 and have clients running > older versions of the plugins? Yes, plugin version is not tied to nagios version. -- Marc -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Checking 64bit host from 32bit server
On Mon, Jan 18, 2010 at 10:53 AM, Mr Gabriel wrote: > When I run > > --# ./check_nrpe -H 64.bit.host > > I get back -- CHECK_NRPE: Error - Could not complete SSL handshake. When > I do > > --# ./check_nrpe -H 64.bit.host -n i check 64bits machine all the time from our virtual 32 bit nagios installation and it just works. natxo -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios Plugins & glibc
I have been building a sandbox to set up Nagios 3.2.0 and so far everything has been fine. I am using the nagios-plugins-1.4.13 with Nagios 3. A large number of the clients we need to monitor ( about 1200 ) are running SuSE SLES-8 (i386) VERSION = 8.1 I was trying to set up one of these servers to run a check_disk via check_by_ssh and was having a problem. I tried to run the check_disk locally on one of these test servers and got the message that the plugin needed glibc 2.4 ./check_disk: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./check_disk) We are running glibc-2.2.5-235 I copied the plugin from the plugin directory on my host server which is running glibc 2.4. Is my problem that I copied a plugin that was compiled on a server running glibc 2.4? Can I run an older set of plugings on the servers with the older glibc? Anyone know the nagios-plugin version # ? Can I continue to keep my host server running 3.2 and have clients running older versions of the plugins? Thanks, Steve _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/196390709/direct/01/-- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagiosgraph failing to generate graphs
Eric Emerson wrote: > Is that the only entry in nagiosgraph.log? > It was when i first posted , hoiwever now there is a new line in the log : Thu Jan 21 11:08:39 2010 show.cgi critical define '/boot' in ngshared.pm (in %Ctrans) and report it, please Assaf -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Multiple NRPE Processes
On Jan 21, 2010, at 12:18 AM, Litwin, Matthew wrote: > In solaris it is critical that you run nrpe on solaris in daemon mode. That's a strong statement. Why? I don't recall hearing of problems running it out of inetd and doing so seems to be fairly common. > Running it like this you should be able to kill it without a problem as it > will maintain the pid. Make sure in nrpe.cfg that the nrpe user can write its > pid where specified. If you look in syslog you should see details about how > it starts. The OP's apparent 'problem' is not that he wants to kill child processes hanging out in the process table but rather socket connections that he sees using netstat that the OS is keeping in a TIME_WAIT state. These would be normal except for 'hanging around indefinitely'. Pending further developments from the OP, this would appear to be an OS TCP stack issue since NRPE is not involved in removing those. -- Marc -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagiosgraph failing to generate graphs
Is that the only entry in nagiosgraph.log? On Thu, Jan 21, 2010 at 6:09 AM, Assaf Flatto wrote: > Hello > > I am having an issue with nagiosgraph , i installed nagios 3.2 and > trying to add nagiosgraph-1.3.3 > for the graphs , but for some reason the graphs are not being generated . > > The RRD files are being created but not populated with data , meaning I > can see the graph page but no graphs. > > from the nagiosgraph.log (set to debug 5 ) > Thu Jan 21 10:52:56 2010 insert.pl warn perfdata not recognized: > servicedescr: > output: > perfdata: > > from the nagios.debug : > > [1264071672.381929] [016.2] [pid=7107] Found a check result (#14) to > handle... > [1264071672.381946] [016.1] [pid=7107] Handling check result for service > 'Disk Space /boot' on host 'gbc1-db-27'... > [1264071672.381960] [001.0] [pid=7107] handle_async_service_check_result() > [1264071672.381972] [016.0] [pid=7107] ** Handling check result for > service 'Disk Space /boot' on host 'gbc1-db-27'... > [1264071672.381985] [016.1] [pid=7107] HOST: gbc1-db-27, SERVICE: Disk > Space /boot, CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE: > Yes, EXITED OK: Yes, RETURN CODE: 0, OUTPUT: DISK OK - free space: /boot > 57 MB (83% inode=100%);| /boot=12MB;54;61;99; > 68\n > [1264071672.382016] [016.2] [pid=7107] Parsing check output... > [1264071672.382030] [016.2] [pid=7107] Short Output: DISK OK - free > space: /boot 57 MB (83% inode=100%): > [1264071672.382043] [016.2] [pid=7107] Long Output: NULL > [1264071672.382055] [016.2] [pid=7107] Perf Data:/boot=12MB;54;61;99;68 > [1264071672.382067] [016.2] [pid=7107] ST: HARD CA: 1 MA: 4 CS: 0 > LS: 0 LHS: 0 > [1264071672.382081] [016.1] [pid=7107] Service is OK. > [1264071672.382092] [016.1] [pid=7107] Service did not change state. > [1264071672.382110] [016.1] [pid=7107] Rescheduling next check of > service at Thu Jan 21 11:03:03 2010 > [1264071672.382123] [001.0] [pid=7107] get_next_valid_time() > [1264071672.382134] [001.0] [pid=7107] check_time_against_period() > [1264071672.382164] [001.0] [pid=7107] schedule_service_check() > [1264071672.382182] [016.0] [pid=7107] Scheduling a non-forced, active > check of service 'Disk Space /boot' on host 'gbc1-db-27' @ Thu Jan 21 > 11:03:03 2010 > [1264071672.382245] [016.2] [pid=7107] Scheduling new service check event. > [1264071672.382259] [001.0] [pid=7107] reschedule_event() > [1264071672.382270] [001.0] [pid=7107] add_event() > [1264071672.382288] [064.1] [pid=7107] Making callbacks (type 8)... > [1264071672.382318] [064.2] [pid=7107] Callback #1 (type 8) return code = 0 > [1264071672.382332] [064.1] [pid=7107] Making callbacks (type 20)... > [1264071672.382378] [064.2] [pid=7107] Callback #1 (type 20) return code = > 0 > [1264071672.382394] [064.1] [pid=7107] Making callbacks (type 13)... > [1264071672.382428] [064.2] [pid=7107] Callback #1 (type 13) return code = > 0 > [1264071672.382442] [064.1] [pid=7107] Making callbacks (type 20)... > [1264071672.382486] [064.2] [pid=7107] Callback #1 (type 20) return code = > 0 > [1264071672.382500] [001.0] [pid=7107] check_for_service_flapping() > [1264071672.382512] [016.1] [pid=7107] Checking service 'Disk Space > /boot' on host 'gbc1-db-27' for flapping... > [1264071672.382525] [016.2] [pid=7107] LFT=5.00, HFT=20.00, CPC=0.00, > PSC=0.00% > [1264071672.382574] [016.1] [pid=7107] Service is not flapping (0.00% > state change). > [1264071672.382589] [001.0] [pid=7107] check_for_host_flapping() > [1264071672.382601] [016.1] [pid=7107] Checking host 'gbc1-db-27' for > flapping... > [1264071672.382613] [016.2] [pid=7107] LFT=5.00, HFT=20.00, CPC=0.00, > PSC=0.00% > [1264071672.382629] [016.1] [pid=7107] Host is not flapping (0.00% state > change). > [1264071672.382642] [001.0] [pid=7107] > run_service_performance_data_command() > [1264071672.382654] [001.0] [pid=7107] > update_service_performance_data_file() > [1264071672.382675] [016.2] [pid=7107] Raw service performance data file > output: > > $LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ > [1264071672.382689] [001.0] [pid=7107] process_macros() > [1264071672.382701] [2048.1] [pid=7107] BEGIN MACRO PROCESSING > *** > [1264071672.382712] [2048.1] [pid=7107] Processing: > > '$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$' > [1264071672.382725] [2048.2] [pid=7107] Processing part: '' > [1264071672.382737] [2048.2] [pid=7107] Not currently in macro. > Running output (0): '' > [1264071672.382749] [2048.2] [pid=7107] Processing part: > 'LASTSERVICECHECK' > [1264071672.382763] [2048.2] [pid=7107] macro_x[13] (LASTSERVICECHECK) > match. > [1264071672.382778] [2048.2] [pid=7107] Processed 'LASTSERVICECHECK', > Clean Options: 0, Free: 1 > [1264071672.382790] [2048.2] [pid=7107] Processed 'LASTSERVICECHECK', > Clean Options: 0, Free: 1 > [1264071672.382803] [2048.2] [pid=7107] Cleaning options: global=0, > local=0, effective=0 > [1264071672.382816] [2
[Nagios-users] Nagiosgraph failing to generate graphs
Hello I am having an issue with nagiosgraph , i installed nagios 3.2 and trying to add nagiosgraph-1.3.3 for the graphs , but for some reason the graphs are not being generated . The RRD files are being created but not populated with data , meaning I can see the graph page but no graphs. from the nagiosgraph.log (set to debug 5 ) Thu Jan 21 10:52:56 2010 insert.pl warn perfdata not recognized: servicedescr: output: perfdata: from the nagios.debug : [1264071672.381929] [016.2] [pid=7107] Found a check result (#14) to handle... [1264071672.381946] [016.1] [pid=7107] Handling check result for service 'Disk Space /boot' on host 'gbc1-db-27'... [1264071672.381960] [001.0] [pid=7107] handle_async_service_check_result() [1264071672.381972] [016.0] [pid=7107] ** Handling check result for service 'Disk Space /boot' on host 'gbc1-db-27'... [1264071672.381985] [016.1] [pid=7107] HOST: gbc1-db-27, SERVICE: Disk Space /boot, CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE: Yes, EXITED OK: Yes, RETURN CODE: 0, OUTPUT: DISK OK - free space: /boot 57 MB (83% inode=100%);| /boot=12MB;54;61;99; 68\n [1264071672.382016] [016.2] [pid=7107] Parsing check output... [1264071672.382030] [016.2] [pid=7107] Short Output: DISK OK - free space: /boot 57 MB (83% inode=100%): [1264071672.382043] [016.2] [pid=7107] Long Output: NULL [1264071672.382055] [016.2] [pid=7107] Perf Data:/boot=12MB;54;61;99;68 [1264071672.382067] [016.2] [pid=7107] ST: HARD CA: 1 MA: 4 CS: 0 LS: 0 LHS: 0 [1264071672.382081] [016.1] [pid=7107] Service is OK. [1264071672.382092] [016.1] [pid=7107] Service did not change state. [1264071672.382110] [016.1] [pid=7107] Rescheduling next check of service at Thu Jan 21 11:03:03 2010 [1264071672.382123] [001.0] [pid=7107] get_next_valid_time() [1264071672.382134] [001.0] [pid=7107] check_time_against_period() [1264071672.382164] [001.0] [pid=7107] schedule_service_check() [1264071672.382182] [016.0] [pid=7107] Scheduling a non-forced, active check of service 'Disk Space /boot' on host 'gbc1-db-27' @ Thu Jan 21 11:03:03 2010 [1264071672.382245] [016.2] [pid=7107] Scheduling new service check event. [1264071672.382259] [001.0] [pid=7107] reschedule_event() [1264071672.382270] [001.0] [pid=7107] add_event() [1264071672.382288] [064.1] [pid=7107] Making callbacks (type 8)... [1264071672.382318] [064.2] [pid=7107] Callback #1 (type 8) return code = 0 [1264071672.382332] [064.1] [pid=7107] Making callbacks (type 20)... [1264071672.382378] [064.2] [pid=7107] Callback #1 (type 20) return code = 0 [1264071672.382394] [064.1] [pid=7107] Making callbacks (type 13)... [1264071672.382428] [064.2] [pid=7107] Callback #1 (type 13) return code = 0 [1264071672.382442] [064.1] [pid=7107] Making callbacks (type 20)... [1264071672.382486] [064.2] [pid=7107] Callback #1 (type 20) return code = 0 [1264071672.382500] [001.0] [pid=7107] check_for_service_flapping() [1264071672.382512] [016.1] [pid=7107] Checking service 'Disk Space /boot' on host 'gbc1-db-27' for flapping... [1264071672.382525] [016.2] [pid=7107] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00% [1264071672.382574] [016.1] [pid=7107] Service is not flapping (0.00% state change). [1264071672.382589] [001.0] [pid=7107] check_for_host_flapping() [1264071672.382601] [016.1] [pid=7107] Checking host 'gbc1-db-27' for flapping... [1264071672.382613] [016.2] [pid=7107] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00% [1264071672.382629] [016.1] [pid=7107] Host is not flapping (0.00% state change). [1264071672.382642] [001.0] [pid=7107] run_service_performance_data_command() [1264071672.382654] [001.0] [pid=7107] update_service_performance_data_file() [1264071672.382675] [016.2] [pid=7107] Raw service performance data file output: $LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ [1264071672.382689] [001.0] [pid=7107] process_macros() [1264071672.382701] [2048.1] [pid=7107] BEGIN MACRO PROCESSING *** [1264071672.382712] [2048.1] [pid=7107] Processing: '$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$' [1264071672.382725] [2048.2] [pid=7107] Processing part: '' [1264071672.382737] [2048.2] [pid=7107] Not currently in macro. Running output (0): '' [1264071672.382749] [2048.2] [pid=7107] Processing part: 'LASTSERVICECHECK' [1264071672.382763] [2048.2] [pid=7107] macro_x[13] (LASTSERVICECHECK) match. [1264071672.382778] [2048.2] [pid=7107] Processed 'LASTSERVICECHECK', Clean Options: 0, Free: 1 [1264071672.382790] [2048.2] [pid=7107] Processed 'LASTSERVICECHECK', Clean Options: 0, Free: 1 [1264071672.382803] [2048.2] [pid=7107] Cleaning options: global=0, local=0, effective=0 [1264071672.382816] [2048.2] [pid=7107] Uncleaned macro. Running output (10): '1264071663' [1264071672.382828] [2048.2] [pid=7107] Just finished macro. Running output (10): '1264071663' [1264071672.382840] [2048.2] [pid=7107] Processing part: '||' [1264071672.382853] [2048.2]
Re: [Nagios-users] removing and installing nagios
liyas m wrote: > DEar all, > > I have installed nagios 3.2 on my server for student project and > everything worked fine until i run apt-get nagios-text. After that the > version appeared on the server is Nagios 1.3 not 3.2 which is very > strange. I tried to reinstalled but still the old version appear > although the engine shown by nagios -c is 3.2 > > Nagios Core 3.2.0 > Copyright (c) 2009 Nagios Core Development Team and Community > Contributors > Copyright (c) 1999-2009 Ethan Galstad > Last Modified: 08-12-2009 > License: GPL > > How do I remove the old version ? Thank you for your help. > > Regards, > Liyas if you installed with apt - you can try apt-get purge nagios-text . that will remove the package installed . As for returning to the source installed software - you might have to rerun the configure / make process to make sure the newer files are installed and used . or you can use the blunt force method and rm every file related to nagios - but i wouldn't recommend it , only as a last resort . Assaf -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Multiple NRPE Processes
Can you elaborate Matthew, why is it critical to run NRPE in daemon mode under Solaris? I'm just curious as to any issues that may result from not doing so. Cheers, Chris -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null