Aram
August 28, 2024, 1:14pm
2
Yes, there are multiple ways of achieving this. Here’s perhaps a simple example relevance that returns the IP address, and DHCP vs. Static designation (on Windows devices):
(address of it, (if dhcp enabled of it then "DHCP" else "Static")) of adapters whose (exists address of it AND NOT loopback of it) of network
You can easily find potential native inspectors via the search on our Developer site: https://developer.bigfix.com/relevance/search/?query=dhcp (in this case, I searched for dhcp)
Here are also some other examples I found on the Forum that might be of interest:
Hi,
Was wondering is there a way I can query all the client network adapters connection name that has the DHCP set to disable. I try using this relevance but it is showing me the description name and those that are enable.
Q:(description of it & " - " & address of it as string ) of adapters whose (dhcp enableds of it) of network
A:Red Hat VirtIO Ethernet Adapter - 192.168.122.66
This relevance will show the connection name
Q:(name of item 0 of it & " - " & (address of item 1 of it as string)…
Hi All,
Need to know the hostname and IP addresses of all servers where Dynamic IP address are assigned. Note:-All servers which are getting IP from DHCP.
Can anyone please help me with the logical relevance for the same.
Regards,
Manish Singh
1 Like