I have server that I would like to monitor with this utility. The way the document describes this there would have to be one 'command check_drupal' entry for each host. But what if the sites are vhosts and we want those service checks to be tied to the canonical hostname of the machine hosting them?
I see that the check_drupal shell script could be modified to process a list of comma seperated hosts and mash the service check results and performance data into one check, but I am wondering if there isn't a way that makes more sence? How are other people monitoring there multi site installs with this?
Comments
Comment #1
greg.harveySurely it's *likely* your multisites will have different module sets? It is in our case anyway. So multiple checks is desired. If you're sure all the sites are *exactly* the same, what's the harm in just checking one of them? What do you gain by the modification?
We monitor our multisites with NRPE using the drush support in the Nagios module, for example:
Comment #2
greg.harvey