Close
Skip to content

4 Comments

  1. pavan
    April 1, 2013 1:37 am @ 01:37

    in which file i need to update the (Update service/host definitions with event_handler)
    can you make this clear.

    Reply

    • TR
      April 1, 2013 9:38 am @ 09:38

      The file to update depends on what services/hosts you want displayed. For example, if I want to monitor a particular service of a Windows host then I would put the event_handler in windows.cfg like this:

      define service{
      use generic-service
      hostgroup_name clientservers
      service_description Client Servers
      check_command check_nt!PROCSTATE!-d SHOWALL -l Process.exe
      event_handler update-nagex
      }

      And if I want to display the status of the Host which runs this service, I would add the event_handler in my hosts.cfg:

      define host{
      use windows-server
      host_name NT-XX-01
      alias Server 2
      address 192.168.1.200
      hostgroups windows-servers, clientservers
      event_handler update-nagex-host
      }

      Reply

  2. Patrick
    June 20, 2013 4:58 am @ 04:58

    Everything done as described here but the browser returns a 500 error. Could you help to identify what I did wrong?
    Thanks

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *