Re: SNMP in netkit

Alberto Andrés Rodríguez <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CABaV_Z8q7fmgVHN4zuis3Zgf6AjeitRWNdSA0PiWazsUsJ3_bg@mail.gmail.com>
I was trying to reinstall the snmp and change the configuration, but I
receiving the same message as before, the configuration that I put on SNMP
is the following:

rocommunity mycommunityname

syslocation "mylocation"

syscontact [email protected]


and then I change the following configuration:

# snmpd options (use syslog, close stdin/out/err).

SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux –p /var/run/snmpd.pid

127.0.0.1'

For this one

# snmpd options (use syslog, close stdin/out/err).

#SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid

127.0.0.1'

SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid
-c /etc/snmp/snmpd.conf'


But I don't know If I have to tweak more the snmpd.conf... Can anyone tell
me what I need to configure?

Thanks in advance

On 4 January 2013 13:15, Dave Shield <[email protected]> wrote:

>     [ First - *please* don't mail me privately, without copying
>      any responses to the mailing list.  I don't have the time
>      or inclination to offer private, unpaid, SNMP consultancy.
>      Keep discussions to the list, where others can both learn
>      and offer advice.  Thanks.   ]
>
>
> On 4 January 2013 09:57, Alberto Andrés Rodríguez <[email protected]>
> wrote:
> >
> > Dave, in case I type the command snmpgetnext -v 2c -c public localhost
> .1.3.6.1.2.1.4.21 I get the following response:
> > RFC1213-MIB::ipRouteTable = No more variables left in this MIB view (It
> is past the end of the MIB tree)
>
> Yes - that's what I thought you might get.
>
>
> > Searching in other forums I realized that this problem would be caused
> by a bad configuration of snmp.conf.
>
> <grin>
>
> > If you think that would be other problem, please let me know
>
> No - I think you've found the most likely cause of the problem,
> The agent is typically configured to only report the system group by
> default,
> so you wouldn't be able to see anything from the ip group.
>    Tweak the snmpd.conf file to allow wider access, and you should be fine.
>
> (See the FAQ entry
>      I can see the system group, but nothing else. Why?
>             for more details)
>
> Dave
>



-- 

*Alberto Andrés Rodríguez*

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.