centreon-plugins icon indicating copy to clipboard operation
centreon-plugins copied to clipboard

ISCSI Target - new plugin

Open joschi99 opened this issue 4 years ago • 2 comments

It should be great to have a plugin to check the ISCSI Target status:

  • node: target name (IQN)
  • address: IP address of the target
  • port: Port to connect on the target, standard 3260

joschi99 avatar Nov 16 '20 19:11 joschi99

How do you want to monitor that ?

garnier-quentin avatar Nov 17 '20 09:11 garnier-quentin

For Windows iSCSI clients powershell could be a solution:

If a iSCSI disk is attached then you can have a detaild output using:

Get-IscsiSession

 

AuthenticationType      : ONEWAYCHAP

InitiatorInstanceName   : ROOT\ISCSIPRT\0000_0

InitiatorNodeAddress    : iqn.1991-05.com.microsoft:veeamsidera

InitiatorPortalAddress  : 0.0.0.0

InitiatorSideIdentifier : 400001370001

IsConnected             : True

IsDataDigest            : False

IsDiscovered            : True

IsHeaderDigest          : False

IsPersistent            : True

NumberOfConnections     : 1

SessionIdentifier       : ffff870122415010-4000013700000002

TargetNodeAddress       : iqn.2005-10.org.freenas.ctl:veeamsidera01

TargetSideIdentifier    : ddba

PSComputerName          :

If the disk is disconnected, then the same command produce a empty output. Maybe could be included on os::windows::local

For linux based systems I will do some investigation and I could send you then some details.

joschi99 avatar Dec 08 '20 17:12 joschi99

Hi, Thanks for your interest in Centreon. Requests for new features and enhancements must be suggested here. Troubleshooting and questions must now be asked here (cf our new issue template.

Thank you for your understanding.

fmattesct avatar Oct 31 '23 15:10 fmattesct