Hi, I have this idea/problem: I need to run scripts from the Nagios web UI; these scripts should be able to be anything, like turning on a KVM machine.
E.g. I have a dormant developer machine and I need to turn it on (ie virsh start dev-machine) or I have an Ansible playbook and I want to run it.
I know that Nagios is not really supposed to be used like this, but still, if there was a solution I'd be happy to hear it.
Run arbitrary scripts/commands from web UI
Re: Run arbitrary scripts/commands from web UI
If you were using XI you could possibly use something like this:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
But in Core I don't believe there is anything that will do what you need from the UI. You can get somewhat close with event handlers and passive services, but that's quite the workaround.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
But in Core I don't believe there is anything that will do what you need from the UI. You can get somewhat close with event handlers and passive services, but that's quite the workaround.
Former Nagios employee