Search found 5 matches
- Tue Nov 01, 2016 3:54 pm
- Forum: Open Source Nagios Projects
- Topic: How to monitor restful web services?
- Replies: 7
- Views: 12122
Re: How to monitor restful web services?
Good to close 
- Tue Nov 01, 2016 3:33 pm
- Forum: Open Source Nagios Projects
- Topic: How to monitor restful web services?
- Replies: 7
- Views: 12122
Re: How to monitor restful web services?
There might be a better solution out there... but if anyone ever wants to monitor a restful web api that requires token authentication here's what I did. Create a bash script that uses CURL to call the API and pass the auth headers (example below) get the token back and write that token to the RESOU...
- Tue Nov 01, 2016 12:08 pm
- Forum: Open Source Nagios Projects
- Topic: How to monitor restful web services?
- Replies: 7
- Views: 12122
Re: How to monitor restful web services?
It looks like in order to authenticate I have to: Perform an HTTP POST with a username and pass to the API. This post will return a key. Then I can pass the key as a header along with all subsequent requests. I don't know if Nagios is capable of handling this. Does anyone know what the best way to a...
- Tue Nov 01, 2016 11:53 am
- Forum: Open Source Nagios Projects
- Topic: How to monitor restful web services?
- Replies: 7
- Views: 12122
Re: How to monitor restful web services?
I just realized I can pass headers with check_http
ex: ./check_http -H api.somedomain.com -u /api/data -k blablah
I will try going down that route.
ex: ./check_http -H api.somedomain.com -u /api/data -k blablah
I will try going down that route.
- Tue Nov 01, 2016 11:36 am
- Forum: Open Source Nagios Projects
- Topic: How to monitor restful web services?
- Replies: 7
- Views: 12122
How to monitor restful web services?
Does anyone know of a plugin I can use to monitor restful webservices with Nagios?
I need to authenticate by passing an auth header. Thanks.
I need to authenticate by passing an auth header. Thanks.