[mrtg] Re: using other port numbers other then 161 udp

Stieers, Ken KStieers at DainRauscher.com
Mon Jul 19 22:43:37 MEST 1999


Adrian, 

It would behoove you to look at the config.html file and look at the section
titled Target, specifically this section:


In all places where ``community at router'' is accepted, you can add additional
parameters for the SNMP communication using colon-separated suffixes. The
full syntax is as follows: 

 community at router[:port[:timeout[:retries[:backoff]]]]

where the meaning of each parameter is as follows: 


port 
the UDP port under which to contact the SNMP agent (default: 161) 

timeout 
initial timeout for SNMP queries, in seconds (default: 2.0) 

retries 
number of times a timed-out request will be retried (default: 5) 

backoff 
factor by which the timeout is multiplied on every retry (default: 1.0). 

A value that equals the default value can be omitted. Trailing colons can be
omitted, too. 
Example: 


  Target[ezci]: 1:public at ezci-ether.ethz.ch:9161::4

This would refer to the input/output octet counters for the interface with
ifIndex 1 on ezci-ether.ethz.ch, as known by the SNMP agent listening on UDP
port 9161. The standard initial timeout (2.0 seconds) is used, but the
number of retries is set to four. The backoff value is the default. 



Ken


> -----Original Message-----
> From: Adrien Alexson [mailto:aalexson at packetworks.net]
> Sent: Monday, July 19, 1999 3:33 PM
> To: 'mrtg at list.ee.ethz.ch'
> Subject: [mrtg] using other port numbers other then 161 udp
> 
> 
> how would i be able to use mrtg, but instead of using port 
> 161udp, use other ports?
> 
> thanks in advance.
> 
> adrien
> 
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
>   subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
> 

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list