我如何设置Nagios 3来监控网页? 我想确保它保持在线状态。 另外,如果可能的话,我想让它检查一个string的页面,以确保页面是有效的。
你可以使用插件check_http 。 它有一个选项,称为-s, --string=STRING String to expect in the content 。
Nagios check_http插件完全符合你的要求,等等。
有关如何设置Nagios和configuration插件的信息,请参阅Nagios手册 ,如果您不确定如何操作。