NCPA_ACTIVE_CHECKS_set-method
Posted: Wed Aug 12, 2020 7:36 am
Hi,
I have my Nagios XI server and a set of equipement monitored thanks to the new agent NCPA. I really find it great and helpful.
In the documentation I read about active checks and how can we use the GET method to extract monitored data. as an example, in the following directory
Thanks to this command we can extract different information about CPU usage for example. So my questions are:
- How can we use a SET Method as an API request? and what can we modify using this SET Method ?
- If we talk security ? what is the possible vulnerability that this type of request can presents ? and how we can avoid it ?
Thank you
I have my Nagios XI server and a set of equipement monitored thanks to the new agent NCPA. I really find it great and helpful.
In the documentation I read about active checks and how can we use the GET method to extract monitored data. as an example, in the following directory
Code: Select all
/usr/local/nagios/libexec#./check_ncpa -H <<HOSTADDRESS>> -t mytoken -M '/cpu' -w 'value1 '-c 'value2' - How can we use a SET Method as an API request? and what can we modify using this SET Method ?
- If we talk security ? what is the possible vulnerability that this type of request can presents ? and how we can avoid it ?
Thank you