Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Bind Integration with Network monitoring tool

Jean Samarani
Frequent Advisor

Bind Integration with Network monitoring tool

Hi Community,

I would like to ask you if it's possible to integrate Bind with a Network monitoring tool. For example, in case the named process was stopped, the system will send SNMP traps.

if yes, could you please provide any documentation how to do it?

P.S: The system is already running snmpd daemon and alarms are being sent for example when one of the network cable is removed.

thanks a lot for your support!
6 REPLIES
Horia Chirculescu
Honored Contributor

Re: Bind Integration with Network monitoring tool

Hello, Jan.

UCS-snmp have an utility called snmpconf.
(man snmpconf)

Run this utility:

snmpconf -g

and select the option that will create snmpd.conf.

Then select the section referring to "Monitor Various Aspects of the Running Host" then specify the process that should be running.

Best regards
Horia.
Best regards from Romania,
Horia.
Jean Samarani
Frequent Advisor

Re: Bind Integration with Network monitoring tool

Hi Horia,

I don't have this utility installed on my machine. Is there any other way to do it ?

could you please advise ?

thanks a lot!

Jean
Horia Chirculescu
Honored Contributor

Re: Bind Integration with Network monitoring tool

You should try to check if proc directive is supported.

Here is the corresponding section of UCD-snmp configuration file:



#############################################
# SECTION: Monitor Various Aspects of the Running Host
#
# The following check up on various aspects of a host.

# proc: Check for processes that should be running.
# proc NAME [MAX=0] [MIN=0]
#
# NAME: the name of the process to check for. It must match
# exactly (ie, http will not find httpd processes).
# MAX: the maximum number allowed to be running. Defaults to 0.
# MIN: the minimum number to be running. Defaults to 0.
#
# The results are reported in the prTable section of the UCD-SNMP-MIB tree
# Special Case: When the min and max numbers are both 0, it assumes
# you want a max of infinity and a min of 1.

proc named 1 1

############################################


Best regards,
Horia.
Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: Bind Integration with Network monitoring tool

Read the docs:

http://www.net-snmp.org/docs/man/snmpd.conf.html


Section: "Process Monitoring" (Search about "proc")

Best regards from Romania,
Horia.
Best regards from Romania,
Horia.
Jean Samarani
Frequent Advisor

Re: Bind Integration with Network monitoring tool

Nice to know that you are in romania :)

I got the below message in the log file when I have introduced the parameter proc in the configuration file. So could we conclude that it's not supported?

Ignoring unknown record type: proc named 1 1
at line 1233 in file /view/build_EA4.2/DE/snmpr/se clib/scanfile.c
Horia Chirculescu
Honored Contributor

Re: Bind Integration with Network monitoring tool

>So could we conclude that it's not supported?

Yes, this would be a fair conclusion.

Try to install net-snmp from:

http://sourceforge.net/projects/net-snmp/files/net-snmp/5.6.1/

Try this on a test server (in order to find out if all the traps are working as expected).

Best Regards,
Horia.
Best regards from Romania,
Horia.