Skip to main content

hello,  

 

i have essue to get data from sophos XG :

 /usr/lib/centreon/plugins//centreon_sophos_es_snmp.pl --plugin=network::sophos:🇪🇸:snmp::plugin --mode=health --hostname=x.x.x.x --snmp-version='2c' --snmp-community='Support'  --component='' --verbose

UNKNOWN: component 'Cpu' status is '' - component 'PowerSupplyRight' status is '' - component 'PowerSupplyLeft' status is '' - component 'PowerSupplyFanLeft' status is '' - component 'PowerSupplyFanRight' status is '' - component 'MemoryConsumption' status is '' - component 'PowerSupplies' status is '' - component 'Raid' status is '' - component 'Memory' status is '' - component 'Voltage' status is '' - component 'SystemFan' status is '' - component 'Temperature' status is '' - system 'CrossWired' status is '' - system 'ConfigBackup' status is '' - system 'UpgradeInstall' status is '' - system 'SpxTrialLicense' status is '' - system 'Cloned' status is '' - system 'QuarantineSummary' status is '' - system 'Cluster' status is '' - system 'UpgradeConnection' status is '' - system 'Node' status is '' - system 'SpxEncryption' status is '' - system 'SyslogConnection' status is '' - system 'MailDiskUsage' status is '' - system 'UpdateDataInstall' status is '' - system 'MailConnections' status is '' - system 'License' status is '' - system 'MailShostError' status is '' - system 'Certificate' status is '' - system 'QuarantineBackup' status is '' - system 'UpdateConnection' status is '' - system 'MailDiskUsageQuarantine' status is '' - system 'ClusterSync' status is '' - system 'UpdatePendingreboot' status is '' - system 'SystemLoad' status is '' - system 'SpxQueue' status is '' - system 'UpgradeDownload' status is '' - system 'MailException' status is '' - system 'TrialLicense' status is '' - system 'IncomingQueue' status is '' - system 'SandboxLicense' status is '' - system 'MailTLSError' status is '' - system 'LogfileBackup' status is '' - system 'MailLdapSync' status is '' - system 'Reboot' status is '' - system 'DeliveryQueue' status is '' - system 'ProcessHealth' status is '' - system 'ClusterConnect' status is '' - system 'UpgradeAvailable' status is '' - system 'SpxFailureQueue' status is '' - system 'SyslogProcess' status is ''

Checking components

component 'Cpu' status is '' sinstance: Cpu].

component 'PowerSupplyRight' status is '' sinstance: PowerSupplyRight].

component 'PowerSupplyLeft' status is '' sinstance: PowerSupplyLeft].

component 'PowerSupplyFanLeft' status is '' sinstance: PowerSupplyFanLeft].

component 'PowerSupplyFanRight' status is '' sinstance: PowerSupplyFanRight].

component 'MemoryConsumption' status is '' sinstance: MemoryConsumption].

component 'PowerSupplies' status is '' sinstance: PowerSupplies].

component 'Raid' status is '' sinstance: Raid].

component 'Memory' status is '' sinstance: Memory].

component 'Voltage' status is '' sinstance: Voltage].

component 'SystemFan' status is '' sinstance: SystemFan].

component 'Temperature' status is '' sinstance: Temperature].

Checking system

system 'CrossWired' status is '' sinstance: CrossWired].

system 'ConfigBackup' status is '' sinstance: ConfigBackup].

system 'UpgradeInstall' status is '' sinstance: UpgradeInstall].

system 'SpxTrialLicense' status is '' sinstance: SpxTrialLicense].

system 'Cloned' status is '' sinstance: Cloned].

system 'QuarantineSummary' status is '' sinstance: QuarantineSummary].

system 'Cluster' status is '' sinstance: Cluster].

system 'UpgradeConnection' status is '' sinstance: UpgradeConnection].

system 'Node' status is '' sinstance: Node].

system 'SpxEncryption' status is '' sinstance: SpxEncryption].

system 'SyslogConnection' status is '' sinstance: SyslogConnection].

system 'MailDiskUsage' status is '' sinstance: MailDiskUsage].

system 'UpdateDataInstall' status is '' sinstance: UpdateDataInstall].

system 'MailConnections' status is '' sinstance: MailConnections].

system 'License' status is '' sinstance: License].

system 'MailShostError' status is '' sinstance: MailShostError].

system 'Certificate' status is '' sinstance: Certificate].

system 'QuarantineBackup' status is '' sinstance: QuarantineBackup].

system 'UpdateConnection' status is '' sinstance: UpdateConnection].

system 'MailDiskUsageQuarantine' status is '' sinstance: MailDiskUsageQuarantine].

system 'ClusterSync' status is '' sinstance: ClusterSync].

system 'UpdatePendingreboot' status is '' sinstance: UpdatePendingreboot].

system 'SystemLoad' status is '' sinstance: SystemLoad].

system 'SpxQueue' status is '' sinstance: SpxQueue].

system 'UpgradeDownload' status is '' sinstance: UpgradeDownload].

system 'MailException' status is '' sinstance: MailException].

system 'TrialLicense' status is '' sinstance: TrialLicense].

system 'IncomingQueue' status is '' sinstance: IncomingQueue].

system 'SandboxLicense' status is '' sinstance: SandboxLicense].

system 'MailTLSError' status is '' sinstance: MailTLSError].

system 'LogfileBackup' status is '' sinstance: LogfileBackup].

system 'MailLdapSync' status is '' sinstance: MailLdapSync].

system 'Reboot' status is '' sinstance: Reboot].

system 'DeliveryQueue' status is '' sinstance: DeliveryQueue].

system 'ProcessHealth' status is '' sinstance: ProcessHealth].

system 'ClusterConnect' status is '' sinstance: ClusterConnect].

system 'UpgradeAvailable' status is '' sinstance: UpgradeAvailable].

system 'SpxFailureQueue' status is '' sinstance: SpxFailureQueue].

system 'SyslogProcess' status is '' sinstance: SyslogProcess].

 

any idea ???

Hello 👋 @yassine 

🤔

Is XG same as ES? Also, can you get an snmpwalk to: `.1.3.6.1.4.1.2604.3.7`

 

https://github.com/centreon/centreon-plugins/blob/develop/src/network/sophos/es/snmp/mode/components/component.pm#L32C46-L32C67


hello ponchoh, 

I can't find the Sophos XG plugin; that's why I used the ES plugin. I'm not sure if it will work or not.


Worth the try, did you do an snmpwalk to the OID? `.1.3.6.1.4.1.2604.3.7`


Reply