Hi, I’m sorry if this is against the rules, I hope it is not.
I am looking for an hour of someone’s time (paid of course), to remote desktop in and help me configure a single satellite, connected to a single host. I feel I am very close, I have managed to connect the remote unit as a satellite and it appears within hosts on the master. I am even able to run check_ping against. But for the life of me I cannot figure out how to run a custom script on the satellite endpooint.
I have a custom python script. This check runs fine on the command line on the satellite using:
sudo -u nagios /usr/lib/nagios/plugins/custom-script.py (Returns a value of 230, typically)
However I don’t know how to configure this to run properly as a check directly on the satellite. I have tried configuring with the director (I have done all of my configuration thus far with director) but have been unsuccessful. It appears when I try to configure it, the master is trying to run the script locally, not on the endpoint. The script checks a ModBus register of a device connected directly to the satellite.
I am really trying to convince my work to setup a support package with Icinga directly (I have even spoke to Icinga reps on the phone), but until I can show the setup working, my work won’t go for it. I realise this is probably contradictory, usually you need support to help things first. I’ve pretty much set everything else up, it is just this last step that I desperately need help with.