Question

Centreon plugin Arista mode entity


Badge +9

Hello,

 

I use the plugin centreon for Arista: /usr/lib/centreon/plugins/centreon_arista.pl  - - plugin=network::arista::snmp::plugin --mode=entity XXXXXXXXXXXXXx

 

Does possible to get Fan info only? PS info only? the other info except FAN and PS

 

Cordialy

Francis


2 replies

Userlevel 6
Badge +19

Hi, 


Yes, with a regex in the --filter option. Without your command output I won’t be able to help more.

Badge +9

Hello;

 

This is my output:

 

sensor 'Cpu temp sensor' status is 'ok' [instance = celsius.100006001, value = 41.6]
sensor 'Cpu board temp sensor' status is 'ok' [instance = celsius.100006002, value = 35]
sensor 'Back-panel temp sensor' status is 'ok' [instance = celsius.100006003, value = 31.5]
sensor 'Board temp sensor' status is 'ok' [instance = celsius.100006004, value = 35]
sensor 'Front-panel temp sensor' status is 'ok' [instance = celsius.100006005, value = 30.6]
sensor 'Trident3 top left outer sensor' status is 'ok' [instance = celsius.100006006, value = 37.1]
sensor 'Trident3 bottom left outer sensor' status is 'ok' [instance = celsius.100006007, value = 38.7]
sensor 'Trident3 bottom right outer sensor' status is 'ok' [instance = celsius.100006008, value = 38.2]
sensor 'Trident3 top right outer sensor' status is 'ok' [instance = celsius.100006009, value = 37.6]
sensor 'Trident3 top left center sensor' status is 'ok' [instance = celsius.100006010, value = 38.7]
sensor 'Trident3 top right center sensor' status is 'ok' [instance = celsius.100006011, value = 39.2]
sensor 'Trident3 top right inner sensor' status is 'ok' [instance = celsius.100006012, value = 37.1]
sensor 'Trident3 top center sensor' status is 'ok' [instance = celsius.100006013, value = 40.3]
sensor 'Trident3 bottom center sensor' status is 'ok' [instance = celsius.100006014, value = 36.6]
sensor 'Trident3 bottom left center sensor' status is 'ok' [instance = celsius.100006015, value = 41.4]
sensor 'Trident3 bottom right center sensor' status is 'ok' [instance = celsius.100006016, value = 40.3]
sensor 'CpucardPwrCon Rail8 0V95' status is 'ok' [instance = voltsAC.100006101, value = 0.95]
sensor 'CpucardPwrCon Rail4 1V8' status is 'ok' [instance = voltsAC.100006102, value = 1.8]
sensor 'CpucardPwrCon Rail12 1V2' status is 'ok' [instance = voltsAC.100006103, value = 1.21]
sensor 'CpucardPwrCon Rail2 5V' status is 'ok' [instance = voltsAC.100006104, value = 5]
sensor 'CpucardPwrCon Rail10 3V3' status is 'ok' [instance = voltsAC.100006105, value = 3.3]
sensor 'CpucardPwrCon Rail6 1V35' status is 'ok' [instance = voltsAC.100006106, value = 1.35]
sensor 'CpucardPwrCon Rail1 12V standby' status is 'ok' [instance = voltsAC.100006107, value = 12.16]
sensor 'CpucardPwrCon Rail9 1V8' status is 'ok' [instance = voltsAC.100006108, value = 1.81]
sensor 'CpucardPwrCon Rail5 1V5' status is 'ok' [instance = voltsAC.100006109, value = 1.51]
sensor 'CpucardPwrCon Rail3 3V3' status is 'ok' [instance = voltsAC.100006110, value = 3.31]
sensor 'CpucardPwrCon Rail11 0V95' status is 'ok' [instance = voltsAC.100006111, value = 0.95]
sensor 'CpucardPwrCon Rail7 0V67' status is 'ok' [instance = voltsAC.100006112, value = 0.68]
sensor 'SwitchcardPwrCon Rail1 P0V8AR' status is 'ok' [instance = voltsAC.100006113, value = 0.8]
sensor 'SwitchcardPwrCon Rail2 P0V8AL' status is 'ok' [instance = voltsAC.100006114, value = 0.8]
sensor 'SwitchcardPwrCon Rail3 P0V9' status is 'ok' [instance = voltsAC.100006115, value = 0.84]
sensor 'SwitchcardPwrCon Rail4 P1V2SCD' status is 'ok' [instance = voltsAC.100006116, value = 1.2]
sensor 'SwitchcardPwrCon Rail5 P1V2TD' status is 'ok' [instance = voltsAC.100006117, value = 1.2]
sensor 'SwitchcardPwrCon Rail6 P1V5CPLD' status is 'ok' [instance = voltsAC.100006118, value = 1.52]
sensor 'SwitchcardPwrCon Rail7 P1V8' status is 'ok' [instance = voltsAC.100006119, value = 1.8]
sensor 'SwitchcardPwrCon Rail8 P3V3' status is 'ok' [instance = voltsAC.100006120, value = 3.29]
sensor 'SwitchcardPwrCon Rail9 P3V3STDBY' status is 'ok' [instance = voltsAC.100006121, value = 3.29]
sensor 'SwitchcardPwrCon Rail10 P3V3_ISL_CTRL' status is 'ok' [instance = voltsAC.100006122, value = 3.29]
sensor 'SwitchcardPwrCon Rail11 P12V' status is 'ok' [instance = voltsAC.100006123, value = 11.82]
sensor 'DOM Temperature Sensor for Ethernet2' status is 'ok' [instance = celsius.100302201, value = 43]
sensor 'DOM Voltage Sensor for Ethernet2' status is 'ok' [instance = voltsDC.100302202, value = 3.29]
sensor 'DOM TX Bias Sensor for Ethernet2/1' status is 'ok' [instance = amperes.100302211, value = 7.5]
sensor 'DOM TX Power Sensor for Ethernet2/1' status is 'ok' [instance = watts.100302212, value = 1.149]
sensor 'DOM RX Power Sensor for Ethernet2/1' status is 'ok' [instance = watts.100302213, value = 1.0707]
sensor 'DOM TX Bias Sensor for Ethernet2/2' status is 'ok' [instance = amperes.100302221, value = 7.5]
sensor 'DOM TX Power Sensor for Ethernet2/2' status is 'ok' [instance = watts.100302222, value = 1.1427]
sensor 'DOM RX Power Sensor for Ethernet2/2' status is 'ok' [instance = watts.100302223, value = 1.0707]
sensor 'DOM TX Bias Sensor for Ethernet2/3' status is 'ok' [instance = amperes.100302231, value = 7.5]
sensor 'DOM TX Power Sensor for Ethernet2/3' status is 'ok' [instance = watts.100302232, value = 1.1447]
sensor 'DOM RX Power Sensor for Ethernet2/3' status is 'ok' [instance = watts.100302233, value = 1.0158]
sensor 'DOM TX Bias Sensor for Ethernet2/4' status is 'ok' [instance = amperes.100302241, value = 7.5]
sensor 'DOM TX Power Sensor for Ethernet2/4' status is 'ok' [instance = watts.100302242, value = 1.1447]
sensor 'DOM RX Power Sensor for Ethernet2/4' status is 'ok' [instance = watts.100302243, value = 1.0158]
sensor 'DOM Temperature Sensor for Ethernet4' status is 'ok' [instance = celsius.100304201, value = 42.4]
sensor 'DOM Voltage Sensor for Ethernet4' status is 'ok' [instance = voltsDC.100304202, value = 3.28]
sensor 'DOM TX Bias Sensor for Ethernet4/1' status is 'ok' [instance = amperes.100304211, value = 7.5]
sensor 'DOM TX Power Sensor for Ethernet4/1' status is 'ok' [instance = watts.100304212, value = 1.1374]
sensor 'DOM RX Power Sensor for Ethernet4/1' status is 'ok' [instance = watts.100304213, value = 1.0353]
sensor 'DOM TX Bias Sensor for Ethernet4/2' status is 'ok' [instance = amperes.100304221, value = 7.5]
sensor 'DOM TX Power Sensor for Ethernet4/2' status is 'ok' [instance = watts.100304222, value = 1.1374]
sensor 'DOM RX Power Sensor for Ethernet4/2' status is 'ok' [instance = watts.100304223, value = 1.0353]
sensor 'DOM TX Bias Sensor for Ethernet4/3' status is 'ok' [instance = amperes.100304231, value = 7.5]
sensor 'DOM TX Power Sensor for Ethernet4/3' status is 'ok' [instance = watts.100304232, value = 1.169]
sensor 'DOM RX Power Sensor for Ethernet4/3' status is 'ok' [instance = watts.100304233, value = 1.0617]
sensor 'DOM TX Bias Sensor for Ethernet4/4' status is 'ok' [instance = amperes.100304241, value = 7.5]
sensor 'DOM TX Power Sensor for Ethernet4/4' status is 'ok' [instance = watts.100304242, value = 1.169]
sensor 'DOM RX Power Sensor for Ethernet4/4' status is 'ok' [instance = watts.100304243, value = 1.0617]
sensor 'DOM Temperature Sensor for Ethernet8' status is 'ok' [instance = celsius.100308201, value = 46.8]
sensor 'DOM Voltage Sensor for Ethernet8' status is 'ok' [instance = voltsDC.100308202, value = 3.28]
sensor 'DOM TX Bias Sensor for Ethernet8/1' status is 'ok' [instance = amperes.100308211, value = 47.05]
sensor 'DOM TX Power Sensor for Ethernet8/1' status is 'ok' [instance = watts.100308212, value = 1.1351]
sensor 'DOM RX Power Sensor for Ethernet8/1' status is 'ok' [instance = watts.100308213, value = 0.7011]
sensor 'DOM TX Bias Sensor for Ethernet8/2' status is 'ok' [instance = amperes.100308221, value = 46.62]
sensor 'DOM TX Power Sensor for Ethernet8/2' status is 'ok' [instance = watts.100308222, value = 1.007]
sensor 'DOM RX Power Sensor for Ethernet8/2' status is 'ok' [instance = watts.100308223, value = 0.4916]
sensor 'DOM TX Bias Sensor for Ethernet8/3' status is 'ok' [instance = amperes.100308231, value = 44.33]
sensor 'DOM TX Power Sensor for Ethernet8/3' status is 'ok' [instance = watts.100308232, value = 1.1704]
sensor 'DOM RX Power Sensor for Ethernet8/3' status is 'ok' [instance = watts.100308233, value = 0.3805]
sensor 'DOM TX Bias Sensor for Ethernet8/4' status is 'ok' [instance = amperes.100308241, value = 43.32]
sensor 'DOM TX Power Sensor for Ethernet8/4' status is 'ok' [instance = watts.100308242, value = 1.1917]
sensor 'DOM RX Power Sensor for Ethernet8/4' status is 'ok' [instance = watts.100308243, value = 0.3642]
sensor 'DOM Temperature Sensor for Ethernet30' status is 'ok' [instance = celsius.100330201, value = 44.3]
sensor 'DOM Voltage Sensor for Ethernet30' status is 'ok' [instance = voltsDC.100330202, value = 3.27]
sensor 'DOM TX Bias Sensor for Ethernet30/1' status is 'ok' [instance = amperes.100330211, value = 40.42]
sensor 'DOM TX Power Sensor for Ethernet30/1' status is 'ok' [instance = watts.100330212, value = 1.0703]
sensor 'DOM RX Power Sensor for Ethernet30/1' status is 'ok' [instance = watts.100330213, value = 0.9344]
sensor 'DOM TX Bias Sensor for Ethernet30/2' status is 'ok' [instance = amperes.100330221, value = 42.81]
sensor 'DOM TX Power Sensor for Ethernet30/2' status is 'ok' [instance = watts.100330222, value = 0.8392]
sensor 'DOM RX Power Sensor for Ethernet30/2' status is 'ok' [instance = watts.100330223, value = 0.7861]
sensor 'DOM TX Bias Sensor for Ethernet30/3' status is 'ok' [instance = amperes.100330231, value = 39.74]
sensor 'DOM TX Power Sensor for Ethernet30/3' status is 'ok' [instance = watts.100330232, value = 0.7887]
sensor 'DOM RX Power Sensor for Ethernet30/3' status is 'ok' [instance = watts.100330233, value = 0.7611]
sensor 'DOM TX Bias Sensor for Ethernet30/4' status is 'ok' [instance = amperes.100330241, value = 38.13]
sensor 'DOM TX Power Sensor for Ethernet30/4' status is 'ok' [instance = watts.100330242, value = 0.8161]
sensor 'DOM RX Power Sensor for Ethernet30/4' status is 'ok' [instance = watts.100330243, value = 0.9315]
sensor 'DOM Temperature Sensor for Ethernet31' status is 'ok' [instance = celsius.100331201, value = 42.6]
sensor 'DOM Voltage Sensor for Ethernet31' status is 'ok' [instance = voltsDC.100331202, value = 3.29]
sensor 'DOM TX Bias Sensor for Ethernet31/1' status is 'ok' [instance = amperes.100331211, value = 40.78]
sensor 'DOM TX Power Sensor for Ethernet31/1' status is 'ok' [instance = watts.100331212, value = 1.2983]
sensor 'DOM RX Power Sensor for Ethernet31/1' status is 'ok' [instance = watts.100331213, value = 0.3041]
sensor 'DOM TX Bias Sensor for Ethernet31/2' status is 'ok' [instance = amperes.100331221, value = 40.69]
sensor 'DOM TX Power Sensor for Ethernet31/2' status is 'ok' [instance = watts.100331222, value = 1.5936]
sensor 'DOM RX Power Sensor for Ethernet31/2' status is 'ok' [instance = watts.100331223, value = 0.2471]
sensor 'DOM TX Bias Sensor for Ethernet31/3' status is 'ok' [instance = amperes.100331231, value = 40.69]
sensor 'DOM TX Power Sensor for Ethernet31/3' status is 'ok' [instance = watts.100331232, value = 1.7418]
sensor 'DOM RX Power Sensor for Ethernet31/3' status is 'ok' [instance = watts.100331233, value = 0.2886]
sensor 'DOM TX Bias Sensor for Ethernet31/4' status is 'ok' [instance = amperes.100331241, value = 40.69]
sensor 'DOM TX Power Sensor for Ethernet31/4' status is 'ok' [instance = watts.100331242, value = 1.948]
sensor 'DOM RX Power Sensor for Ethernet31/4' status is 'ok' [instance = watts.100331243, value = 0.2626]
sensor 'DOM Temperature Sensor for Ethernet32' status is 'ok' [instance = celsius.100332201, value = 49.3]
sensor 'DOM Voltage Sensor for Ethernet32' status is 'ok' [instance = voltsDC.100332202, value = 3.21]
sensor 'DOM TX Bias Sensor for Ethernet32/1' status is 'ok' [instance = amperes.100332211, value = 87.89]
sensor 'DOM TX Power Sensor for Ethernet32/1' status is 'ok' [instance = watts.100332212, value = 2.1065]
sensor 'DOM RX Power Sensor for Ethernet32/1' status is 'ok' [instance = watts.100332213, value = 0.0211]
sensor 'DOM TX Bias Sensor for Ethernet32/2' status is 'ok' [instance = amperes.100332221, value = 90.88]
sensor 'DOM TX Power Sensor for Ethernet32/2' status is 'ok' [instance = watts.100332222, value = 1.7984]
sensor 'DOM RX Power Sensor for Ethernet32/2' status is 'ok' [instance = watts.100332223, value = 0.0195]
sensor 'DOM TX Bias Sensor for Ethernet32/3' status is 'ok' [instance = amperes.100332231, value = 87.89]
sensor 'DOM TX Power Sensor for Ethernet32/3' status is 'ok' [instance = watts.100332232, value = 1.9314]
sensor 'DOM RX Power Sensor for Ethernet32/3' status is 'ok' [instance = watts.100332233, value = 0.0221]
sensor 'DOM TX Bias Sensor for Ethernet32/4' status is 'ok' [instance = amperes.100332241, value = 87.89]
sensor 'DOM TX Power Sensor for Ethernet32/4' status is 'ok' [instance = watts.100332242, value = 1.8045]
sensor 'DOM RX Power Sensor for Ethernet32/4' status is 'ok' [instance = watts.100332243, value = 0.0201]
sensor 'Fan Tray 1 Fan 1 Sensor 1' status is 'ok' [instance = rpm.100601111, value = 8474]
sensor 'Fan Tray 2 Fan 1 Sensor 1' status is 'ok' [instance = rpm.100602111, value = 8241]
sensor 'Fan Tray 3 Fan 1 Sensor 1' status is 'ok' [instance = rpm.100603111, value = 8379]
sensor 'Fan Tray 4 Fan 1 Sensor 1' status is 'ok' [instance = rpm.100604111, value = 8620]
sensor 'Hotspot' status is 'ok' [instance = celsius.100711101, value = 39]
sensor 'Inlet' status is 'ok' [instance = celsius.100711102, value = 26]
sensor 'Secondary hotspot' status is 'ok' [instance = celsius.100711103, value = 40]
sensor 'Input current sensor' status is 'ok' [instance = amperes.100711104, value = 0.43]
sensor 'Output current sensor' status is 'ok' [instance = amperes.100711105, value = 6.51]
sensor 'Input voltage sensor' status is 'ok' [instance = voltsAC.100711106, value = 230.75]
sensor 'Output voltage sensor' status is 'ok' [instance = voltsAC.100711107, value = 12.29]
sensor 'PowerSupply1 Fan 1 Sensor 1' status is 'ok' [instance = rpm.100711211, value = 7712]
sensor 'Hotspot' status is 'ok' [instance = celsius.100721101, value = 36]
sensor 'Inlet' status is 'ok' [instance = celsius.100721102, value = 25]
sensor 'Secondary hotspot' status is 'ok' [instance = celsius.100721103, value = 37]
sensor 'Input current sensor' status is 'ok' [instance = amperes.100721104, value = 0.28]
sensor 'Output current sensor' status is 'ok' [instance = amperes.100721105, value = 3.64]
sensor 'Input voltage sensor' status is 'ok' [instance = voltsAC.100721106, value = 231.5]
sensor 'Output voltage sensor' status is 'ok' [instance = voltsAC.100721107, value = 12.29]
sensor 'PowerSupply2 Fan 1 Sensor 1' status is 'ok' [instance = rpm.100721211, value = 7760]

Reply