Easiest way to send a passive check result to Icinga2 server from Windows machines

Hi All!

In our old nagios environment we used send_nsca.exe to send a check result to a service defined in the nagios server. The send_nsca.exe was executed by scripts running on Windows machines with no nagios agents.

Which is the most simple way to do this or similar function in Icinga2 environment?

Regards,
bking

Using the Rest API to send data should be the easiest way
https://icinga.com/docs/icinga2/latest/doc/12-icinga2-api/

1 Like

I haven’t done much with PowerShell yet, but the built-in methods allow for interacting with REST APIs as well.

Hi Assaf,

Thanks for the tip, it works fine!

bking

Hello Michael,

Finally I did it with Curl/Windows cli. Works fine :slight_smile:

Bking