|
|
| Author |
Message |
doiggl Cacti User
Joined: 16 Dec 2009 Posts: 91
|
Posted: Fri May 28, 2010 8:09 am Post subject: Can the 7401VGPR3 adsl modem be monitored |
|
|
Hello,
Can the 7401VGPR3 adsl modem [1] be monitored with the cacti monitoring tools.
Do you have any details on how to setup and monitor the 7401VGPR3 with cacti .
Interested in inbound/outbound traffic volumes.
ip address is 192.168.1.254
[1] http://au.billion.com/product/voip/bipac7401VGPR3.php
Thanks Glenn
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 17009 Location: Muenster, Germany
|
Posted: Fri May 28, 2010 11:33 am Post subject: |
|
|
Moving to scripts and templates
R.
|
|
| Back to top |
|
 |
lcano Cacti User
Joined: 09 Oct 2008 Posts: 121 Location: Spain
|
Posted: Mon May 31, 2010 5:04 am Post subject: |
|
|
According technical specifications:
•Embedded Telnet server for remote and local management
•SNMP v3, MIB-I and MIB-II support
Where is the problem?
|
|
| Back to top |
|
 |
doiggl Cacti User
Joined: 16 Dec 2009 Posts: 91
|
Posted: Mon May 31, 2010 9:07 am Post subject: |
|
|
> SNMP v3, MIB-I and MIB-II support
Are these all the options I need to fill in the Console -> Devices -> (Edit) page
| Description: |
| Are these all the options I need to fill in |
|
| Filesize: |
93.49 KB |
| Viewed: |
781 Time(s) |

|
|
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 9568 Location: WA, USA
|
Posted: Mon May 31, 2010 11:42 am Post subject: |
|
|
| Step 1, verify snmp is working outside of cacti with a snmp tool, like net-snmp. Once that's complete. Add it to cacti.
|
|
| Back to top |
|
 |
doiggl Cacti User
Joined: 16 Dec 2009 Posts: 91
|
Posted: Wed Jun 02, 2010 3:33 am Post subject: |
|
|
I started again with trying to add the device with the add_device.php script
> perl add_device.php --description="BiPAC 7401VGPR3" --ip=192.168.1.254 --template=3 --version=2 --community="public"
Success - new device-id: (6)
| Description: |
|
| Filesize: |
102.59 KB |
| Viewed: |
711 Time(s) |

|
|
|
| Back to top |
|
 |
doiggl Cacti User
Joined: 16 Dec 2009 Posts: 91
|
Posted: Wed Jun 02, 2010 4:33 am Post subject: |
|
|
attaching content of snmpwalk -c public -v 2c 192.168.1.254
| Description: |
| snmpwalk -c public -v 2c 192.168.1.254 content |
|
 Download |
| Filename: |
snmpwalk192.168.1.254.txt |
| Filesize: |
46.92 KB |
| Downloaded: |
26 Time(s) |
|
|
| Back to top |
|
 |
