Hi,
I was hoping to receive some help (I am sure it's gotta be a custom plugin, but I don't have any experience with programming).
I am trying to create a check that will do the following:
Using curl, retrieve the latest token ID. Once this token ID is retrieved, I would need to use something like sed to extract only the token ID itself from the curl command and insert this Token ID a check http with it checking the string.
Any assistance would be greatly appreciated.
Nik
Access Token ID
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Access Token ID
Without knowing your exact situation, nagios exchange is likely your best option to find something that will work. One such option might be:
check_curl_authenticate
Otherwise you certainly could script that out and call check_http from within another script. Should not be too terrible to do.
check_curl_authenticate
Otherwise you certainly could script that out and call check_http from within another script. Should not be too terrible to do.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.