Operating System - HP-UX
1838230 Members
6114 Online
110125 Solutions
New Discussion

Traps generated when named daemon is restarted?

 
Victoria Leung
Advisor

Traps generated when named daemon is restarted?

Hi,

when the named daemon is restarted or stopped due to some problems encountered internally, can traps/alarms be generated? And how?

Thanks...

1 REPLY 1
Marlou Everson
Trusted Contributor

Re: Traps generated when named daemon is restarted?

I haven't had many problems with named so I don't know about setting any traps. When named starts up it writes to syslog. You could write a script to check for named in syslog loading its configuration. To see if it has stopped or is still running, you could write a script and use ps to look for named or use the PID in /var/run/named.pid. Depending upon your version of BIND, you could do a rndc status to see if the server is up and running.

Marlou