I have modified localhost.cfg as follows :
When I restart nagios service I get following error :
Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration.
When I comment the "event_handler restart-httpd", the service can be restarted.
I am using nagios 3.2.0.
Can anyone tell me what is wrong and how do I work with event_handler.