Support for Draytek Vigor 2200E

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

kaZu
Posts: 2
Joined: Tue Aug 16, 2005 6:16 am

Support for Draytek Vigor 2200E

Post by kaZu »

Hello,

i am using cacti (latest version) and everything is working fine.

but now i want to monitor my Router (Draytek Vigor 2200E). Cacti is able to contact it's device through snmp, but there aren't any graphs.

debugging-mode is telling me, that data source is creating the rrd-file, but graph debug tells, the rrd file is missing.

--> I want to monitor the bandwidth of wan device <--

properly it doesn't work because of there are some differences between data sources of draytec and other devices, e.g. draytek ata source has no index type and no output type value.

I am also able to monitor the draytek router via prtg (www.paessler.com), a small windows application, but cacti doesn't like my draytek :(

do you have any idea what i should do?

thanks kazu
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Does cacti consider the device up or down?
2) Does verbose query on the interfaces show any data?
dadek
Posts: 1
Joined: Fri Nov 04, 2005 6:24 pm

Same problem

Post by dadek »

I have the same problem.
When i run the data query of interface statics, i get a list of the available ports, but when i add them to my graphs I don't get a graph! It keep empty....
(I've run the poller once!)

Also i didn't find some xml files to import.....

Thanks!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

dadek, the same questions I asked kaZu apply to you.

I suggest you read the guide in my signature.
User avatar
dust2k
Cacti User
Posts: 101
Joined: Sun Dec 04, 2005 3:14 am

Post by dust2k »

I do graphs on my Billion 7402VGO ADSL Router and it works fine, can monitor ADSL PPP interface, LAN Enthernet ,Wireless, bridge, CPU, SNR and attenuation.
Conz
Posts: 19
Joined: Thu Apr 28, 2005 3:00 am

Post by Conz »

did anyone get this fixed ?
I'm using the 0.8.6h version on linux but i ran into this one on the win32 forum so i guess its platform independend.
Cacti hates my 2200E also, mrtg does work though.
It should give 2 working interfaces as far as i know.
Device is listed as up.
Mrtg has data on the following 2 interfaces from the cfg:
### Interface 1 >> Descr: 'Ethernet0' | Name: '' | Ip: '' | Eth: '30-30-2e-35-30-2e-37-46-2e-30-32-2e-36-39-2e-34-00-00-00-16-78
-29' ###
Target[<ip>_1]: 1:public@<ip>:
~~~
### Interface 4 >> Descr: 'Ethernet1' | Name: '' | Ip: '' | Eth: '30-30-2e-35-30-2e-37-46-2e-30-32-2e-36-39-2e-34-00-00-00-16-00
-00' ###
Target[<ip>_4]: 4:public@<ip>:

Verbose query:
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='1'] index: 1 [from value]
+ Found item [ifOperStatus='1'] index: 2 [from value]
+ Found item [ifOperStatus='1'] index: 3 [from value]
+ Found item [ifOperStatus='1'] index: 4 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='Ethernet0'] index: 1 [from value]
+ Found item [ifDescr=''] index: 2 [from value]
+ Found item [ifDescr=''] index: 3 [from value]
+ Found item [ifDescr='Ethernet1'] index: 4 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Found item [ifName='End of MIB'] index: End of MIB [from value]
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Found item [ifAlias='End of MIB'] index: End of MIB [from value]
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='6'] index: 1 [from value]
+ Found item [ifType='0'] index: 2 [from value]
+ Found item [ifType='0'] index: 3 [from value]
+ Found item [ifType='6'] index: 4 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='100000000'] index: 1 [from value]
+ Found item [ifSpeed='0'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Found item [ifSpeed='10000000'] index: 4 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr='30:30:2E:35:30:2E:37:46:2E:30:32:2E:36:39:2E:34:00:00:00:16:78:29'] index: 1 [from value]
+ Found item [ifHwAddr=''] index: 2 [from value]
+ Found item [ifHwAddr=''] index: 3 [from value]
+ Found item [ifHwAddr='30:30:2E:35:30:2E:37:46:2E:30:32:2E:36:39:2E:34:00:00:00:16:00:00'] index: 4 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Conz:
1) What versions of everything are you using?
2) what snmp version for that device?
3) In devices, cacti considers it up?
4) Looking in the cacti log when in debug mode, what do you see when cacti polls your device?
Conz
Posts: 19
Joined: Thu Apr 28, 2005 3:00 am

Post by Conz »

BSOD2600 wrote:Conz:
1) What versions of everything are you using?
2) what snmp version for that device?
3) In devices, cacti considers it up?
4) Looking in the cacti log when in debug mode, what do you see when cacti polls your device?
ugh

1) fedora core 4, snmp version is 5.something, php 5, using snmp v1 protocol (if you really want to know the version of *everything* then i wont be done till tommorow :lol: )
2) the device is snmpv1 only.
3) yes, considered up, cacti can get snmp info for the device also and it adds a few nic's, they just stay empty.
4)
from cacti.log
01/12/2006 12:06:05 AM - CMDPHP: Poller[0] Host[5] DS[54] WARNING: Result from SNMP not valid. Partial Result:
01/12/2006 12:06:05 AM - CMDPHP: Poller[0] Host[5] DS[54] WARNING: Result from SNMP not valid. Partial Result:
from debug:
cacti]# php poller.php | grep kabel
01/12/2006 12:22:22 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/kabel_router_traffic_in_54.rrd --template traffic_out:traffic_in 1137021740:U:U
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Looks like the SNMP OID you're using is not correct. use snmpwalk and find the correct one.
Conz
Posts: 19
Joined: Thu Apr 28, 2005 3:00 am

