|
|
| Author |
Message |
hehe
Joined: 26 Jun 2006 Posts: 2
|
Posted: Mon Jun 26, 2006 7:35 am Post subject: Stratacom into cacti? |
|
|
Hello,
I have been trying to add some cacti graphs for stratacom eq. The OID's start with 1.3.6.1.4.1.351.100.4.2.1.2. I have created a proper data source so that i can snmpwalk the stratacom, but i cannot get any graphs produced. Has anyone had such problem with stratacom eq and cacti before?
Thanks in advance
|
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 6876 Location: WA, USA
|
Posted: Mon Jun 26, 2006 10:48 am Post subject: |
|
|
| Did you create a data template or just a data source with the OID(s) hardcoded in? If the latter, then its likely you didn't use the correct OID. Enable debugging logging in cacti for a cycle and see what the error(s) are.
|
|
| Back to top |
|
 |
hehe
Joined: 26 Jun 2006 Posts: 2
|
Posted: Tue Jun 27, 2006 1:37 am Post subject: |
|
|
| Code: | Data Query Debug Information
+ Running data query [13].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/igx_traffic.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.351.100.4.1.1.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.351.100.4.1.1.1.1'
+ Found item [ifIndex='7010000'] index: 7010000 [from value]
+ Found item [ifIndex='7020000'] index: 7020000 [from value]
+ Found item [ifIndex='7030000'] index: 7030000 [from value]
+ Found item [ifIndex='7040000'] index: 7040000 [from value]
+ Found item [ifIndex='7050000'] index: 7050000 [from value]
+ Found item [ifIndex='8010000'] index: 8010000 [from value]
+ Found item [ifIndex='8020000'] index: 8020000 [from value]
+ Found item [ifIndex='8030000'] index: 8030000 [from value]
+ Found item [ifIndex='8040000'] index: 8040000 [from value]
+ Found item [ifIndex='8050000'] index: 8050000 [from value]
+ Found item [ifIndex='8060000'] index: 8060000 [from value]
+ Found item [ifIndex='8070000'] index: 8070000 [from value]
+ Found item [ifIndex='8080000'] index: 8080000 [from value]
+ Found item [ifIndex='12010000'] index: 12010000 [from value]
+ Found item [ifIndex='12020000'] index: 12020000 [from value]
+ Found item [ifIndex='12030000'] index: 12030000 [from value]
+ Found item [ifIndex='12040000'] index: 12040000 [from value]
+ Found item [ifIndex='12050000'] index: 12050000 [from value]
+ Found item [ifIndex='12060000'] index: 12060000 [from value]
+ Found item [ifIndex='12070000'] index: 12070000 [from value]
+ Found item [ifIndex='12080000'] index: 12080000 [from value]
+ Found item [ifIndex='13010000'] index: 13010000 [from value]
+ Found item [ifIndex='13020000'] index: 13020000 [from value]
+ Found item [ifIndex='13030000'] index: 13030000 [from value]
+ Found item [ifIndex='13040000'] index: 13040000 [from value]
+ Found item [ifIndex='13060000'] index: 13060000 [from value]
+ Found item [ifIndex='13070000'] index: 13070000 [from value]
+ Found item [ifIndex='13080000'] index: 13080000 [from value]
+ Found item [ifIndex='14040000'] index: 14040000 [from value]
+ Found item [ifIndex='14060000'] index: 14060000 [from value]
+ Found item [ifIndex='15010000'] index: 15010000 [from value]
+ Found item [ifIndex='15020000'] index: 15020000 [from value]
+ Found item [ifIndex='15030000'] index: 15030000 [from value]
+ Found item [ifIndex='15040000'] index: 15040000 [from value]
+ Found item [ifIndex='15050000'] index: 15050000 [from value]
+ Found item [ifIndex='15060000'] index: 15060000 [from value]
+ Found item [ifIndex='15070000'] index: 15070000 [from value]
+ Found item [ifIndex='15080000'] index: 15080000 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.351.100.4.1.1.1.8'
+ Found item [ifOperStatus='1'] index: 7010000 [from value]
+ Found item [ifOperStatus='1'] index: 7020000 [from value]
+ Found item [ifOperStatus='1'] index: 7030000 [from value]
+ Found item [ifOperStatus='1'] index: 7040000 [from value]
+ Found item [ifOperStatus='1'] index: 7050000 [from value]
+ Found item [ifOperStatus='1'] index: 8010000 [from value]
+ Found item [ifOperStatus='1'] index: 8020000 [from value]
+ Found item [ifOperStatus='1'] index: 8030000 [from value]
+ Found item [ifOperStatus='1'] index: 8040000 [from value]
+ Found item [ifOperStatus='1'] index: 8050000 [from value]
+ Found item [ifOperStatus='1'] index: 8060000 [from value]
+ Found item [ifOperStatus='1'] index: 8070000 [from value]
+ Found item [ifOperStatus='1'] index: 8080000 [from value]
+ Found item [ifOperStatus='1'] index: 12010000 [from value]
+ Found item [ifOperStatus='1'] index: 12020000 [from value]
+ Found item [ifOperStatus='1'] index: 12030000 [from value]
+ Found item [ifOperStatus='6'] index: 12040000 [from value]
+ Found item [ifOperStatus='1'] index: 12050000 [from value]
+ Found item [ifOperStatus='1'] index: 12060000 [from value]
+ Found item [ifOperStatus='1'] index: 12070000 [from value]
+ Found item [ifOperStatus='6'] index: 12080000 [from value]
+ Found item [ifOperStatus='1'] index: 13010000 [from value]
+ Found item [ifOperStatus='1'] index: 13020000 [from value]
+ Found item [ifOperStatus='1'] index: 13030000 [from value]
+ Found item [ifOperStatus='1'] index: 13040000 [from value]
+ Found item [ifOperStatus='1'] index: 13060000 [from value]
+ Found item [ifOperStatus='1'] index: 13070000 [from value]
+ Found item [ifOperStatus='1'] index: 13080000 [from value]
+ Found item [ifOperStatus='6'] index: 14040000 [from value]
+ Found item [ifOperStatus='6'] index: 14060000 [from value]
+ Found item [ifOperStatus='1'] index: 15010000 [from value]
+ Found item [ifOperStatus='1'] index: 15020000 [from value]
+ Found item [ifOperStatus='1'] index: 15030000 [from value]
+ Found item [ifOperStatus='1'] index: 15040000 [from value]
+ Found item [ifOperStatus='1'] index: 15050000 [from value]
+ Found item [ifOperStatus='1'] index: 15060000 [from value]
+ Found item [ifOperStatus='1'] index: 15070000 [from value]
+ Found item [ifOperStatus='1'] index: 15080000 [from value]
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/igx_traffic.xml'
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/igx_traffic.xml'
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/igx_traffic.xml'
|
The data source
| Code: | <interface>
<name>Get SNMP Interfaces</name>
<description>Queries a host for a list of monitorable interfaces</description>
<oid_index>.1.3.6.1.4.1.351.100.4.1.1.1.1</oid_index>
<index_order>ifIndex</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<ifIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.351.100.4.1.1.1.1</oid>
</ifIndex>
<ifOperStatus>
<name>Status</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.351.100.4.1.1.1.8</oid>
</ifOperStatus>
<ifInOctets>
<name>Bytes In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.351.100.4.2.1.2.1.1</oid>
</ifInOctets>
<ifOutOctets>
<name>Bytes Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.351.100.4.2.1.2.1.3</oid>
</ifOutOctets>
</fields>
</interface>
|
For Data template, i used the existing Interface-Traffic one. Should it not work?
|
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 6876 Location: WA, USA
|
Posted: Tue Jun 27, 2006 10:36 am Post subject: |
|
|
| In the 'create graphs for this host' screen, do you see valid data for your stratacom device? If so, enable debugging logging in cacti for a polling cycle. Do you see cacti returning valid data from your stratacom device?
|
|
| Back to top |
|
 |
