Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4391Themes and Skins11Add-ons738Documentation283Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Presentations Jose Luis Martinez Writing Nagios plugins with Perl Help (part 2)
0.0 (0)
98.7K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Joerg Hoerter (3)
See More
Newest Contributors
messefreeze (2)apham (1)mngvn (2)Georg2Korger2 (1)Guillaume8723 (1)
See More

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > benbugohit
b

benbugohit

@benbugohit

User Stats

Member Since: February 5, 2014

Favorites0

Views

Projects0

No Projects Found
Nagios XI Group Creation Tool

Couldn't test it on nagiosxi 2012R2.8c

Install OK, But couldn't proceed to step 2. This error is returned : "Waiting for configuration verification.... Backend login to the Core Config Manager failed."

Reviewed 12 years ago

Syabru Nagios JMX Plugin

This check_jmx is the must have !!!

I tested "check_jmx", "check_jmx 2" plugins, and finally this one, which works very well. - the "check_jmx" plugin couldn't parse correctly the arguments given, and had to apply a hack to obtain perfdata, - this plugin includes perfdata natively. Here is an example : - on nrpe client host : -- cfg file included by nrpe.cfg : command[test_check_jmx]=/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:$ARG1$/jmxrmi -O org.apache.camel:context=$ARG2$/mainContext,type=$ARG3$,name="$ARG4$" -A $ARG5$ -w $ARG6$ -c $ARG7$ - on nagios nrpe server : -- command line test : ./check_nrpe -H 10.20.0.11 -u -c test_check_jmx_dcd_failures -a 10010 satais-esb1 processors threadProcessor FailuresHandled 1 10 -- result : JMX OK - FailuresHandled = 0 | 'FailuresHandled'=0;1;10;;

Reviewed 12 years ago

check_jmx

Doesn't parse arguments correctly

I had to declare a single command for each attribute i wanted to monitor. But i have 210 jmx checks to monitor. So, after having tests about how to template jmx checks, finally syabru nagios plugin made it. What i obtained with this "check_jmx" plugin with this setup : - nrpe host client : command[test_check_jmx]=/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:$ARG1$/jmxrmi -O org.apache.camel:context=$ARG2$/mainContext,type=$ARG3$,name="$ARG4$" -A $ARG5$ -w $ARG6$ -c $ARG7$ - nagios nrpe server : ./check_nrpe -H 10.20.0.11 -u -c test_check_jmx_dcd_failures -a 10010 satais-esb1 processors threadProcessor FailuresHandled 1 10 JMX UNKNOWN java.lang.NumberFormatException: For input string: "10satais-esb1/mainContext,type=processors,name="threadProcessor"" connecting to org.apache.camel:context=satais-esb1/mainContext,type=processors,name="threadProcessor" by URL service:jmx:rmi:///jndi/rmi://localhost:10010/jmxrmiorg.nagios.ParseError: java.lang.NumberFormatException: For input string: "10satais-esb1/mainContext,type=processors,name="threadProcessor"" at org.nagios.JMXQuery.parse(JMXQuery.java:250) at org.nagios.JMXQuery.main(JMXQuery.java:74) Caused by: java.lang.NumberFormatException: For input string: "10satais-esb1/mainContext,type=processors,name="threadProcessor"" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:438) at java.lang.Long.parseLong(Long.java:478) at org.nagios.JMXQuery.parse(JMXQuery.java:242) ... 1 more Usage: check_jmx -help - And with the syabru nagios jmx plugin : ./check_nrpe -H 10.20.0.11 -u -c test_check_jmx_dcd_failures -a 10010 satais-esb1 processors threadProcessor FailuresHandled 1 10 JMX OK - FailuresHandled = 0 | 'FailuresHandled'=0;1;10;;

Reviewed 12 years ago

No Favorites Found

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile