Stratacom into cacti?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
hehe
Posts: 2
Joined: Mon Jun 26, 2006 7:29 am

Stratacom into cacti?

Post by hehe »

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
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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.
hehe
Posts: 2
Joined: Mon Jun 26, 2006 7:29 am

Post by hehe »

Code: Select all

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: Select all

<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?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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?
manaf
Cacti User
Posts: 68
Joined: Sun Apr 16, 2006 2:03 am

Post by manaf »

I got the solution to graph all IGX ports & trunks
crazy72
Posts: 17
Joined: Mon Sep 29, 2008 8:09 am

Post by crazy72 »

Can you post the solution ?

thanks a lot

Chris
manaf
Cacti User
Posts: 68
Joined: Sun Apr 16, 2006 2:03 am

Post by manaf »

this file contains the igx templates to graph the trunk and port usage for Cisco IGX
Attachments
IGX.rar
IGX templates
(9.5 KiB) Downloaded 133 times
crazy72
Posts: 17
Joined: Mon Sep 29, 2008 8:09 am

Post by crazy72 »

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
manaf
Cacti User
Posts: 68
Joined: Sun Apr 16, 2006 2:03 am

Post by manaf »

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
crazy72
Posts: 17
Joined: Mon Sep 29, 2008 8:09 am

Post by crazy72 »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests