centreon / centreon-archived

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
https://www.centreon.com
GNU General Public License v2.0
574 stars 240 forks source link

API Able to execute host/service external commands #4350

Open querwin opened 8 years ago

querwin commented 8 years ago

Link to :

https://github.com/centreon/centreon-clapi/issues/109

cmeschin commented 7 years ago

Hi, I'm interesting about this for acknowledgment and downtimes. I'm currently using an append in centcore.cmd from an ssh connection from the ITSM server with this command: "EXTERNALCMD:". $poller_id . ":[" . time() . "] ACKNOWLEDGE_SVC_PROBLEM;" . $host_name . ";" . $service_name . ";2;0;1;SUSI;Ticket numero " . $ticket . ".\n"

But we are in migration of ITSM server's on Linux to Windows and ssh is not a native feature on Windows :( solutions must surely exist but through the API would be perfect. regards.

lpinsivy commented 7 years ago

Hi you can use downtimes with Centreon REST JSON API or CLAPI using this documentation : https://documentation.centreon.com/docs/centreon/en/2.8.x/api/clapi/objects/realtime_downtimes.html

cmeschin commented 7 years ago

Hi, Ok for downtimes but what about acknowledgment?

lpinsivy commented 7 years ago

Not yet developed ;)

jaltmeyer commented 5 years ago

The parent issue was talking about disable checks / reschedule checks. It will be nice to have these feature too.