manaf Cacti User
Joined: 16 Apr 2006 Posts: 50
|
Posted: Mon Apr 09, 2007 4:36 am Post subject: |
|
|
| I got the solution to graph all IGX ports & trunks
|
|
| Back to top |
|
 |
crazy72
Joined: 29 Sep 2008 Posts: 17
|
Posted: Thu Nov 13, 2008 5:53 am Post subject: |
|
|
Can you post the solution ?
thanks a lot
Chris
|
|
| Back to top |
|
 |
manaf Cacti User
Joined: 16 Apr 2006 Posts: 50
|
Posted: Fri Nov 14, 2008 6:22 am Post subject: |
|
|
this file contains the igx templates to graph the trunk and port usage for Cisco IGX
| Description: |
|
 Download |
| Filename: |
IGX.rar |
| Filesize: |
9.5 KB |
| Downloaded: |
15 Time(s) |
|
|
| Back to top |
|
 |
crazy72
Joined: 29 Sep 2008 Posts: 17
|
Posted: Fri Nov 14, 2008 1:05 pm Post subject: |
|
|
Thanks a lot, but I need another help to install them.
Rar file contains 5 files:
I've imported 3 files using import templates utility:
cacti_data_query_snmp
cacti_data_template_igx_trunk_traffic.xml
cacti_graph_template_igx_trunk_traffic_bitssec.xml
After the import I received some error of unmet dependencies. on some lines.
Did you select include dependencies during the export process ?
Anyway copied others 2 under resource/snmp_queries directory
After this I created manually 2 query pointing it to cacti_data_query_snmp_interface_statistics and to IGX_port Interface
but I think there is something wrong because graphs are not plotted and cacti_data query is not providing me any results.
And what's about frameRelay ? I saw that there is another oid where there are fr interfaces
.1.3.6.1.4.1.351.100.4.2.4.1.1.9
Can you help me step by step ?
thanks a lot
Chris
|
|
| Back to top |
|
 |
manaf Cacti User
Joined: 16 Apr 2006 Posts: 50
|
Posted: Fri Nov 14, 2008 6:07 pm Post subject: |
|
|
i made these templates 3 years ago while i was using IGX in my company so i barely remember what i did!!!
anyway i will try to help as much as i can..
u only have to do is to import the files
cacti_data_query_snmp_interface_statistics_igx.xml
cacti_data_template_igx_trunk_traffic.xml
cacti_graph_template_igx_trunk_traffic_bitssec.xml
and copy the other 2 files to resource/snmp_queries
in "Data Queries" go to "SNMP - Interface Statistics - IGX" and in "In/Out Bits - IGX" correct the Data Source fields.
.1.3.6.1.4.1.351.100.4.2.4.1.1.9 is oid to graph fr ports on IGX
|
|
| Back to top |
|
 |
crazy72
Joined: 29 Sep 2008 Posts: 17
|
Posted: Fri Nov 14, 2008 6:26 pm Post subject: |
|
|
Thx a lot Manaf, but I receive an error importing templates.
Omitted dependencies.
This could be due to different version of Cacti or maybe you not selected including dependencies during export.
I will work on xml to try to find where is the problem.
If you can, can you export them again ?
Thanks a lot
Chris
|
|
| Back to top |
|
 |
|