Question

DHCP-Connection

  • 23 October 2023
  • 8 replies
  • 83 views

Badge +6

Hello,

I'm trying to set up the DHCP-Connection plugin which requests the interface.
However, I get this error 
UNKNOWN: cannot get interface address: No such device
I put the name of the interface under Windows Ethernet0 but I get the same message.
I don't know where to find the correct name for the interface. Could you help me?

Best regards,

 

 


8 replies

Userlevel 4
Badge +13

👋 @sadekalom 

 

Can you do a successful call to (x.x.x.x) your DHCP server

dhclient eth0 -s x.x.x.x

side note

https://learn.microsoft.com/en-us/windows-server/troubleshoot/troubleshoot-problems-on-dhcp-server

Badge +6

👋 @sadekalom 

 

Can you do a successful call to (x.x.x.x) your DHCP server

dhclient eth0 -s x.x.x.x

side note

https://learn.microsoft.com/en-us/windows-server/troubleshoot/troubleshoot-problems-on-dhcp-server

hello @ponchoh thank you for your response, i tried this command from centreon poller to dhcp server.

i got this 

 

Badge +2

Hello,

You should type “ip addr” to have the good device name.

 

Badge +6

Hello,

You should type “ip addr” to have the good device name.

 

The DHCP server is a Windows VM

Badge +6

Hello,

You should type “ip addr” to have the good device name.

 

The DHCP server is a Windows VM

i did “ipconfig /all”

what name to set instead of eth0?

Badge +2

It might be Ethernet0, but I’m not sure.

I think it could also be the ethernet (or virtual ethernet) device on your central centreon server, that’s why I thought about the command ip addr ;)

Badge +6

It might be Ethernet0, but I’m not sure.

I think it could also be the ethernet (or virtual ethernet) device on your central centreon server, that’s why I thought about the command ip addr ;)

already tried “ethernet0” got the same message

Userlevel 4
Badge +13

Hi, the command 

`ip a`

from the central should give you the correct eth

Reply