For my Antispam cluster i'm using SpamExperts, and i want to add the servers to my OpsView core setup so i can monitor the servers and the queue's. I found a great KB article for Nagios, and i was assuming i could use this also for Opsview.
Except.. I dont know how i can run a PHP command, there's a checkcommands.cfg file, but when i modify it to use php in front of the script and i reload the configuration, this piece of code gets removed. Is there any way i can use a PHP script to check the API and verify the status of my Antispam cluster?