--- inputs/ISS/wwwnext.cf (revision 752)
+++ inputs/ISS/wwwnext.cf (revision 753)
classes:
wwwnext_hb_running = ( ReturnsZeroShell(/sbin/pidof heartbeat >/dev/null) )
wwwnext_mod_loaded = ( ReturnsZeroShell(/sbin/lsmod | /bin/grep drbd >/dev/null) )
+ wwwnext_httpd_on = ( ReturnsZeroShell(/sbin/chkconfig --list httpd |/bin/grep -q 3:on) )
directories:
/etc/ha.d mode=755 owner=0 group=0
"/sbin/modprobe drbd"
iptables_on.wwwnext_restart_iptables::
"/sbin/service iptables restart >/dev/null"
+ !wwwnext_httpd_on::
+ "/sbin/chkconfig httpd on"