Hi All,
We have configured DHCP Service in Nagios XI but we are getting an error message stating:
============================================================================
Error: Could not bind socket to interface eth0. Check your privileges...
================================================================================
Configuration:
============================
Please find the attachment.
=================================
The permissions for the plugin are as follows:
==============================================
-rwsrwxr-x 1 root nagios 211216 Jul 10 02:26 check_dhcp
==================================================
Even if i run the plugin command in the server i am getting the same error:
============================================
Moderator Note: Content removed per request
Error: Could not bind socket to interface eth0. Check your privileges...
Please help me in solving this issue.
Thanks in advance.
Regards,
Srinija.
Issue with DHCP Service
Re: Issue with DHCP Service
Without any additional input, check_dhcp will try to bind on eth0. Most Linux distributions moved to the Consistent Network Device Naming convention, which gives you an interface name similar to ens32, even on a machine with 1 NIC.
You will need to find out what the name of your network adapter is, and then in the $ARG1$ field, specify the network adapter. For example, if your adapter name is ens32, you would use -i ens32
You will need to find out what the name of your network adapter is, and then in the $ARG1$ field, specify the network adapter. For example, if your adapter name is ens32, you would use -i ens32
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!