Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Jun 23, 2017 12:18 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 147 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10
Author Message
 Post subject: Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4
PostPosted: Wed Sep 03, 2014 2:37 am 
Offline

Joined: Thu Feb 02, 2012 11:13 pm
Posts: 1
Hello!

I have a problem with monitoring rx_power on HundredGigabitEthernet on Cisco XR, with template 0.4.0. Does anybody know way to fix?


Top
 Profile  
 
 Post subject: Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4
PostPosted: Fri Mar 27, 2015 5:56 pm 
Offline

Joined: Fri Mar 27, 2015 5:50 pm
Posts: 3
So what is the current version of the plugin?

Is there a URL where the latest version can be obtained?

Is anyone working to merge the diffs from contributors :o

Please feel free to privately contact me ... we really need to have the Cacti-equivalent of the NAGIOS pluginExchange site.

Brian Seklecki


Top
 Profile  
 
 Post subject: Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4
PostPosted: Tue Apr 14, 2015 6:36 pm 
Offline

Joined: Fri Mar 27, 2015 5:50 pm
Posts: 3
I started to modify the code to support reading TX Bias microAmperes values as well.

My diffs are at: http://digitalfreaks.org/~lavalamp/ss_cisco_sfp_dom-DEV/

For those of you with PHP Index errors, the fix at:
@@ -118,19 +127,30 @@

( The while statement -> if statement )

I'm about to embark on a complete re-write of this plugin to support Ciena SAOS and Cisco ONS15454 which use a different set of MIBs (CISCO-OPTICAL-MONITORING-MIB / CERENT-OPTICAL-MONITORING-MIB )

Here's an example showing RX variation on an SFP over a 24 hour period
Image


Lastly, here's an example output of the device discovery of data structures per the Cacti Plugin API:

Code:
Data Query Debug Information

+ Running data query [10].
+ Found type = '6' [Script Query - Script Server].
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/cisco_sfp_dom.xml'
+ XML file parsed ok.
+ Executing script for num of indexes '"/usr/bin/php" -q /usr/share/cacti/site/scripts/ss_cisco_sfp_dom.php [NETWORK-ELEMENT] [COMMUNITY-STRING] 2 num_indexes'
+ Found number of indexes: 25
+ Executing script for list of indexes '"/usr/bin/php" -q /usr/share/cacti/site/scripts/ss_cisco_sfp_dom.php [NETWORK-ELEMENT] [COMMUNITY-STRING] 2 index' Index Count: 5
+ Found index: 1045.1046.1044
+ Found index: 1051.1052.1050
+ Found index: 1057.1058.1056
+ Found index: 1063.1064.1062
+ Found index: 1069.1070.1068
+ Executing script query '"/usr/bin/php" -q /usr/share/cacti/site/scripts/ss_cisco_sfp_dom.php [NETWORK-ELEMENT] [COMMUNITY-STRING] 2 query index'
+ Found item [index='1045.1046.1044'] index: 1045.1046.1044
+ Found item [index='1051.1052.1050'] index: 1051.1052.1050
+ Found item [index='1057.1058.1056'] index: 1057.1058.1056
+ Found item [index='1063.1064.1062'] index: 1063.1064.1062
+ Found item [index='1069.1070.1068'] index: 1069.1070.1068
+ Executing script query '"/usr/bin/php" -q /usr/share/cacti/site/scripts/ss_cisco_sfp_dom.php [NETWORK-ELEMENT] [COMMUNITY-STRING] 2 query interface'
+ Found item [ifDescr='GigabitEthernet0/1'] index: 1045.1046.1044
+ Found item [ifDescr='GigabitEthernet0/2'] index: 1051.1052.1050
+ Found item [ifDescr='GigabitEthernet0/3'] index: 1057.1058.1056
+ Found item [ifDescr='TenGigabitEthernet0/2'] index: 1063.1064.1062
+ Found item [ifDescr='TenGigabitEthernet0/1'] index: 1069.1070.1068
+ Executing script query '"/usr/bin/php" -q /usr/share/cacti/site/scripts/ss_cisco_sfp_dom.php [NETWORK-ELEMENT] [COMMUNITY-STRING] 2 query if_name'
+ Found item [ifName='Gi0/1'] index: 1045.1046.1044
+ Found item [ifName='Gi0/2'] index: 1051.1052.1050
+ Found item [ifName='Gi0/3'] index: 1057.1058.1056
+ Found item [ifName='Te0/2'] index: 1063.1064.1062
+ Found item [ifName='Te0/1'] index: 1069.1070.1068
+ Executing script query '"/usr/bin/php" -q /usr/share/cacti/site/scripts/ss_cisco_sfp_dom.php [NETWORK-ELEMENT] [COMMUNITY-STRING] 2 query status'
+ Found item [status='Online'] index: 1045.1046.1044
+ Found item [status='Online'] index: 1051.1052.1050
+ Found item [status='Online'] index: 1057.1058.1056
+ Found item [status='Online'] index: 1063.1064.1062
+ Found item [status='Online'] index: 1069.1070.1068
+ Executing script query '"/usr/bin/php" -q /usr/share/cacti/site/scripts/ss_cisco_sfp_dom.php [NETWORK-ELEMENT] [COMMUNITY-STRING] 2 query descr'
+ Found item [ifAlias='** Environmental **'] index: 1045.1046.1044
+ Found item [ifAlias='** Customer UNI ** '] index: 1051.1052.1050
+ Found item [ifAlias='** Customer UNI ** '] index: 1057.1058.1056
+ Found item [ifAlias='** NNI to [NEIGHBOR] Te0/2/1/0 **'] index: 1063.1064.1062
+ Found item [ifAlias='** NNI to [NEIGHBOR] TE0/3/0/1 **'] index: 1069.1070.1068


