Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-11-2010, 01:41 PM   #1
LQ Newbie
Registered: Mar 2005
Location: United States
Distribution: ArchLinux, Core, FreeBSD
Posts: 14

Rep: Reputation: Disabled
Question 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.

Last edited by spydrmn; 01-11-2010 at 03:09 PM. Reason: Found typo in the servers configuration.
Old 01-11-2010, 02:15 PM   #2
LQ Newbie
Registered: Mar 2005
Location: United States
Distribution: ArchLinux, Core, FreeBSD
Posts: 14

Original Poster
Rep: Reputation: Disabled
Wanted to add that "cfgmaker public@localhost" and "cfgmaker public@localhost" works when logged into the server I want to monitor.


firewall, iptables, mrtg, nat, snmp

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with MRTG and SNMP wooonix Linux - Networking 3 06-15-2009 09:59 PM
snmp-mrtg ahmed4linux Linux - General 1 11-03-2004 07:27 AM
Net-SNMP and MRTG Astro Linux - Networking 5 07-25-2003 03:24 AM
help with mrtg and snmp cristi1979 Linux - Networking 1 06-24-2003 08:49 PM
Snmp/mrtg hydro Linux - Software 1 06-15-2003 09:39 AM > Forums > Linux Forums > Linux - Networking

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration