I'm managing about 90 Fritzboxes that are running Freetz.
The main reason for Freetzing these boxes is the possibility to run the Zabbix agent on them.
When these routers are running this zabbix agent I can execute diagnostic commands on the Fritzbox that are initiated from the server.
I have written scripts in bash that will calculate the saturation of the DSL-connection and many other diagnostics that will inform me of a problem quite often sooner than that I get a call. Sometimes I have the problem fixed before they have called or while they are make the call. Anyhow, I can't imagine to be without it.
The system is constantly evolving as there is always stuff happening that could have been detected sooner.
One of these problems are rogue DHCP-servers. The Zabbix-server is monitoring much more than only these Fritzboxes. I also monitor Windows & Linux servers and switches if possible.
Our typical client is a small business without any IT personell and they are totally reliant on our services and help.
Quite often it happens that a 2nd DHCP-server appears in the network. This isn't always someone doing the wrong thing. This week there was a major power outage in Amsterdam and I later discovered that some routers of a popular cable provider suddenly had their DHCP-server turned on even though it was turned off several months ago. These DHCP-servers are turned off because these DHCP-server don't keep the static leases. Anyway....
I would really like to prevent this by adding this to monitoring. I thought of an UDP-scan which, I believe, is possible with tcpdump, but this would only work if the server is in the same network. I would also like to catch those Apple airports that have their DHCP-server turned on if they are connected wrong.
I found a piece of software which will probably give me all the means to pull this off, but I don't know how to convert this to a package. I would really appreciate it if someone could help me with this.
https://github.com/saravana815/dhtest/
edit: maybe this package can't be used (maybe it can). I'm open for suggestions. I noticed a reference to libnet (https://github.com/sam-github/libnet), but I can't compile it yet on an Ubuntu box, let alone for Freetz.
I don't even know yet how to use it in my scenario.
I can repay the favour to the community by describing exactly how I will use it as it needs a wrapper to give me the simple answer to the question if there is a 2nd DHCP-server.
The main reason for Freetzing these boxes is the possibility to run the Zabbix agent on them.
When these routers are running this zabbix agent I can execute diagnostic commands on the Fritzbox that are initiated from the server.
I have written scripts in bash that will calculate the saturation of the DSL-connection and many other diagnostics that will inform me of a problem quite often sooner than that I get a call. Sometimes I have the problem fixed before they have called or while they are make the call. Anyhow, I can't imagine to be without it.
The system is constantly evolving as there is always stuff happening that could have been detected sooner.
One of these problems are rogue DHCP-servers. The Zabbix-server is monitoring much more than only these Fritzboxes. I also monitor Windows & Linux servers and switches if possible.
Our typical client is a small business without any IT personell and they are totally reliant on our services and help.
Quite often it happens that a 2nd DHCP-server appears in the network. This isn't always someone doing the wrong thing. This week there was a major power outage in Amsterdam and I later discovered that some routers of a popular cable provider suddenly had their DHCP-server turned on even though it was turned off several months ago. These DHCP-servers are turned off because these DHCP-server don't keep the static leases. Anyway....
I would really like to prevent this by adding this to monitoring. I thought of an UDP-scan which, I believe, is possible with tcpdump, but this would only work if the server is in the same network. I would also like to catch those Apple airports that have their DHCP-server turned on if they are connected wrong.
I found a piece of software which will probably give me all the means to pull this off, but I don't know how to convert this to a package. I would really appreciate it if someone could help me with this.
https://github.com/saravana815/dhtest/
edit: maybe this package can't be used (maybe it can). I'm open for suggestions. I noticed a reference to libnet (https://github.com/sam-github/libnet), but I can't compile it yet on an Ubuntu box, let alone for Freetz.
I don't even know yet how to use it in my scenario.
I can repay the favour to the community by describing exactly how I will use it as it needs a wrapper to give me the simple answer to the question if there is a 2nd DHCP-server.
Zuletzt bearbeitet: