NCPA_ACTIVE_CHECKS_set-method

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
yybadrou
Posts: 12
Joined: Mon Jul 20, 2020 2:34 am

NCPA_ACTIVE_CHECKS_set-method

Post by yybadrou »

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

Code: Select all

/usr/local/nagios/libexec#./check_ncpa -H <<HOSTADDRESS>> -t mytoken -M '/cpu' -w 'value1 '-c 'value2' 
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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NCPA_ACTIVE_CHECKS_set-method

Post by scottwilkerson »

There isn't any SET method

The NCPA agent can only deliver the values it can collect, it has no ability to change values
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked