Page 1 of 1

Curl problem in Nagios core 3.5.1

Posted: Tue Oct 22, 2013 9:42 am
by cesar.garza
Hey guys
I am facing a weird problem that i haven't seen it before. i used to had nagios 3.4.4 version and now i moved to nagios core 3.5.1. I moved all my customize scripts to new nagios and everything is working except one script(activemq). When i tested this script from command line, it gave me the response. However, when i hook it up with service.cfg and command.cfg, it throws the error like "null". I debug it and found this error curl: no URL specified! curl: try 'curl --help' or 'curl --manual' for more information.

script download it from :
http://exchange.nagios.org/directory/Pl ... or/details

Re: Curl problem in Nagios core 3.5.1

Posted: Tue Oct 22, 2013 10:37 am
by tmcdonald
It looks like the plugin is trying to interpret "-a" as the URL. I didn't see any switches for that plugin. Is there a reason you have it included? Try removing it from the command_line entry in your config file and see if this works.