Difference between revisions of "Cacti graph ADSL"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (→Cacti)  | 
				|||
| Line 3: | Line 3: | ||
* I need to load MIBs to either Cacti DB or Cisco device  | * I need to load MIBs to either Cacti DB or Cisco device  | ||
=   | = Install ADSLine MIB data query =  | ||
*Dowload [http://docs.cacti.net/usertemplate:data:adsl_mib:line ADSL Line Data] script file from Cacti templates website.  | |||
*Un-tar, then copy <tt>adslLine.xml</tt> file to (in Ubuntu) <tt>/usr/share/cacti/resource/</tt> directory  | |||
*Import XML template following Console > Import templates > Open <tt>cacti087d_data_query_adsl_line_mib.xml</tt> > press Import  | |||
Following errors/missing dependencies found during the import process:  | |||
Cacti has imported the following items:  | Cacti has imported the following items:  | ||
CDEF  |  CDEF  | ||
[success] Make Stack Negative [update]  |  [success] Make Stack Negative [update]  | ||
GPRINT Preset  |  GPRINT Preset  | ||
[success] Normal [update]  |  [success] Normal [update]    | ||
Data Input Method  |  Data Input Method  | ||
[success] Get SNMP Data (Indexed) [update]  |  [success] Get SNMP Data (Indexed) [update]  | ||
Data Template  |  Data Template  | ||
[success] ADSL Line - Signal/Noise [new]  |  [success] ADSL Line - Signal/Noise [new]  | ||
[success] ADSL Line - Attentuation [new]  |  [success] ADSL Line - Attentuation [new]  | ||
[success] ADSL Line - Power [new]  |  [success] ADSL Line - Power [new]    | ||
Graph Template  |  Graph Template  | ||
[success] ADSL Line - Noise Margin [new]  |  [success] ADSL Line - Noise Margin [new]  | ||
    + Unmet Dependency: (Data Template Item)  |     + Unmet Dependency: (Data Template Item)  | ||
    + Found Dependency: (GPRINT Preset) Normal  |     + Found Dependency: (GPRINT Preset) Normal  | ||
| Line 37: | Line 41: | ||
    + Unmet Dependency: (Data Template Item)  |     + Unmet Dependency: (Data Template Item)  | ||
    + Unmet Dependency: (Data Template Item)  |     + Unmet Dependency: (Data Template Item)  | ||
[success] ADSL Line - Attenuation [new]  |  [success] ADSL Line - Attenuation [new]  | ||
[success] ADSL Line - Output Power [new]  |  [success] ADSL Line - Output Power [new]  | ||
    + Found Dependency: (Data Template Item) adslAtucCurrOutputP  |     + Found Dependency: (Data Template Item) adslAtucCurrOutputP  | ||
    + Found Dependency: (GPRINT Preset) Normal  |     + Found Dependency: (GPRINT Preset) Normal  | ||
| Line 47: | Line 51: | ||
    + Unmet Dependency: (Data Template Item)  |     + Unmet Dependency: (Data Template Item)  | ||
    + Unmet Dependency: (Data Template Item)  |     + Unmet Dependency: (Data Template Item)  | ||
Data Query  |  Data Query  | ||
[success] ADSL Line MIB [new]  |  [success] ADSL Line MIB [new]  | ||
    + Found Dependency: (Data Input Method) Get SNMP Data (Indexed)  |     + Found Dependency: (Data Input Method) Get SNMP Data (Indexed)  | ||
    + Found Dependency: (Graph Template) ADSL Line - Output Power  |     + Found Dependency: (Graph Template) ADSL Line - Output Power  | ||
| Line 63: | Line 67: | ||
    + Found Dependency: (Data Template Item) adslAtucCurrAtn  |     + Found Dependency: (Data Template Item) adslAtucCurrAtn  | ||
    + Found Dependency: (Data Template Item) adslAturCurrAtn  |     + Found Dependency: (Data Template Item) adslAturCurrAtn  | ||
Then go to Console > Devices > YourSNMPenabledDevice (Router1941) > scroll at the bottom Associated Data Queries section and select 'ADSL Line MIB' > press ADD > SAVE.  | |||
Unfortunately the script results with no SNMP data returned when I run 'Verbose Query', here is output:  | |||
 Data Query Debug Information  | |||
 + Running data query [10].  | |||
 + Found type = '3' [SNMP Query].  | |||
 + Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/adslLine.xml'  | |||
 + XML file parsed ok.  | |||
 + <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries  | |||
 + Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.10.94.1.1.3.1.1' Index Count: 0  | |||
 + No SNMP data returned  | |||
= Reference =  | = Reference =  | ||
Revision as of 02:00, 20 November 2013
Load MIBs
- I need to load MIBs to either Cacti DB or Cisco device
 
Install ADSLine MIB data query
- Dowload ADSL Line Data script file from Cacti templates website.
 - Un-tar, then copy adslLine.xml file to (in Ubuntu) /usr/share/cacti/resource/ directory
 - Import XML template following Console > Import templates > Open cacti087d_data_query_adsl_line_mib.xml > press Import
 
Following errors/missing dependencies found during the import process:
Cacti has imported the following items:
CDEF [success] Make Stack Negative [update] GPRINT Preset [success] Normal [update] Data Input Method [success] Get SNMP Data (Indexed) [update] Data Template [success] ADSL Line - Signal/Noise [new] [success] ADSL Line - Attentuation [new] [success] ADSL Line - Power [new] Graph Template [success] ADSL Line - Noise Margin [new] + Unmet Dependency: (Data Template Item) + Found Dependency: (GPRINT Preset) Normal + Unmet Dependency: (Data Template Item) + Unmet Dependency: (Data Template Item) + Unmet Dependency: (Data Template Item) + Unmet Dependency: (Data Template Item) + Unmet Dependency: (Data Template Item) + Found Dependency: (CDEF) Make Stack Negative + Unmet Dependency: (Data Template Item) + Unmet Dependency: (Data Template Item) + Unmet Dependency: (Data Template Item) + Unmet Dependency: (Data Template Item) [success] ADSL Line - Attenuation [new] [success] ADSL Line - Output Power [new] + Found Dependency: (Data Template Item) adslAtucCurrOutputP + Found Dependency: (GPRINT Preset) Normal + Unmet Dependency: (Data Template Item) + Found Dependency: (CDEF) Make Stack Negative + Unmet Dependency: (Data Template Item) + Unmet Dependency: (Data Template Item) + Unmet Dependency: (Data Template Item) + Unmet Dependency: (Data Template Item) Data Query [success] ADSL Line MIB [new] + Found Dependency: (Data Input Method) Get SNMP Data (Indexed) + Found Dependency: (Graph Template) ADSL Line - Output Power + Found Dependency: (Data Template) ADSL Line - Power + Unmet Dependency: (Data Template Item) + Found Dependency: (Data Template Item) adslAtucCurrOutputP + Found Dependency: (Graph Template) ADSL Line - Noise Margin + Found Dependency: (Data Template) ADSL Line - Signal/Noise + Unmet Dependency: (Data Template Item) + Unmet Dependency: (Data Template Item) + Found Dependency: (Graph Template) ADSL Line - Attenuation + Found Dependency: (Data Template) ADSL Line - Attentuation + Found Dependency: (Data Template Item) adslAtucCurrAtn + Found Dependency: (Data Template Item) adslAturCurrAtn
Then go to Console > Devices > YourSNMPenabledDevice (Router1941) > scroll at the bottom Associated Data Queries section and select 'ADSL Line MIB' > press ADD > SAVE. Unfortunately the script results with no SNMP data returned when I run 'Verbose Query', here is output:
Data Query Debug Information + Running data query [10]. + Found type = '3' [SNMP Query]. + Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/adslLine.xml' + XML file parsed ok. + <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries + Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.10.94.1.1.3.1.1' Index Count: 0 + No SNMP data returned