I am using the plugin below but not sure if it's the correct one to be using for my needs.
https://exchange.nagios.org/directory/P ... -API/visit
Basically what I want to do is an API call to a url using GET, it returns a Json result with the output below when I use PostMAN.
Code: Select all
{
"ok": true,
"result": {
"url": "",
"has_custom_certificate": false,
"pending_update_count": 0
}
}
The command I was hoping would give me an "OK"
Code: Select all
./check_rest_api -H hostname/getWebhookInfo -K has_custom_certificate false
UNKNOWN - JSON key 'has_custom_certificate' not found!
Is there something i am doing wrong or is this maybe the incorrect plugin to use for my purposes?
Thanks