Don't work new event handler
Posted: Mon Mar 16, 2020 6:24 am
Hello
I have around 1500 hosts and the hosts have around 20-30 service ( based on host type), the services are passive (SNMP Trap is used), the services have event- handler to run a script for process of the service after receiving a trap.
I have no problem about the event-handlers, but I wanted to set an event-handler for a new service but the event handler was not run, I don't know why?
1) I defined related command
2) I defined related service and I activated event-handler for it and selected related command for it
3) Now the service state is changed when trap is received
- but the scrip that has been defined in command is not run. ( I created debug log for it)
- the script works correctly in another place
- the permission of files is correct
are there any limitation about it?
I would be grateful if you could help me in this filed.
I have around 1500 hosts and the hosts have around 20-30 service ( based on host type), the services are passive (SNMP Trap is used), the services have event- handler to run a script for process of the service after receiving a trap.
I have no problem about the event-handlers, but I wanted to set an event-handler for a new service but the event handler was not run, I don't know why?
1) I defined related command
2) I defined related service and I activated event-handler for it and selected related command for it
3) Now the service state is changed when trap is received
- but the scrip that has been defined in command is not run. ( I created debug log for it)
- the script works correctly in another place
- the permission of files is correct
are there any limitation about it?
I would be grateful if you could help me in this filed.