Post by Conz »

I know i need interface 1 and 4 and those are the ones cacti is supposed to monitor.
It doesnt respond any different then any other snmp network device exept that it has 2 phantom interfaces and only provides basic info.
What i did notice is that cacti does not grey out interfaces which it is allready graphing like other hosts.
It also lists 'End of MIB' as a network interface which is somewhat odd.
User avatar
rhamburg
Posts: 14
Joined: Mon Dec 05, 2005 8:18 am

Post by rhamburg »

Got it sorted perhaps ?

I have exactly the same issues.
onesj
Posts: 8
Joined: Mon Sep 24, 2007 1:22 pm
Location: Manchester, UK

Post by onesj »

I too have the same issue.

Running cacti 0.8.6j
Windows 2000 Server
php version 4.x


Status of device in cacti is

Draytek Vigor 2800 Unknown 192.168.x.x 0 0 100%

Any ideas how to solve... ?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

onesj: same questions apply to you as the other users. Please answer all questions from above.
onesj
Posts: 8
Joined: Mon Sep 24, 2007 1:22 pm
Location: Manchester, UK

Post by onesj »

1) Does cacti consider the device up or down?
Short Answer = Unknown
Draytek Vigor 2800 Unknown 192.168.x.x 0 0 100%

2) Does verbose query on the interfaces show any data?

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'TAKEN-OUT/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='0'] index: 2 [from value]
+ Found item [ifOperStatus='0'] index: 3 [from value]
+ Found item [ifOperStatus='Up'] index: 4 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='Ethernet0'] index: 1 [from value]
+ Found item [ifDescr=''] index: 2 [from value]
+ Found item [ifDescr=''] index: 3 [from value]
+ Found item [ifDescr='ADSL'] index: 4 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Found item [ifName='End of MIB'] index: End of MIB [from value]
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Found item [ifAlias='End of MIB'] index: End of MIB [from value]
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='ethernetCsmacd(6)'] index: 1 [from value]
+ Found item [ifType='0'] index: 2 [from value]
+ Found item [ifType='0'] index: 3 [from value]
+ Found item [ifType='adsl(94)'] index: 4 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='100000000'] index: 1 [from value]
+ Found item [ifSpeed='0'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Found item [ifSpeed='5760000'] index: 4 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr='00:00:50:7F:D1:85:78'] index: 1 [from value]
+ Found item [ifHwAddr='00:00:00:00:00:00:00'] index: 2 [from value]
+ Found item [ifHwAddr='00:00:00:00:00:00:00'] index: 3 [from value]
+ Found item [ifHwAddr='00:00:00:00:00:00:00'] index: 4 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found data query XML file at 'TAKEN-OUT/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'TAKEN-OUT/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'TAKEN-OUT/cacti/resource/snmp_queries/interface.xml'

3) What versions of everything are you using?
Running cacti 0.8.6j
Windows 2000 Server
php version 4.x
rrdtool 1.2.12
net snmp 5.4.1
4) what snmp version for that device?
Version 1
6) Looking in the cacti log when in debug mode, what do you see when cacti polls your device?

I have disabled all other devices in cacti. After doing this there is no entries in the log file for my router.

/25/2007 07:38:43 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_output"
09/25/2007 07:38:43 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:1.0464 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0')"
09/25/2007 07:38:43 PM - SYSTEM STATS: Time:1.0464 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
09/25/2007 07:38:43 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) "
09/25/2007 07:38:43 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
09/25/2007 07:38:43 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
09/25/2007 07:38:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
09/25/2007 07:38:42 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
09/25/2007 07:38:42 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: " SELECT count(*) FROM poller_item WHERE (action=2 AND (host_id >= 0 AND host_id <= 4))"
09/25/2007 07:38:42 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * from poller_item WHERE (host_id >= 0 AND host_id <= 4) ORDER by host_id"
09/25/2007 07:38:42 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * FROM host WHERE (disabled = '' AND id >= 0 AND id <= 4) ORDER by id"
09/25/2007 07:38:42 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q TAKEN-OUT/cacti/cmd.php 0 4]
09/25/2007 07:38:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_time"
09/25/2007 07:38:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','TAKEN-OUT/cacti')"
09/25/2007 07:38:42 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
09/25/2007 07:38:42 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item"
09/25/2007 07:38:35 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
09/25/2007 07:38:35 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
09/25/2007 07:38:35 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
09/25/2007 07:38:35 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
09/25/2007 07:38:35 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"

There is also nothing in poller cache for this device.

I have successfully graphed other snmp devices
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Alright. Go to the SNMP Cache, do you see entries from the Draytek? What about in the poller cache?

Have you already went to the 'create graphs for this device' screen and added something for its interface(s)?

What Downed Host Detection method are you using?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests