如何设置 Nagios 来监控网页?

cwd*_*cwd 0 monitoring nagios

如何设置 Nagios 3 来监控网页?我想确保它保持在线。另外,如果可能的话,我想让它检查页面中的字符串以确保页面有效。

Kha*_*led 6

您可以使用插件check_http。它有一个名为-s, --string=STRING String to expect in the content.