View Issue Details

IDProjectCategoryView StatusLast Update
0015690CentOS-7net-snmppublic2019-01-10 11:03
Reporterfebi881 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version7.4.1708 
Target VersionFixed in Version 
Summary0015690: variable declared inside /etc/sysconfig/snmpd is throwing the error
Description am managing the /etc/sysconfig/snmpd file from puppet and we have two management IPs which will be populated from puppet.

The content of /etc/sysconfig/snmpd is as below

MGMTIPS="192.168.17.108 192.168.17.109"
OPTIONS="-LS 0-4 d -Lf /dev/null -p /var/run/snmpd.pid -a 127.0.0.1 $MGMTIPS"

But when I start the snmp service I am getting the error "Error opening specified endpoint "$MGMTIPS"" Looks like the variable value is not parsing.

Kindly advise.
Steps To Reproduce1. Declare a variable with two IPs inside /etc/sysconfig/snmpd file and use the variable inside OPTIONS
TagsNo tags attached.
abrt_hash
URL

Activities

febi881

febi881

2019-01-10 11:03

reporter   ~0033555

Issue ID: 15688 was opened earlier and by mistake I typed single quotes instead of double quotes, kindly help.

Issue History

Date Modified Username Field Change
2019-01-10 11:01 febi881 New Issue
2019-01-10 11:03 febi881 Note Added: 0033555