Getting Error in activemq_watch

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Poulami
Posts: 6
Joined: Tue May 23, 2017 5:07 am

Getting Error in activemq_watch

Post by Poulami »

Hi,

I am getting below error while running the activemq_watch script.
Cannot get XML file: No such file or directory
But i'm getting Xml from the URL.

can you please suggest what is going wrong?

Regards,
Poulami
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Getting Error in activemq_watch

Post by avandemore »

Here are some options:
* contact the plugin's author
* check if the plugin has a verbose mode and run it as such
* add debugging to the plugin so you know what is going on

Showing the command and output from the CLI is a good way to communicate the issue:

Code: Select all

# su - nagios
$ /usr/local/nagios/libexec/check_tcp -H localhost -p 22
TCP OK - 0.000 second response time on localhost port 22|time=0.000378s;;;0.000000;10.000000
Previous Nagios employee
Poulami
Posts: 6
Joined: Tue May 23, 2017 5:07 am

Re: Getting Error in activemq_watch

Post by Poulami »

Thanks for your suggestion. I am checking the activeMq through check_tcp on port 61616.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Getting Error in activemq_watch

Post by avandemore »

check_tcp will only check for an listening tcp port, it was just an example for you to describe your problem.
Previous Nagios employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Getting Error in activemq_watch

Post by tmcdonald »

Just checking in since we have not heard from you in a while. Did @avandemore's post clear things up or has the issue otherwise been resolved?
Former Nagios employee
Locked