Cannot successfully configure SNMP in Ubuntu20
by BigD63 from LinuxQuestions.org on (#5M6ZT)
Hello all,
I am here to see what im missing, and I am a Linux newb.
If this matters everything here is in AWS.
I am setting up, trying to, snmp v2c (i started by pulling down a new installation of snmp with apt-get install snmpd) for use with Observium. The Observium server is alive and well, and a few Windows servers are already communicating with it fine.
I also did no add this to Ubuntu specifically as I will also have Amazon Linux, Centos, and Debian to do this with as well once im done here.
OK, if it matters im using nano for editting.
I have read several tutorials and all are similar and I have tried most combo's I can think of from the info i have found.
agentAddress udp:161,udp6:[::1]:161
Gave errors about not communicating with 127.0.0.1
agentAddress udp:0.0.0.0 with or without /24 at the end it reflected the IP address and when I checked status after restarting the service got this message:
Active: failed (Result: exit-code) then gives date and time stamp.
Per other instructions I have also read i tried at the end of the agentAddress line after the ip (space)udp:161 and this produced the same error.
Also i do have the rocommunity (communityname) there as well and the rocommuinity6 listing, I have tried with one\the other\both
I can ping the observium server from here so i know it can see it, and windows servers are working just fine connecting, but a majority of the companies servers are linux, so this needs to work.
The error feels very vague to me, maybe it isnt to a non-newb :)
I am 100% confident this is a me issue, not a server issue, so if someone could point me in the right direction i can get this squared away.
Thanks all!
I am here to see what im missing, and I am a Linux newb.
If this matters everything here is in AWS.
I am setting up, trying to, snmp v2c (i started by pulling down a new installation of snmp with apt-get install snmpd) for use with Observium. The Observium server is alive and well, and a few Windows servers are already communicating with it fine.
I also did no add this to Ubuntu specifically as I will also have Amazon Linux, Centos, and Debian to do this with as well once im done here.
OK, if it matters im using nano for editting.
I have read several tutorials and all are similar and I have tried most combo's I can think of from the info i have found.
agentAddress udp:161,udp6:[::1]:161
Gave errors about not communicating with 127.0.0.1
agentAddress udp:0.0.0.0 with or without /24 at the end it reflected the IP address and when I checked status after restarting the service got this message:
Active: failed (Result: exit-code) then gives date and time stamp.
Per other instructions I have also read i tried at the end of the agentAddress line after the ip (space)udp:161 and this produced the same error.
Also i do have the rocommunity (communityname) there as well and the rocommuinity6 listing, I have tried with one\the other\both
I can ping the observium server from here so i know it can see it, and windows servers are working just fine connecting, but a majority of the companies servers are linux, so this needs to work.
The error feels very vague to me, maybe it isnt to a non-newb :)
I am 100% confident this is a me issue, not a server issue, so if someone could point me in the right direction i can get this squared away.
Thanks all!