Submit NRDP with Curl
Posted: Tue Sep 05, 2017 10:04 am
Hi,
I'm trying to send a passive check to my nagios host where the results has a space in it
When it displays in Nagios it misses off " Failed" and just displays the word Backup
Can anyone help with the syntax?
Thanks
Paul
I'm trying to send a passive check to my nagios host where the results has a space in it
Code: Select all
curl -X POST -L 'http://nagios-live/nrdp?cmd=submitcmd&token=****&command=PROCESS_SERVICE_CHECK_RESULT;wxapsdpoc03;SQL_Daily_1;1;Backup Failed' --insecureCan anyone help with the syntax?
Thanks
Paul