[mrtg] Re: SMTP on TCP port

Peter P. Benac ppbenac at emacolet.com
Wed Nov 26 17:37:30 MET 2003


Chris,

    MRTG talks to the SNMP agents running on the remote system to extract
the data it requires.  If you are trying to get MRTG to talk to net-snmp
then you ARE writing an agent.

    Regardless, if you are going to bind to UDP port 161 you MUST disable
the Redhat Agents and you can NOT use the Listen/Connect functions that TCP
uses.  You MUST use the recv function for the socket.  Listen/Connect is for
TCP.  The recv function is for UDP.  

    I suspect you can do the snmpwalks on this device locally because the
RedHat agents are running.  I further suspect that you can't do so remotely
because your installation of RedHat has the remote snmp functions to it's
Agents disabled or blocked.

Pete
----
Peter P. Benac, CCNA
Emacolet Networking Services, Inc
Providing Systems and Network Consulting, Training, Web Hosting Services
Phone: 919-847-1740 or 866-701-2345
Web: http://www.emacolet.com
Need quick reliable Systems or Network Management advice visit
http://www.nmsusers.org

To have principles...
             First have courage.. With principles comes integrity!!!



> -----Original Message-----
> From: Chris Wilson [mailto:chris at sigmer.com] 
> Sent: Wednesday, November 26, 2003 11:27
> To: Peter P. Benac
> Cc: mrtg at list.ee.ethz.ch
> Subject: Re: [mrtg] Re: SMTP on TCP port
> 
> 
>> 

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list