Re: Unknown token on snmp.conf

Ba Duy Man Le <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
The problem could be another agente process is running. 
  Try ps -qa|grep agente ,kill that process and run again.

Javier Chico <[email protected]> wrote:  Hello,

I've implemented a standalone agent and I want configure it to listen on
a specific port. The main() of my code looks like this:

init_snmp("tid-pgm");
init_master_agent();

I've created a tid-pgm.conf on $NETSNMP_INSTALLATION/share/snmp with
this line:

defaultPort 3020

And finally, here is the output when I execute the agent:

# ./agente
/usr/jcc/net-snmp/share/snmp/tid-pgm.conf: line 8: Warning: Unknown
token: defaultPort.
Error opening specified endpoint "udp:161"
tid-pgm snmp agent is up and running.

What's the problem?

Thanks in advance.





-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



Ba Duy Man,Le
Telecommunication Engineering
The University of Technology, Sydney

		
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1&cent;/min.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.