Nagios plugin calling cloud env- response extract auth token

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
gmills
Posts: 114
Joined: Wed Jun 12, 2019 2:08 pm

Nagios plugin calling cloud env- response extract auth token

Post by gmills »

Hello, and Happy New Year to you!

I need to create a Nagios Core plugin, that touches the cloud AWS environments, from non-cloud system.

the problem I see is first I need to obtain a auth token, the return response to the first request would be the auth token.

I would take that auth token and use it to access the cloud envs,

is Nagios Core equiped to handle this type of call, I'm still a bit fresh with Nagios. thank you!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios plugin calling cloud env- response extract auth t

Post by Box293 »

Yes.

Basically Nagios just executes commands and only cares about getting back an exit code and some human friendly text.

Everything you explained will need to be scripted into your plugin, Nagios doesn't care about any of that. Things might get complicated if you want to pass information from one check to another, it's entirely up to you as to how you design it.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
gmills
Posts: 114
Joined: Wed Jun 12, 2019 2:08 pm

Re: Nagios plugin calling cloud env- response extract auth t

Post by gmills »

got it,

thank you!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios plugin calling cloud env- response extract auth t

Post by Box293 »

Great, is it OK to close this thread?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
gmills
Posts: 114
Joined: Wed Jun 12, 2019 2:08 pm

Re: Nagios plugin calling cloud env- response extract auth t

Post by gmills »

Yes Sir, please close. thank you
Locked