Re: SNMP community strings

From: Nick Krontiris (nkrontir@hotmail.com)
Date: 05/29/02


From: nkrontir@hotmail.com (Nick Krontiris)
Date: 29 May 2002 07:27:46 -0700

Dave Pimlott <newsgroups@SPAMFILTERdavepimlott.info> wrote in message news:<3CF202D6.C2FACEC6@SPAMFILTERdavepimlott.info>...
> Nick Krontiris wrote:
> >
> > After that, I restarted then snmp daemon and run a snmp query on the
> > machine using a command line from a linux box, querying the "public"
> > community strings, as well as from a windows machine running
> > solarwinds. The answer came back normally, just like before. Then, I
> > queried again using the new community strings, but no answer came back
> > meaning that the new queries did not use the community strings I had
> > set, but the default public ones.
> > I thought that maybe there were more daemons running that involve
> > snmp, so I rebooted the unix box.
> > To my surprise, my manual query from my linux box as well as
> > solarwinds replied once more that the community strings were set to
> > "public".
> > So I guess the answer to your question is that I restarted the daemon,
> > and after I saw that this did not work, I rebooted the machine...
>
> Cool, that should have worked... what I didn't want to say in my first
> post was - "did you restart the SNMP daemon" because some might take
> offense at such an elementary suggestion...
>
> I only have experience of the UCD SNMP implementation on Solaris, but
> here goes with some generic ideas:
> - search for all files with snmp in them, I would use "find / -print |
> grep snmp" you might have a better solution. Check for conf files in
> places you haven't modified.
> - you might have been on the right track with your idea about multiple
> daemons, try "ps -ef | grep snmp" (for SysV style unix) or "ps ax | grep
> snmp" (for BSD style).
> - for SysV unices check the init scripts to see if the conf file is hard
> coded.
> - check the man page for other / default conf files?!?
>
> Hope this helps...
>
> Dave.
Thanks for your help Dave. What I did in the end was abandon the
default daemon that my system used and installed ucd snmp! Everything
works now!
Thanks for your time.



Relevant Pages

  • Re: SNMP community strings
    ... >> I'm stuck trying to change the snmp community strings on a unix box. ... So I guess the answer to your question is that I restarted the daemon, ...
    (comp.security.unix)
  • Re: SNMP community strings
    ... >> I'm stuck trying to change the snmp community strings on a unix box. ... So I guess the answer to your question is that I restarted the daemon, ...
    (comp.security.unix)
  • RE: Snmp daemon doesnt work but loaded ...
    ... Snmp daemon doesn't work but loaded ... ... i'd like to use and learn more about SNMP protocole. ... very commonly an invalid community string. ... lot for nagios, it works great. ...
    (Fedora)
  • Re: listening for change daemon
    ... Would you be writing your own daemon for this? ... There is a notion within the SNMP spec that differentiates between ... polled SNMP GET parameters and an RMON threshold where an SNMP trap ...
    (comp.unix.questions)
  • Re: SNMP community strings
    ... I restarted then snmp daemon and run a snmp query on the ... as well as from a windows machine running ... >> queried again using the new community strings, ... >> So I guess the answer to your question is that I restarted the daemon, ...
    (comp.security.unix)