How to add POST parameters to Nagios plugin

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
prabakaran
Posts: 8
Joined: Fri Aug 03, 2012 4:48 am

How to add POST parameters to Nagios plugin

Post by prabakaran »

Hi,

I am beginner to nagios. I am trying to use " check_http_enhanced.pl " plug-in, but problem is add POST parameters
& values. I dont know how to pass parameters.
Here is my terminal command,
/usr/local/nagios/libexec# ./check_http_enhanced.pl -H localhost -u /sample/test/ -p 8080 -m POST -r region -v south -T application/json -W
Status: Critical (400 Bad Request)

Please help me to get the result. Thanks in advance.

Regards,
Prabakaran.
Locked