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 (unfortunately) still deal with quite a few managed hubs (in this case the Cisco Fasthub 424M) that can't really be monitored via the interface MIB. However they do present good info in their RMON MIB.
These templates (and a query based on the "interface.xml" query) should allow for creating graphs for any device that supports the standard RMON Group 1 Ethernet statistics MIB (from RFC 2819).
The design of the templates is not ideal and there's an unused field on the traffic data source template since it's copied straight from the bundled interfaces template.
I've never actually imported a template myself - so hopefully this is everything you need.
when i try to import files, I have errors on several files which are binary files instead of xml
what 's wrong ?
thanks
Luc
stevew wrote:I (unfortunately) still deal with quite a few managed hubs (in this case the Cisco Fasthub 424M) that can't really be monitored via the interface MIB. However they do present good info in their RMON MIB.
These templates (and a query based on the "interface.xml" query) should allow for creating graphs for any device that supports the standard RMON Group 1 Ethernet statistics MIB (from RFC 2819).
The design of the templates is not ideal and there's an unused field on the traffic data source template since it's copied straight from the bundled interfaces template.
I've never actually imported a template myself - so hopefully this is everything you need.
I'm very interested in this Cacti script, and have imported all the files into v0.8.6f on Windows. All imported ok, but the data query for the RMON Stats says 'Could not locate XML file'.
The query file (as imported) is named;
cacti_data_query_rmon_interface_statistics.xml
Yet the script being referenced in the data query is;
rmon-grp1-etherstats.xml
I have tried renaming the script, but Cacti still says it cannot be located.
i had the same problem than tman but when i changed file name, it was OK
me i have another problem
i create a device and in associated data queries, i choose "Rmon Interface Statistics"
in status of this data query i have Success [0 items , 0 rows]. I think this result is not normal
when i want to create a graph, i have these lines :
Warning: reset(): Passed variable is not an array or object in cacti_path\graphs_new.php on line 534
Warning: Variable passed to each() is not an array or object in cacti_path\graphs_new.php on line 535
Data Query [RMON - Interface Statistics]
Warning: reset(): Passed variable is not an array or object in cacti_path\graphs_new.php on line 610
Warning: Variable passed to each() is not an array or object in cacti_path\graphs_new.php on line 611
and :
This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode to get more information.
if i choose to run this data query in debug mode, page load but nothing happen
Ok, sorted out the XML file location problem, but when I add the data query to the device, I now get the following errors;
Notice: Undefined index: oid_index in C:\Inetpub\wwwroot\cacti\lib\data_query.php on line 156
Notice: Undefined index: oid_index in C:\Inetpub\wwwroot\cacti\lib\data_query.php on line 159
Warning: Variable passed to each() is not an array or object in C:\Inetpub\wwwroot\cacti\lib\data_query.php on line 513
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\cacti\lib\data_query.php:156) in C:\Inetpub\wwwroot\cacti\host.php on line 110
Not quite the same as a2line59, but it isn't working!
Renaming cacti_data_query_rmon_interface_statistics.xml to the referenced file does not help, because that file is not the file supposed to be placed at <path_cacti>/resource/snmp_queries/rmon-grp1-etherstats.xml . It has a totally different structure...
Unfortunately our friend stevew forget to include the real rmon-grp1-etherstats.xml in the package...
All of the scripts work, but you need to manually copy the attached file to <path_cacti>/resource/snmp_queries/rmon-grp1-etherstats.xml.
Errors, All/Multicast/Broadcast, and packet distribution work for me. I have not tested inBits, it is just stupid to use if you have data from the Interface MIB to plot (for example on switches).
Errors show collisions and fragments on half-duplex switch ports, which is the way half-duplex Ethernet works (these are not errors but the way of life for half-duplex), other errors are considered real errors, if you see any you should find the cause.
Packet distribution seems to be consistent also...
Good work Sarge. I was a bit narked when these templates wouldn't initially work, but your mods have allowed me to import them all fine.
I have one problem with this now, and it appears to be just these templates, in that the RRD files won't create for them! Weird or what. I've added another (different) script after these, associated it with a host, and the RRD file appeared ok. I'm really not sure why they won't for this!
monkranter wrote:Every time I try to import these files I get the following error message:
Error: XML: Cacti version does not exist.
Anybody see this before?
Hi
you have to use at least the same version than stevew
What version of Cacti are you using ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]