Hello,
I comming for helping with a notification configuration.
I am looking to create a notification when a mac and ip address does not match a dhcp server
I have a host group so the IP address is assigned by a dhcp server. I install arpwatch (linux utility) for watch the équipement in this group. This utility can record all new équipement in a text file with the ip and mac address. I have make the same record with the dhcp.
When i have good understand i must create a item in the host and i must create a used parameter . The user parameter that i would make is :
But i’m loose can someone help me to explain to make the mail notification with this query ?
Thank you
I comming for helping with a notification configuration.
I am looking to create a notification when a mac and ip address does not match a dhcp server
I have a host group so the IP address is assigned by a dhcp server. I install arpwatch (linux utility) for watch the équipement in this group. This utility can record all new équipement in a text file with the ip and mac address. I have make the same record with the dhcp.
When i have good understand i must create a item in the host and i must create a used parameter . The user parameter that i would make is :
Code:
user parameter = mysql -u user -p SELECT * FROM fichierdat WHERE fichierdat.adresse_ip NOT IN (SELECT dhcp.adresse_ip FROM dhcp)
Thank you
Comment