Re: How to specify the sysdescr in snmpd.conf to read a customised sys description?

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Fri, 2005-11-11 at 12:00 +0800, Jim Su wrote:
>     I try to set a "sysdescr" in the snmpd.conf file.
>  I saw the example in the /etc/snmp/snmpd.conf of
>  "syslocation Unknown (configure /etc/snmp/snmpd.local.conf)". 
>     Is this the same way to set the sysdescr?

Yes.

    $ man snmpd.conf

    sysdescr STRING
	Sets the system description ... for the agent.


>     My desired sysdescr is kept in one text file on the
>  user home directory on target machine.

The Net-SNMP agent doesn't support reading the description
from a separate file.  It takes the string directly from the
snmpd.conf directive.

Reading a separate file is an interesting idea.
I suggest you log this as a Feature Request in the
project tracker system, so it doesn't get forgotten.

Dave


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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
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.