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.
Searched around for this and found similar, but not exact, issues like this. Tried those solutions but still having the problem.
I have a Fortigate firewall that is reporting Interface traffic stats. The Y axis is off by a factor of 100. (it says 1.6MB is passing but it's actually 160MB)
-I'm using 64bit counters and pasted the Graph debug below.
-Using SNMP v2 only.
-Installed on Ubuntu Linux
-CACTI version 1.2.7
It's been almost 15 years since I've worked on Linux...but I'll do my best to get you any extra information you need.
Have you done a verbose query to see what values you are getting back? You may actually have to put a graph into debug mode and see what values the poller is seeing. It's possible the firewall is giving out a value different to most other devices?
Having worked on Fortinets myself, confirm that the data you are receiving is bytes (capital B), not bits (lower case b). They do interchange these two a bit in their configurations.
Appreciate both replies....Tried both bits and bytes and it didn't seem to change, so I'm doing something wrong. I don't have the resources on hand to figure out exactly what/why/how, so I created a CDEF and applied it to the graphs that I'm working with. It's resolved the problem. now all of the graphs match what the Dashboard on the Fortigate shows. I have several more Fortigates and Cisco's to hook into this, (Cisco's will be on different graphs thankfully) so this should work.
Is this the right way to do it? Definitely not. I have 2 hours blocked out to resolve this after the new year. CACTI was a quick/easy way to get a good look at my network and now it's doing just that. Can't ask for more then that.
Glad to hear that you have been using it successfully, that's what we aim for. If you have a separate template for different device types, that is acceptable, though just means more maintenance when you want to update them all to a new layout or format. But it seems like you are aware of that already so it should be fine.
I noticed these issues in my Data Source Info Mode, but I don't have any graphs that are missing data so I'm confused: (maybe this is why the graphs were off in the first place) This is a new install, so I haven't been changing settings around/etc:
Required RRD step size is '60'
Number of rows for Cacti RRA id '0' should be '2900'
RRA 'cacti_1' missing in Cacti definition
RRA 'cacti_2' missing in Cacti definition
RRA 'cacti_3' missing in Cacti definition
Number of rows for Cacti RRA id '4' should be '2900'
RRA 'cacti_5' missing in Cacti definition
RRA 'cacti_6' missing in Cacti definition
RRA 'cacti_7' missing in Cacti definition
Number of rows for Cacti RRA id '8' should be '2900'
RRA 'cacti_9' missing in Cacti definition
RRA 'cacti_10' missing in Cacti definition
RRA 'cacti_11' missing in Cacti definition
Number of rows for Cacti RRA id '12' should be '2900'
RRA 'cacti_13' missing in Cacti definition
RRA 'cacti_14' missing in Cacti definition
RRA 'cacti_15' missing in Cacti definition
RRA '1' missing in Cacti definition
RRA '2' missing in Cacti definition
RRA '3' missing in Cacti definition
RRA '5' missing in Cacti definition
RRA '6' missing in Cacti definition
RRA '7' missing in Cacti definition
RRA '9' missing in Cacti definition
RRA '10' missing in Cacti definition
RRA '11' missing in Cacti definition
RRA '13' missing in Cacti definition
RRA '14' missing in Cacti definition
RRA '15' missing in Cacti definition
/usr/bin/rrdtool resize /opt/cacti/rra/fortigatenovi_traffic_in_94.rrd 0 GROW 2300
rename /opt/cacti/rra/resize.rrd to /opt/cacti/rra/fortigatenovi_traffic_in_94.rrd
/usr/bin/rrdtool resize /opt/cacti/rra/fortigatenovi_traffic_in_94.rrd 4 GROW 2300
rename /opt/cacti/rra/resize.rrd to /opt/cacti/rra/fortigatenovi_traffic_in_94.rrd
/usr/bin/rrdtool resize /opt/cacti/rra/fortigatenovi_traffic_in_94.rrd 8 GROW 2300
rename /opt/cacti/rra/resize.rrd to /opt/cacti/rra/fortigatenovi_traffic_in_94.rrd
/usr/bin/rrdtool resize /opt/cacti/rra/fortigatenovi_traffic_in_94.rrd 12 GROW 2300
rename /opt/cacti/rra/resize.rrd to /opt/cacti/rra/fortigatenovi_traffic_in_94.rrd
The bottom four commands can be run to address the issues that can be addressed. However, the missing data sources would indicate that you have data linked to an RRD ID that is not present within the file. If you don't need the older data, you could move this out of the way and let it be recreated.