Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I put my templates for graph dhcp3-server under Linux
I give you a little howto for the installation/configuration on your dhcp3 server and on your cacti server.
Good Luck
EDIT : Correction of the error recovery by andreukit, thanks
Hi Tosage,
in your howto you mention some cacti graph templates (cacti_graph_template_dhcpd_-_shared_network_state.xml and cacti_graph_template_dhcpd_-_network_state.xml) but dont specify where to find them.
Can you let me know?
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
perdonar que escriba en español, pero mi ingles es muy malo y no soy capaz de hacer funcionar estas gráficas.
Necesito urgentemente monitorizar el estado de los DHCP's de mi red. ¿Alquien me podria hechar una mano?.
I put my templates for graph dhcp3-server under Linux
I give you a little howto for the installation/configuration on your dhcp3 server and on your cacti server.
Good Luck
EDIT : Correction of the error recovery by andreukit, thanks
EDIT2 : Put the Zip with the two Graph Template and Data Queries, i had forgotten :/
Thank you for these scripts! I only have 1 tiny problem, the SNMP doesn't return all the pools to my cacti.
In my dhcpstats.csv I got 253 unique IP ranges. But when I try to get them via SNMP I only get 164.
Even tried checking it manually via cli on my cacti hos:
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
Sorry to necro this thread, however I'm trying to implement the dhcpd-snmp method of getting statistics back on my Linux DHCP Server. I have the script working, and the values are coming in via SNMP when requested.
The problem is that the graph is adding the data as kilobytes instead of the real numbers. For example: If the number of addresses in the pol is 4096, it is added to the graph as 4.09k.
I've tried setting the GPRINT to Exact Number, and that does not solve the issue. Does anyone know what I can do to correct this?
Normally there is the value to change for each item.
Graph Template items.png (30.42 KiB) Viewed 5092 times
I test on my installation now and I could see the changes in real time (after a refresh of my web page )
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
@sdankner : Sorry to reply so late, your Gprint Preset Exact Numbers as below :
You can find it in Graph Management - Gprint Presets
%8.0lf
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
gymmarn wrote:
In my dhcpstats.csv I got 253 unique IP ranges. But when I try to get them via SNMP I only get 164.
Even tried checking it manually via cli on my cacti hos:
Same happens to me.
It's due a sort OID mechanism in dhcp-network-stat.pl.
If you have'nt more than 10 pools, nothing happens, but if you have more than ten:
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
I've downloaded your much appreciated scripts and templates. I've got snmp output, except cacti isn't graphing yet (the rrd file isn't created).
So far I've followed your "HOWTO - Installation.txt" to the letter. The part in the "HOWTO" that confuses me, is action number 8, to go to Devices -> DHCP host -> Add Graph Template (which is what I assume is you advise us to do). In the manual it says:
Go on your DHCPD Server, select DHCPD Network if you want graph one or more network and Verbose.
If you want graph all your Shared Network, select DHCPD Shared Network and verbose
Click on Create Graphs for this host and select what you want graph.
I can't choose "Verbose" when adding a Graph Template. But when I choose one or both "DHCPD - Shared Network State" or "DHCPD - Network State" templates, I need to enter something:
add_graph_template.png (20.96 KiB) Viewed 4344 times
Maybe is not "clear" in my HOW TO but to activate the dhcpd template you need to :
1 - Import all zipped xml in your CACTI server
2 - Put all perl script in your dhcpd server, etc...
3 - In the front-end Cacti, go in the sub menu Devices and enter in your dhcpd server
4 - In Associated Data Queries section, select the data query DHCPD - Network State or DHCPD - Shared Network State
5 - Click on Verbose to see if it's works (you should wait a few minutes that scripts are do theirs jobs)
David
PS : Sorry, my english is what it is
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7