We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
found during monitoring system migration, potentially later version will fix this, at least looks like 1.13 is available: https://github.com/rhuss/jmx4perl/releases
check_jmx4perl 1.11 [http://www.jmx4perl.org] (bundled)
/omd/versions/default/lib/monitoring-plugins/check_jmx4perl --url "https://<HOST>:<PORT>/app/manage/jolokia" --config=/opt/omd/sites/<SITE>/etc/naemon/misc/jmx4perl/jmx4perl.cfg --check 'memory' -v Result fetched in 58.353 ms: $VAR1 = [ bless( { 'status' => 500, 'request' => [ bless( { 'attribute' => 'HeapMemoryUsage', 'type' => 'read', 'mbean' => 'java.lang:type=Memory', 'path' => 'used' }, 'JMX::Jmx4Perl::Request' ), bless( { 'attribute' => 'HeapMemoryUsage', 'type' => 'read', 'path' => 'max', 'mbean' => 'java.lang:type=Memory' }, 'JMX::Jmx4Perl::Request' ), bless( { 'path' => 'used', 'mbean' => 'java.lang:type=Memory', 'type' => 'read', 'attribute' => 'NonHeapMemoryUsage' }, 'JMX::Jmx4Perl::Request' ), bless( { 'type' => 'read', 'attribute' => 'NonHeapMemoryUsage', 'mbean' => 'java.lang:type=Memory', 'path' => 'max' }, 'JMX::Jmx4Perl::Request' ) ], 'error' => 'Error while fetching https://<HOST>:<PORT>/app/manage/jolokia/ : 500 Can\'t connect to <HOST>:<PORT> (Connection refused) ', 'value' => 'Can\'t connect to <HOST>:<PORT> (Connection refused) Connection refused at /omd/sites/<SITE>/lib/perl5/lib/perl5/LWP/Protocol/http.pm line 50. ', 'stacktrace' => undef }, 'JMX::Jmx4Perl::Response' ), undef, undef, undef ]; UNKNOWN - 2 of 2 checks failed [2 UNKNOWN (Heap,Non-Heap)] [1] UNKNOWN Error: 500 Error while fetching https://<HOST>:<PORT>/app/manage/jolokia/ : [2] UNKNOWN Can't call method "is_error" on an undefined value at /omd/sites/<SITE>/lib/perl5/lib/perl5/JMX/Jmx4Perl/Nagios/SingleCheck.pm line 444.
check_jmx4perl 1.10 [http://www.jmx4perl.org]
/usr/local/bin/check_jmx4perl --url "https://<HOST>:<PORT>/app/manage/jolokia" --config=/etc/nagios/misc/jmx4perl/jmx4perl.cfg --check 'memory' -v Result fetched in 46.739 ms: $VAR1 = [ bless( { 'request' => [ bless( { 'attribute' => 'HeapMemoryUsage', 'mbean' => 'java.lang:type=Memory', 'path' => 'used', 'type' => 'read' }, 'JMX::Jmx4Perl::Request' ), bless( { 'attribute' => 'HeapMemoryUsage', 'mbean' => 'java.lang:type=Memory', 'path' => 'max', 'type' => 'read' }, 'JMX::Jmx4Perl::Request' ), bless( { 'attribute' => 'NonHeapMemoryUsage', 'mbean' => 'java.lang:type=Memory', 'path' => 'used', 'type' => 'read' }, 'JMX::Jmx4Perl::Request' ), bless( { 'attribute' => 'NonHeapMemoryUsage', 'mbean' => 'java.lang:type=Memory', 'path' => 'max', 'type' => 'read' }, 'JMX::Jmx4Perl::Request' ) ], 'stacktrace' => undef, 'value' => '500 Connect failed: connect: Connection refused; Connection refused ', 'status' => 500, 'error' => 'Error while fetching https://<HOST>:<PORT>/app/manage/jolokia/ : 500 Connect failed: connect: Connection refused; Connection refused ' }, 'JMX::Jmx4Perl::Response' ), undef, undef, undef ]; UNKNOWN - Error: 500 Error while fetching https://<HOST>:<PORT>/app/manage/jolokia/ : 500 Connect failed: connect: Connection refused; Connection refused
The text was updated successfully, but these errors were encountered:
No branches or pull requests
found during monitoring system migration, potentially later version will fix this, at least looks like 1.13 is available: https://github.com/rhuss/jmx4perl/releases
check_jmx4perl 1.11 [http://www.jmx4perl.org] (bundled)
check_jmx4perl 1.10 [http://www.jmx4perl.org]
The text was updated successfully, but these errors were encountered: