Page 1 of 1

Getting Error in activemq_watch

Posted: Thu Jun 01, 2017 3:49 am
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

Re: Getting Error in activemq_watch

Posted: Thu Jun 01, 2017 10:11 am
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

Re: Getting Error in activemq_watch

Posted: Mon Jun 05, 2017 1:33 am
by Poulami
Thanks for your suggestion. I am checking the activeMq through check_tcp on port 61616.

Re: Getting Error in activemq_watch

Posted: Mon Jun 05, 2017 12:01 pm
by avandemore
check_tcp will only check for an listening tcp port, it was just an example for you to describe your problem.

Re: Getting Error in activemq_watch

Posted: Wed Jun 21, 2017 1:29 pm
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?