Getting Error in activemq_watch

This forum is intended for the discussion of Nagios plugin development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagiosplug-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Getting Error in activemq_watch

Postby Poulami » Thu Jun 01, 2017 3:49 am

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
Poulami
 
Posts: 6
Joined: Tue May 23, 2017 5:07 am

Re: Getting Error in activemq_watch

Postby avandemore » Thu Jun 01, 2017 10:11 am

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
avandemore
 
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Getting Error in activemq_watch

Postby Poulami » Mon Jun 05, 2017 1:33 am

Thanks for your suggestion. I am checking the activeMq through check_tcp on port 61616.
Poulami
 
Posts: 6
Joined: Tue May 23, 2017 5:07 am

Re: Getting Error in activemq_watch

Postby avandemore » Mon Jun 05, 2017 12:01 pm

check_tcp will only check for an listening tcp port, it was just an example for you to describe your problem.
Previous Nagios employee
avandemore
 
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Getting Error in activemq_watch

Postby tmcdonald » Wed Jun 21, 2017 1:29 pm

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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tmcdonald
Support Manager
 
Posts: 8544
Joined: Mon Sep 23, 2013 8:40 am


Return to Nagios Plugin Development

Who is online

Users browsing this forum: No registered users and 2 guests