doiggl Cacti User
Joined: 16 Dec 2009 Posts: 91
|
Posted: Wed Jun 02, 2010 4:53 am Post subject: |
|
|
Console -> Devices -> (Edit)
BiPAC 7401VGPR3 (192.168.1.254)
SNMP Information
System:BiPAC 7401VGPR3. H/W: ADSL-M/WG/VOS v1.00 / Solos 461x CSP v1.0 F/W:
6.01 (15 April 2010)
Uptime: 66862230 (7 days, 17 hours, 43 minutes)
Hostname:
Location: not set
Contact: not set
Ping Results
UDP Ping Success (0.48 ms)
-----------------------------------
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/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'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.1' value: '1'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.2' value: '2'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.3' value: '3'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.4' value: '4'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.5' value: '5'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.6' value: '6'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.7' value: '7'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.8' value: '8'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.9' value: '9'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.10' value: '10'
+ 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]
+ Found item [ifIndex='5'] index: 5 [from value]
+ Found item [ifIndex='6'] index: 6 [from value]
+ Found item [ifIndex='7'] index: 7 [from value]
+ Found item [ifIndex='8'] index: 8 [from value]
+ Found item [ifIndex='9'] index: 9 [from value]
+ Found item [ifIndex='10'] index: 10 [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='Up'] index: 2 [from value]
+ Found item [ifOperStatus='Up'] index: 3 [from value]
+ Found item [ifOperStatus='Down'] index: 4 [from value]
+ Found item [ifOperStatus='Up'] index: 5 [from value]
+ Found item [ifOperStatus='Up'] index: 6 [from value]
+ Found item [ifOperStatus='Down'] index: 7 [from value]
+ Found item [ifOperStatus='Down'] index: 8 [from value]
+ Found item [ifOperStatus='Down'] index: 9 [from value]
+ Found item [ifOperStatus='Down'] index: 10 [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='loopback'] index: 1 [from value]
+ Found item [ifDescr='Conexant bf_ether device Port 0 Version 2'] index: 2 [from value]
+ Found item [ifDescr='turbo'] index: 3 [from value]
+ Found item [ifDescr='BUN Wireless device'] index: 4 [from value]
+ Found item [ifDescr='bridge'] index: 5 [from value]
+ Found item [ifDescr='ppp channel 1'] index: 6 [from value]
+ Found item [ifDescr='ppp channel 2'] index: 7 [from value]
+ Found item [ifDescr='ppp channel 3'] index: 8 [from value]
+ Found item [ifDescr='ppp channel 4'] index: 9 [from value]
+ Found item [ifDescr='ppp channel 5'] index: 10 [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='ethernet'] index: 2 [from value]
+ Found item [ifName='rfc1483'] index: 27 [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=''] index: 2 [from value]
+ Found item [ifAlias=''] index: 27 [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='softwareLoopback(24)'] index: 1 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 2 [from value]
+ Found item [ifType='adsl(94)'] index: 3 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 4 [from value]
+ Found item [ifType='other(1)'] index: 5 [from value]
+ Found item [ifType='ppp(23)'] index: 6 [from value]
+ Found item [ifType='ppp(23)'] index: 7 [from value]
+ Found item [ifType='ppp(23)'] index: 8 [from value]
+ Found item [ifType='ppp(23)'] index: 9 [from value]
+ Found item [ifType='ppp(23)'] index: 10 [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='10000000'] index: 1 [from value]
+ Found item [ifSpeed='0'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Found item [ifSpeed='54000000'] index: 4 [from value]
+ Found item [ifSpeed='10000000'] index: 5 [from value]
+ Found item [ifSpeed='7680000'] index: 6 [from value]
+ Found item [ifSpeed='7680000'] index: 7 [from value]
+ Found item [ifSpeed='7680000'] index: 8 [from value]
+ Found item [ifSpeed='7680000'] index: 9 [from value]
+ Found item [ifSpeed='7680000'] index: 10 [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=''] index: 1 [from value]
+ Found item [ifHwAddr='00:04:ED:AE:0D:89'] index: 2 [from value]
+ Found item [ifHwAddr=''] index: 3 [from value]
+ Found item [ifHwAddr='00:04:ED:AE:0D:8A'] index: 4 [from value]
+ Found item [ifHwAddr='00:04:ED:AE:0D:89'] index: 5 [from value]
+ Found item [ifHwAddr=''] index: 6 [from value]
+ Found item [ifHwAddr=''] index: 7 [from value]
+ Found item [ifHwAddr=''] index: 8 [from value]
+ Found item [ifHwAddr=''] index: 9 [from value]
+ Found item [ifHwAddr=''] index: 10 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='127.0.0.1'] index: 1 [from regexp oid parse]
+ Found item [ifIP='192.168.1.254'] index: 5 [from regexp oid parse]
+ Found item [ifIP='202.46.140.68'] index: 6 [from regexp oid parse]
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
|
|
| Back to top |
|
 |
