Use Central Nagios to deploy VBS/Powershell
Posted: Mon Oct 15, 2012 9:08 am
Hello everyone,
We are setup at the moment with nagios core running the basic checks etc like free space/CPU checks. What I am looking to do is run a custom script on the client machine. We have NSClient++ Installed on all of our hosts. As I understand it at the moment I will have to put that custom script manually on all of our servers and then execute it from a test that simply executes the script file.
Is there no way to save my script within our central nagios server and deploy it to a certain folder? It seems a pain in the ass to have to deploy everything manually, especially if I need to change the script.
Anyone any ideas?
We are setup at the moment with nagios core running the basic checks etc like free space/CPU checks. What I am looking to do is run a custom script on the client machine. We have NSClient++ Installed on all of our hosts. As I understand it at the moment I will have to put that custom script manually on all of our servers and then execute it from a test that simply executes the script file.
Is there no way to save my script within our central nagios server and deploy it to a certain folder? It seems a pain in the ass to have to deploy everything manually, especially if I need to change the script.
Anyone any ideas?