r753 |r754| r755
Index: inputs/ISS/wwwnext.cf
===================================================================
--- inputs/ISS/wwwnext.cf	(revision 753)
+++ inputs/ISS/wwwnext.cf	(revision 754)
@@ -10,7 +10,8 @@
 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) )
+  wwwnext_httpd_switched_on   = ( ReturnsZeroShell(/sbin/chkconfig --list httpd |/bin/grep -q 3:on) )
+  wwwnext_httpd_running  = ( ReturnsZeroShell(/bin/ps -e -o cmd |/bin/grep -q ^httpd) )
 
 directories:
  /etc/ha.d mode=755 owner=0 group=0
@@ -79,5 +80,7 @@
     "/sbin/modprobe drbd"
   iptables_on.wwwnext_restart_iptables::
     "/sbin/service iptables restart >/dev/null"
-  !wwwnext_httpd_on::
+  !wwwnext_httpd_switched_on::
     "/sbin/chkconfig httpd on"
+  !wwwnext_httpd_running::
+    "/sbin/service httpd start"