doiggl Cacti User
Joined: 16 Dec 2009 Posts: 91
|
Posted: Wed Jun 02, 2010 6:42 am Post subject: |
|
|
> perl add_graphs.php --list-hosts
Known Hosts: (id, hostname, template, description)
1 127.0.0.1 3 localhost
6 192.168.1.254 3 BiPAC 7401VGPR3
> perl add_graphs.php --list-graph-templates
Known Graph Templates:(id, name)
2 Interface - Traffic (bits/sec)
3 ucd/net - Available Disk Space
4 ucd/net - CPU Usage
5 Karlnet - Wireless Levels
6 Karlnet - Wireless Transmissions
7 Unix - Ping Latency
8 Unix - Processes
9 Unix - Load Average
10 Unix - Logged in Users
11 ucd/net - Load Average
12 Linux - Memory Usage
13 ucd/net - Memory Usage
14 Netware - File System Cache
15 Netware - CPU Utilization
16 Netware - File System Activity
17 Netware - Logged In Users
18 Cisco - CPU Usage
19 Netware - Volume Information
20 Netware - Directory Information
21 Unix - Available Disk Space
22 Interface - Errors/Discards
23 Interface - Unicast Packets
24 Interface - Non-Unicast Packets
25 Interface - Traffic (bytes/sec)
26 Host MIB - Available Disk Space
27 Host MIB - CPU Utilization
28 Host MIB - Logged in Users
29 Host MIB - Processes
30 Netware - Open Files
31 Interface - Traffic (bits/sec, 95th Percentile)
32 Interface - Traffic (bits/sec, Total Bandwidth)
33 Interface - Traffic (bytes/sec, Total Bandwidth)
34 SNMP - Generic OID Template
35 Host MIB - hrStorageTable
> add_graphs.php --list-snmp-queries
Known SNMP Queries:(id, name)
1 SNMP - Interface Statistics
2 ucd/net - Get Monitored Partitions
3 Karlnet - Wireless Bridge Statistics
4 Netware - Get Available Volumes
6 Unix - Get Mounted Partitions
7 Netware - Get Processor Information
8 SNMP - Get Mounted Partitions
9 SNMP - Get Processor Information
10 SNMP - hrStorageTable
11 disk-space
> perl add_graphs.php
A simple command line utility to add graphs in Cacti
usage: add_graphs.php --graph-type=[cg|ds] --graph-template-id=[ID]
--host-id=[ID] [--graph-title=title] [graph options] [--force] [--quiet]
For cg graphs:
[--input-fields="[data-template-id:]field-name=value ..."] [--force]
--input-fields If your data template allows for custom input data, you may specify that
here. The data template id is optional and applies where two input fields
have the same name.
--force If you set this flag, then new cg graphs will be created, even though they
may already exist
For ds graphs:
--snmp-query-id=[ID] --snmp-query-type-id=[ID] --snmp-field=[SNMP Field] --snmp-value=[SNMP Value]
[--graph-title=] Defaults to what ever is in the graph template/data-source template.
[--reindex-method=] the reindex method to be used for that data query
if data query already exists, the reindex method will not be changed
0|None = no reindexing
1|Uptime = Uptime goes Backwards (Default)
2|Index = Index Count Changed
3|Fields = Verify all Fields
List Options:
--list-hosts
--list-graph-templates [--host-template-id=[ID]]
--list-input-fields --graph-template-id=[ID]
--list-snmp-queries
--list-query-types --snmp-query-id [ID]
--list-snmp-fields --host-id=[ID] [--snmp-query-id=[ID]]
--list-snmp-values --host-id=[ID] [--snmp-query-id=[ID]] --snmp-field=[Field]
'cg' graphs are for things like CPU temp/fan speed, while
'ds' graphs are for data-source based graphs (interface stats etc.)
Syntax
> perl add_graphs.php --graph-type=[cg|ds] --graph-template-id=[ID] --host-id=[ID] [--graph-title=title] [graph options] [--force] [--quiet]
I tried this command
> perl add_graphs.php --graph-type=ds --graph-template-id=33 --host-id=6 --graph-title=7401VGPR3 --snmp-query-id=1
I got this error, what options am I missing ?
ERROR: For graph-type of 'ds' you must supply more options
Thanks
|
|
| Back to top |
|
 |
doiggl Cacti User
Joined: 16 Dec 2009 Posts: 91
|
Posted: Fri Jun 04, 2010 7:16 am Post subject: |
|
|
I startegd again
> perl add_device.php --list-host-templates
Valid Host Templates: (id, name)
0 None
1 Generic SNMP-enabled Host
3 ucd/net SNMP Host
4 Karlnet Wireless Bridge
5 Cisco Router
6 Netware 4/5 Server
7 Windows 2000/XP Host
8 Local Linux Machine
> perl add_device.php --description="BiPAC 7401VGPR3" --ip=192.168.1.254 --template=1 --version=2 --community="public"
Success - new device-id
|
|
| Back to top |
|
 |
|