Attachments:
Example_SFP_LightLevelMonitoring_CactiModifications_Filtered.png
Example_SFP_LightLevelMonitoring_CactiModifications_Filtered.png [ 16.46 KiB | Viewed 11422 times ]
Top
 Profile  
 
 Post subject: Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4
PostPosted: Sat Apr 18, 2015 3:53 am 
Offline

Joined: Fri Mar 27, 2015 5:50 pm
Posts: 3
Also, I'm working on a version of this script (well, new code, derived from what I learned about the Cacti script_server API from Reverse-Engineering ss_cisco_sfp.php) for Ciena SAOS / LEOS platforms (39xx / 51xx "Service Delivery Switch")

If anyone is interested in helping test/debug that new code, please let me know. I'd be happy to hear that there are other Ciena customers in the fold.


Top
 Profile  
 
 Post subject: Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4
PostPosted: Sun Jul 19, 2015 7:38 am 
Offline

Joined: Thu Mar 20, 2014 11:57 am
Posts: 3
bseklecki wrote:
Also, I'm working on a version of this script (well, new code, derived from what I learned about the Cacti script_server API from Reverse-Engineering ss_cisco_sfp.php) for Ciena SAOS / LEOS platforms (39xx / 51xx "Service Delivery Switch")

If anyone is interested in helping test/debug that new code, please let me know. I'd be happy to hear that there are other Ciena customers in the fold.

Yes, I would be interesting in testing this on 39xx and 51xx's.


Top
 Profile  
 
 Post subject: Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4
PostPosted: Tue Sep 01, 2015 3:42 pm 
Offline

Joined: Wed Aug 31, 2011 10:07 am
Posts: 2
Is there a specific plugin set from this thread that is know to be working?


Top
 Profile  
 
 Post subject: Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4
PostPosted: Thu Jan 28, 2016 8:41 am 
Offline

Joined: Fri Mar 11, 2011 7:22 am
Posts: 10
anyone have an idea to use autom8 to make automatically Graphs for DOM sfp's ?


Top
 Profile  
 
 Post subject: Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4
PostPosted: Thu Apr 07, 2016 8:36 am 
Offline

Joined: Thu Apr 07, 2016 8:26 am
Posts: 1
Hi all,
I want to monitor Cisco SFP, DOM for Cisco Switch 2960/3750/3560/...

Can you help me?


Top
 Profile  
 
 Post subject: Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4
PostPosted: Thu Apr 07, 2016 1:32 pm 
Offline
Cacti User

Joined: Wed Feb 01, 2006 10:29 am
Posts: 113
I do not have access to those kind of switches and do not know (for sure) those switches expose DOM information the same way the original platform does...

sorry

_________________
All the problems of the world could be settled if people were only willing to think...


Top
 Profile  
 
 Post subject: Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4
PostPosted: Fri May 06, 2016 1:33 am 
Offline
User avatar

Joined: Fri May 06, 2016 1:25 am
Posts: 10
Location: Germany
haind wrote:
I want to monitor Cisco SFP, DOM for Cisco Switch 2960/3750/3560/...


The plugin should work with any Cisco IOS Box. But you should check if DOM is supported on your Hardware, IOS and transceiver. Use "sh int trans det".


Top
 Profile  
 
 Post subject: Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4
PostPosted: Thu Jun 30, 2016 4:03 am 
Offline

Joined: Thu Jun 30, 2016 3:33 am
Posts: 1
Hi all,

I want to graph the optical values from a SG300-28SFP switch which has DOM support.
The Cisco SG300 line is different then the Catalyst switch line and therefore also use different OIDs.

