Hi,

 

Are you planning to add snmpv3 context support to observium?

 

I can see that in file includes/snmp.inc.php:

 

switch ($device['snmp_version'])

  {

    case 'v3':

      $cmd = ' -v3 -l ' . escapeshellarg($device['snmp_authlevel']);

      /* NOTE.

       * For proper work of 'vlan-' context on cisco, it is necessary to add 'match prefix' in snmp-server config --mike

       * example: snmp-server group MONITOR v3 auth match prefix access SNMP-MONITOR

       */

      $cmd .= ($vlan) ? ' -n "vlan-' . $vlan . '"' : ' -n ""'; // Some devices, like HP, always require option '-n'

 

Observium adds context vlan-$vlan for cisco switches if $vlan variable is defined.

Would be great to have option to add device with context during new device definition (like option to choose transport protocol, port timout etc).

 

Best regards,

Tomasz Kwiecień