A company asked me to analyze some of their network traffic to verify some of the projects they are working on to cut costs won’t impact their business. One of the projects includes removing a 100 Mbps fiber connection to their colocation and replacing it with a cable modem that is asynchronous with 50 Mbps download and 5 Mbps upload. Unfortunately they do not have any solid historical network data capture software such as Cacti so before setting up such a service I had to provide initial data via what was available. One of the tools I was able to use was the dashboard data that lives in memory on their FortiGate 200A. Below is information on where to find this information in the FortiGate 200A dashboard.
I was contacted by a client last week regarding a monitoring server they have deployed. One of the applications they have gathering data from this server is Cacti. Anyhow they were able to login to Cacti but the graphs were not displaying. After logging into the server, which is running CentOS Linux, I saw the error clearly in the Litespeed logs. Below I describe the error in more detail as well as how to resolve this problem if you run into it.
Nagios is a great solution for monitoring hosts, networks, and services on one or more networks. Nagios will monitor as many services as needed per device and then will send an alarm if one or more services has an issue. By default Nagios monitors a bunch of services such as ICMP, HTTP, etc. but can easily be expanded by the use of plugins and other community based open source development projects where code is developed for a specific need and then shared with the development community.
How do I create Cacti Graph Templates? How do I display multiple data sources on one Cacti graph? What do all the Cacti options mean? What is a CDEF? I created a Cacti Graph but all of my data sources are displaying NAN, how do I troubleshoot that?
Cacti is a powerful RRDTool based graphing system typically used for graphing hardware and software data for historical reference. When I initially configured a Cacti Graph Template I found some of the options confusing but as you will see below they all make sense and typically the name explains each items function in a fairly easy way. Please post a comment if you have any further questions that are not answered or if I have made any answers feel free to use the contact form and point them out to me as I am trying to learn the best way to use Cacti just like everyone else. I repeat the same terms many times in this document simply for the fact to try and explain in detail what things mean. I did not want to start switching names with acronyms and vice verse to add confusion and to try and make this a very easy document to understand.
Creating multiple cacti graphs using the same script is really easy. It took me a minute to realize it but if your script input values then you can just click the “Create Graph” drop down and create multiple of any graph you have configured. See the two images below that show how to do this visually.