Hi timi,
I am willing to use your templates to graph our devices.
Unfortunately I've faced some problems, couple them i was able to resolve by myself.
Firs of all there was a problem in Your Data templates with naming. All data sources have been generating with same string and I've got lots of Data Sources with exact same name (see the picture).
Iv'e fixed that by changing the name field Data Template.
For example for template "Juniper DOM RX Optical Monitor" I've changed name field to
Code:
|host_description| - RX Power - |query_ifName|
and this gave me more descriptive naming for Data Sources.
Another problem I've faces is related to perl script You wrote.
Particularly when i was trying to graph "Juniper MX960 Interface COS Queue Drop", the verbose query gave me:
Code:
+ Running data query [11].
+ Found type = '4' [Script Query].
+ Found data query XML file at '/opt/cacti-0.8.8a/resource/script_queries/juniper_intcos.xml'
+ XML file parsed ok.
+ <arg_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting arg_index entries
+ Executing script for list of indexes 'perl /opt/cacti-0.8.8a/scripts/junipercos.pl 10.16.16.22 BGP/
[email protected] index' Index Count: 0
+ Executing script query 'perl /opt/cacti-0.8.8a/scripts/junipercos.pl 10.16.16.22 BGP/
[email protected] query index'
+ Executing script query 'perl /opt/cacti-0.8.8a/scripts/junipercos.pl 10.16.16.22 BGP/
[email protected] query desc'
+ Executing script query 'perl /opt/cacti-0.8.8a/scripts/junipercos.pl 10.16.16.22 BGP/
[email protected] query ifname'
+ Executing script query 'perl /opt/cacti-0.8.8a/scripts/junipercos.pl 10.16.16.22 BGP/
[email protected] query ifalias'
+ Executing script query 'perl /opt/cacti-0.8.8a/scripts/junipercos.pl 10.16.16.22 BGP/
[email protected] query iftype'
when I've tried to launch:
Code:
perl /opt/cacti-0.8.8a/scripts/junipercos.pl 10.16.16.22 BGP/
[email protected]manually I've got no output.
As You can see from community "BGP/
[email protected]" i am trying to get statistics from juniper's logical-system BGP's default routing instance and i guess symbols "/" and "@" are causing troubles.
Sure enough if i am querying the main instance with community "cactirocommunity" i am getting interfaces just fine.
And finally, just as a suggestion, it will be great to have all these with snmpv3 authentication also.
Please give me a clue with my problems, and thanks for great job!
P.S.
Just for info: I am using Ubuntu 12.04.2 LTS
P.P.S. Let me know if You need anything more.
Thanks in advance.