Monitoring Windows Servers with NagiosCore with scripts
Posted: Sun Nov 04, 2012 4:48 am
Hello all,
I've spent quite a while getting my head around how Nagios works and I feel I have a relatively good grip of it now but there is one thing that is confusing me.
Lets say I have 200 remote hosts, and I find a script on Nagios Exchange that I want to run against them. As I understand the concept of NSClient++ and NRPE, I'd have to manually put the script (lets say a VBS) on these servers and then execute it somehow through NSClient++ strings.
My question: am I thinking about this wrong. How can I run say VBS/PS code against remote servers without having to get a script out to 200 servers. Can someone give an example or point to a tutorial for running something that isn't one of the default plugins for NSClient++ or NRPE.
Thanks in advance for any advice!
I've spent quite a while getting my head around how Nagios works and I feel I have a relatively good grip of it now but there is one thing that is confusing me.
Lets say I have 200 remote hosts, and I find a script on Nagios Exchange that I want to run against them. As I understand the concept of NSClient++ and NRPE, I'd have to manually put the script (lets say a VBS) on these servers and then execute it somehow through NSClient++ strings.
My question: am I thinking about this wrong. How can I run say VBS/PS code against remote servers without having to get a script out to 200 servers. Can someone give an example or point to a tutorial for running something that isn't one of the default plugins for NSClient++ or NRPE.
Thanks in advance for any advice!