LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SNMP/MRTG on a Firewall Gateway (http://www.linuxquestions.org/questions/linux-networking-3/snmp-mrtg-on-a-firewall-gateway-781523/)

spydrmn 01-11-2010 01:41 PM

SNMP/MRTG on a Firewall Gateway
 
I'm having a small issue setting up MRTG to poll a linux box acting as a Firewall/Gateway. The iptables are set up to NAT, which I think may be causing the issue.

I'm not too up on iptables, so I am not too certain where to start.


I did find a similar problem on the forum. It was solved with a simple FQDN added to /etc/host but that hasn't resolved the issue for me.

Here is a snip of the error I receive.

Code:

root@mrtg:~# cfgmaker public@<ip_address>
SNMP Error:
no response received
SNMPv1_Session (remote host: "<ip_address>" [<ip_address>].161)
                  community: "public"
                request ID: 1328749382
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/share/perl5/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@<ip_address>::::::v4only
 at /usr/bin/cfgmaker line 925
WARNING: Skipping public@<ip_address>: as no info could be retrieved

EDIT: Found typo in the servers configuration.

spydrmn 01-11-2010 02:15 PM

Wanted to add that "cfgmaker public@localhost" and "cfgmaker public@localhost" works when logged into the server I want to monitor.


All times are GMT -5. The time now is 06:55 PM.