-   Linux - Networking (
-   -   SNMP/MRTG on a Firewall Gateway (

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.


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/ line 627
SNMPWALK Problem for 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 04:53 AM.