Re: SNMP + MRTG... WTF?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What about snmpwalk -c COMMUNITY localhost.

That should return something.  If that works, try
snmpget -c localhost interfaces.ifNumber.0

Let us know

Leonard
Automatically inserted lawyer blurb follows
 
>>> rpaiz@xxxxxxxxxxxxxx 10/15/03 01:34 AM >>>
At 11:09 10/14/2003, you wrote:
>Rodolfo,
>
>My MRTG Config file: ((Edited for my comm strings -- MYCOMMSTRING is 
>substituted))
><snip>

Thanks a lot, Brett. Using your config as a template I have been able to

get snmpd to stop reporting errors. Now it stops and starts quietly, and

"netstat -leanp" shows snmpd listening on 0.0.0.0:161 as it should. 
However, issuing the test command "snmpget -v 1 localhost COMMUNITY 
interfaces.ifNumber.0" results in an error of "Timeout: No Response from

localhost."

I have also created a simple mrtg.cfg file based on your template which
I 
_think_ is correct. However, like the test snmpget command running mrtg 
reports that no response was received.

Although I didn't think that could be the problem, I have ruled out 
firewall issues by temporarily clearing all rules and setting policies
to 
ACCEPT. But in testing again, same result. Of course port 161 is not 
accessible from outside the box (only via the lo interface), and port
scans 
confirm that.

Here is a copy of my /etc/snmpd/snmpd.conf:

------------------------------------------------
com2sec     local              localhost                  COMMUNITY-1
com2sec     mynetwork   aa.bb.cc.dd/29        COMMUNITY-2

# Note that I don't know what "v2c" or "v1" mean yet... have not
# found them in the documentation anywhere. Again, yet.
group     MyRWGroup     v2c     local
group     MyROGroup      v1      mynetwork

view     all     included     .1 
    80

# The error messages said "exact" or "prefix" were valid choices,
# and your example had "exact". However, I do not know what
# either of these two keywords mean yet.
access     MyROGroup     ""     any     noauth     exact     all    
none 
   none
access     MyRWGroup     ""    any     noauth     exact     all     all 
      all

syslocation Guatemala (Factorrent)
syscontact Rodolfo J. Paiz <rpaiz@xxxxxxxxxxxxxx>
------------------------------------------------

What could be the problem with my SNMPd?


-- 
Rodolfo J. Paiz
rpaiz@xxxxxxxxxxxxxx


**********CONFIDENTIALITY NOTICE**********
The information contained in this e-mail may be confidential and/or 
privileged and is intended for the sole use of the individual or 
organization named above.  If you are not the intended recipient or an 
authorized representative of the intended recipient, any review, copying
or distribution of this e-mail and its attachments, if any, is prohibited.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete this message from your system.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux