Powershell and Maybe Batch Files - edembskey - 06-11-2018
Firstly, I have NEMS up and running on a Raspberry PI and it is working rather well, so thank you for creating and making it available.
I am a newbie so please forgive me if this question is silly.
I have a number of powershell and batch files that run periodically on one of my servers. Is it possible for me to have them report success or failure via NSClient to NEMS? It would be super handy for me to get some status report under services for that server.
RE: Powershell and Maybe Batch Files - Robbie Ferguson - 06-11-2018
Hi edembskey, thanks for the kind words. Glad you're enjoying NEMS!
Hmm, that's an interesting question. Perhaps this documentation from Nagios XI would be of help? Although you'd have to adapt everything to NEMS (ie., our interface is different, but the underlying principles are the same): https://assets.nagios.com/downloads/nagiosxi/docs/Restarting-Windows-Services-With-NRPE-in-Nagios-XI.pdf?_ga=2.97810200.62318429.1528743939-2038332767.1527275102
Good luck! if you get it working, I'd love to hear about it (and perhaps add it to the docs).
RE: Powershell and Maybe Batch Files - edembskey - 06-11-2018
Thanks - if I get it working, I will certainly add it to the docs.
|