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 mym...@mymail.com
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 <d.t.shi...@liverpool.ac.uk> 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 <pitu1...@gmail.com>
> 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users