When excecuting "show fiber-ports optical-transceiver" via CLI on the SG300, I get the following output:
Code:
sw1#show fiber-ports optical-transceiver

   Port      Temp  Voltage Current Output  Input   LOS
             [C]   [Volt]  [mA]    Power   Power
                                   [mWatt] [mWatt]
----------- ------ ------- ------- ------- ------- ---
    gi1       32    3.26    7.79    0.30    0.05   No
    gi2      N/A     N/A     N/A     N/A     N/A   N/A
    gi3      N/A     N/A     N/A     N/A     N/A   N/A
    gi4      N/A     N/A     N/A     N/A     N/A   N/A
    gi5      N/A     N/A     N/A     N/A     N/A   N/A
    gi6      N/A     N/A     N/A     N/A     N/A   N/A
    gi7      N/A     N/A     N/A     N/A     N/A   N/A
    gi8      N/A     N/A     N/A     N/A     N/A   N/A
    gi9      N/A     N/A     N/A     N/A     N/A   N/A
   gi10      N/A     N/A     N/A     N/A     N/A   N/A
   gi11      N/A     N/A     N/A     N/A     N/A   N/A
   gi12      N/A     N/A     N/A     N/A     N/A   N/A
   gi13      N/A     N/A     N/A     N/A     N/A   N/A
   gi14      N/A     N/A     N/A     N/A     N/A   N/A
   gi15      N/A     N/A     N/A     N/A     N/A   N/A
   gi16      N/A     N/A     N/A     N/A     N/A   N/A
   gi17      N/A     N/A     N/A     N/A     N/A   N/A
   gi18      N/A     N/A     N/A     N/A     N/A   N/A
   gi19      N/A     N/A     N/A     N/A     N/A   N/A
   gi20      N/A     N/A     N/A     N/A     N/A   N/A
   gi21      N/A     N/A     N/A     N/A     N/A   N/A
   gi22      N/A     N/A     N/A     N/A     N/A   N/A
   gi23      N/A     N/A     N/A     N/A     N/A   N/A
   gi24      N/A     N/A     N/A     N/A     N/A   N/A
   gi25      N/A     N/A     N/A     N/A     N/A   N/A
   gi26      N/A     N/A     N/A     N/A     N/A   N/A
   gi27      N/A     N/A     N/A     N/A     N/A   N/A
   gi28       28    3.32    1.60    0.30    0.27   No

Temp         - Internally measured transceiver temperature
Voltage      - Internally measured supply voltage
Current      - Measured TX bias current
Output Power - Measured TX output power in milliWatts
Input Power  - Measured RX received power in milliWatts
LOS          - Loss of signal
N/A - Not Available, N/S - Not Supported, W - Warning, E - Error


Gi1 and gi28 are currently the only ports with a SFP module. This is the output of snmpwalk:
Code:
snmpwalk <ip_address> -v 2c -c <SNMP community> 1.3.6.1.4.1.9.6.1.101.90.1.2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.49.5 = INTEGER: 5
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.49.6 = INTEGER: 6
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.49.7 = INTEGER: 7
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.49.8 = INTEGER: 8
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.49.9 = INTEGER: 9
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.49.10 = INTEGER: 10
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.49.11 = INTEGER: 11
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.49.12 = INTEGER: 12
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.76.5 = INTEGER: 5
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.76.6 = INTEGER: 6
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.76.7 = INTEGER: 7
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.76.8 = INTEGER: 8
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.76.9 = INTEGER: 9
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.76.10 = INTEGER: 10
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.76.11 = INTEGER: 11
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.1.76.12 = INTEGER: 12
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.49.5 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.49.6 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.49.7 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.49.8 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.49.9 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.49.10 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.49.11 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.49.12 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.76.5 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.76.6 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.76.7 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.76.8 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.76.9 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.76.10 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.76.11 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.2.76.12 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.49.5 = INTEGER: 32
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.49.6 = INTEGER: 3267100
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.49.7 = INTEGER: 7793
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.49.8 = INTEGER: -5152
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.49.9 = INTEGER: -12519
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.49.10 = INTEGER: 0
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.49.11 = INTEGER: 0
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.49.12 = INTEGER: 0
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.76.5 = INTEGER: 28
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.76.6 = INTEGER: 3328600
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.76.7 = INTEGER: 1708
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.76.8 = INTEGER: -5219
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.76.9 = INTEGER: -5568
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.76.10 = INTEGER: 0
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.76.11 = INTEGER: 0
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.76.12 = INTEGER: 0
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.49.5 = INTEGER: 7
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.49.6 = INTEGER: 8
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.49.7 = INTEGER: 10
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.49.8 = INTEGER: 17
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.49.9 = INTEGER: 17
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.49.10 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.49.11 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.49.12 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.76.5 = INTEGER: 7
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.76.6 = INTEGER: 8
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.76.7 = INTEGER: 10
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.76.8 = INTEGER: 17
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.76.9 = INTEGER: 17
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.76.10 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.76.11 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.4.76.12 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.49.5 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.49.6 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.49.7 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.49.8 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.49.9 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.49.10 = INTEGER: 1
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.49.11 = INTEGER: 1
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.49.12 = INTEGER: 1
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.76.5 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.76.6 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.76.7 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.76.8 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.76.9 = INTEGER: 2
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.76.10 = INTEGER: 1
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.76.11 = INTEGER: 1
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.5.76.12 = INTEGER: 1
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.49.5 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.49.6 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.49.7 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.49.8 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.49.9 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.49.10 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.49.11 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.49.12 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.76.5 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.76.6 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.76.7 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.76.8 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.76.9 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.76.10 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.76.11 = STRING: "21-Apr-2016 07:28:26 "
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.6.76.12 = STRING: "21-Apr-2016 07:28:26 "


