Open ArshiaSayed opened 7 years ago
I am using collectd to collect my snmp counters and send it to graphite docker. SNMP counters are coming but graphs are not coming My snmpd.conf file is
com2sec notConfigUser default public com2sec MyRad 172.16.134.222 xxxx com2sec MyRad 172.16.111.195 xxxx
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser group MyRadGroup v2c MyRad group MyRadGroup v1 MyRad
view MyRadView included .1
access notConfigGroup "" any noauth exact systemview none none access MyRadGroup "" any noauth exact MyRadView MyRadView none
###############################################################################
#
syslocation Unknown (edit /usr/local/share/snmp/snmpd.conf) syscontact Root root@localhost (configure /etc/snmp/snmp.local.conf)
pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
master agentx agentXSocket tcp:172.16.134.222:1070
My write graphite plugin configuration in collectd.conf file is
and snmp plugin is
IF I do snmpwalk inside docker container I am getting the counters snmpwalk -v2c -c xxxx 172.16.134.222 .1.3.6.1.2.1.67.1.1.1.1.5.0
But graph is not getting plotted, I am getting a blank graph. Thanks in advance
I am using collectd to collect my snmp counters and send it to graphite docker. SNMP counters are coming but graphs are not coming My snmpd.conf file is
sec.name source community
com2sec notConfigUser default public com2sec MyRad 172.16.134.222 xxxx com2sec MyRad 172.16.111.195 xxxx
Second, map the security name into a group name:
groupName securityModel securityName
group localgroup v1 local
group notConfigGroup v1 notConfigUser
group localGroup v2c local
group notConfigGroup v2c notConfigUser group MyRadGroup v2c MyRad group MyRadGroup v1 MyRad
Third, create a view for us to let the group have rights to:
Make at least snmpwalk -v 1 localhost -c public system fast again.
name incl/excl subtree mask(optional)
view systemview included .1.3.6.1.2.1.25.1.1
view MyRadView included .1
Finally, grant the group read-only access to the systemview view.
group context sec.model sec.level prefix read write notif
access notConfigGroup "" any noauth exact systemview none none access MyRadGroup "" any noauth exact MyRadView MyRadView none
###############################################################################
System contact information
#
It is also possible to set the sysContact and sysLocation system
variables through the snmpd.conf file:
syslocation Unknown (edit /usr/local/share/snmp/snmpd.conf) syscontact Root root@localhost (configure /etc/snmp/snmp.local.conf)
Added for support of bcm5820 cards.
pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
###############################################################################
Further Information
#
See the snmpd.conf manual page, and the output of "snmpd -H".
master agentx agentXSocket tcp:172.16.134.222:1070
My write graphite plugin configuration in collectd.conf file is
and snmp plugin is
IF I do snmpwalk inside docker container I am getting the counters snmpwalk -v2c -c xxxx 172.16.134.222 .1.3.6.1.2.1.67.1.1.1.1.5.0
But graph is not getting plotted, I am getting a blank graph. Thanks in advance