Page 1 of 1
Configure URL with post method in Nagios Xi
Posted: Tue May 07, 2019 2:43 am
by biswajit.banerjee
Hi Team,
I have a url with post method and want to monitor into NagiosXi. Please help me out to fix it.
URL:
https://172.16.34.242/cceuserprofileservice/login
screen shot is attached
Re: Configure URL with post method in Nagios Xi
Posted: Tue May 07, 2019 10:37 am
by scottwilkerson
You need to remove the space between
https:// and 172.16.34.242
Re: Configure URL with post method in Nagios Xi
Posted: Tue May 07, 2019 11:53 am
by biswajit.banerjee
Sorry for that, space was given by mistake when write on post ,real not have space .
Re: Configure URL with post method in Nagios Xi
Posted: Tue May 07, 2019 12:27 pm
by scottwilkerson
biswajit.banerjee wrote:Sorry for that, space was given by mistake when write on post ,real not have space .
So the Invalid URL should have gone away correct?
In the end you are going to have to create your own service either way because the wizard cannot handle POST requests.
You will want to get the command working from the command line using check_http, then from there you can create a service specifying the arguments in the $ARG1$ field in the CCM