From this snmpwalk I conclude the following:

iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.49.5 = INTEGER: 32 (temperature)
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.49.6 = INTEGER: 3267100 (volltage)
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.49.7 = INTEGER: 7793 (current)
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.49.8 = INTEGER: -5152 (output power/calculation needed?)
iso.3.6.1.4.1.9.6.1.101.90.1.2.1.3.49.9 = INTEGER: -12519 (input power/calculation needed?)

.49. defines obfiously the interface (gi1) as .76. is the gi28 interface.

Can somebody out there implent this into either a new template or the existing ones?

I´m running cacti 0.8.8b.
The firmware version running on the SG300 is 1.4.5.02

thx


Top
 Profile  
 
 Post subject: Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4
PostPosted: Tue Sep 27, 2016 3:20 am 
Offline

Joined: Tue Mar 13, 2007 4:15 am
Posts: 6
Hi,

I'm testing with the 0.4 release that rps64 posted, great work.

However I'm getting the index errors that bseklecki mentions, but the site with the mentioned patch is gone :/

Code:
PHP Notice:  Undefined index: 0 in /var/www/cacti/scripts/ss_cisco_sfp_dom.php on line 130
PHP Notice:  Undefined index: 0 in /var/www/cacti/scripts/ss_cisco_sfp_dom.php on line 131
PHP Notice:  Undefined index: 0 in /var/www/cacti/scripts/ss_cisco_sfp_dom.php on line 130
PHP Notice:  Undefined index: 0 in /var/www/cacti/scripts/ss_cisco_sfp_dom.php on line 131
PHP Notice:  Undefined index: 0 in /var/www/cacti/scripts/ss_cisco_sfp_dom.php on line 130
PHP Notice:  Undefined index: 0 in /var/www/cacti/scripts/ss_cisco_sfp_dom.php on line 131



I'm running it off the command line against an ASR920 and it seems to label them as (snmpwalk):
Code:
SNMPv2-SMI::mib-2.47.1.1.1.1.2.471 = STRING: "subslot 0/0 transceiver container 8"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.472 = STRING: "GE LX"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.473 = STRING: "12xGE-4x10GE-FIXED"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.475 = STRING: "subslot 0/0 transceiver 8 Temperature Sensor"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.476 = STRING: "subslot 0/0 transceiver 8 Supply Voltage Sensor"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.477 = STRING: "subslot 0/0 transceiver 8 Bias Current Sensor"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.478 = STRING: "subslot 0/0 transceiver 8 Tx Power Sensor"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.479 = STRING: "subslot 0/0 transceiver 8 Rx Power Sensor"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.485 = STRING: "subslot 0/0 transceiver container 9"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.499 = STRING: "subslot 0/0 transceiver container 10"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.513 = STRING: "subslot 0/0 transceiver container 11"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.514 = STRING: "GE LX"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.515 = STRING: "12xGE-4x10GE-FIXED"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.517 = STRING: "subslot 0/0 transceiver 11 Temperature Sensor"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.518 = STRING: "subslot 0/0 transceiver 11 Supply Voltage Sensor"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.519 = STRING: "subslot 0/0 transceiver 11 Bias Current Sensor"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.520 = STRING: "subslot 0/0 transceiver 11 Tx Power Sensor"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.521 = STRING: "subslot 0/0 transceiver 11 Rx Power Sensor"



With my limited PHP knowledge, it seems that it's handled by the script. However I think it fails at the while loop of the parents.

Any help appreciated!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 147 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group