duplicate SNMP Port field in form

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

Moderators: Developers, Moderators

Post Reply
shizzy
Posts: 5
Joined: Fri Feb 27, 2004 2:21 pm
Location: Milano - Italy

duplicate SNMP Port field in form

Post by shizzy »

Hi
i'm using 0.8.8b
when i create a new data template and select "GET SNNP Data" as
data input method input form show duplicate "SNMP Port" field

see screenshot
Clipboard01.jpg
Clipboard01.jpg (161.96 KiB) Viewed 1097 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: duplicate SNMP Port field in form

Post by BSOD2600 »

custom script/template too per chance?
shizzy
Posts: 5
Joined: Fri Feb 27, 2004 2:21 pm
Location: Milano - Italy

Re: duplicate SNMP Port field in form

Post by shizzy »

No , only with "GET SNNP Data"
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: duplicate SNMP Port field in form

Post by gandalf »

Please perform

Code: Select all

SELECT *
FROM `data_input_fields`
WHERE data_name = "snmp_port"
on your cacti database and post results.

Mine are as follows:

Code: Select all

id 	hash 	data_input_id 	name 	data_name 	input_output 	update_rra 	sequence 	type_code 	regexp_match 	allow_nulls
39	c1f36ee60c3dc98945556d57f26e475b 	2 	SNMP Port 	snmp_port 	in 		0 	snmp_port 		
40	fc64b99742ec417cc424dbf8c7692d36 	1 	SNMP Port 	snmp_port 	in 		0 	snmp_port 		
R.
shizzy
Posts: 5
Joined: Fri Feb 27, 2004 2:21 pm
Location: Milano - Italy

Re: duplicate SNMP Port field in form

Post by shizzy »

bingo , i have 3 entry in my db , not 2

Code: Select all

176 	c1f36ee60c3dc98945556d57f26e475b 	2 	SNMP Port 	snmp_port 	in 		0 	snmp_port 		
177 	fc64b99742ec417cc424dbf8c7692d36 	1 	SNMP Port 	snmp_port 	in 		0 	snmp_port 		
190 	d94caa7cc3733bd95ee00a3917fdcbb5 	1 	SNMP Port 	snmp_port 	in 		0 	snmp_port 		on
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: duplicate SNMP Port field in form

Post by gandalf »

Well, that's odd. Please don't ask me where this last entry stems from. It should not be part of the default install.
Before deleting this entry, I'd at least dump and save the database. And perhaps check the database schema http://docs.cacti.net/manual:088:99_ref ... ase_design beforehand
R.
shizzy
Posts: 5
Joined: Fri Feb 27, 2004 2:21 pm
Location: Milano - Italy

Re: duplicate SNMP Port field in form

Post by shizzy »

I have removed the strange entry in the db and nothing seem broken.
thank you
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest