-
-
Notifications
You must be signed in to change notification settings - Fork 438
Closed
Labels
bugUndesired behaviourUndesired behaviourunverifiedSome days we don't have a clueSome days we don't have a clue
Description
Describe the bug
Unable to change device community via change_device.php CLI script
To Reproduce
Steps to reproduce the behavior:
-
Run php -q ./cli/change_device.php --id=deviceid --ip=ipaddress --community'new_community'
-
Scripts executes correctly but snmp community stays unchanged
Sollution
Wrong name of array element in change_device.php line 89:
$overrides['community'] = trim($value);
Changing name to snmp_community fixes the issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugUndesired behaviourUndesired behaviourunverifiedSome days we don't have a clueSome days we don't have a clue