This is a discussion on Starting an agent without using .conf files - SNMP ; --===============0427398353== Content-Type: multipart/alternative; boundary="0-419693171-1200968212=:4458" Content-Transfer-Encoding: 8bit --0-419693171-1200968212=:4458 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Is it possible to set the community string, port, and SNMP version without using the .conf files from the code itself? I know that I can use netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,NE ...
--===============0427398353==
Content-Type: multipart/alternative; boundary="0-419693171-1200968212=:4458"
Content-Transfer-Encoding: 8bit
--0-419693171-1200968212=:4458
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Is it possible to set the community string, port, and SNMP version without using the .conf files from the code itself?
I know that I can use
netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,NE TSNMP_DS_AGENT_PORTS, "1161");
to set the port, are there equivalent functions for the community strings and version selection?
Thanks
---------------------------------
Never miss a thing. Make Yahoo your homepage.
--0-419693171-1200968212=:4458
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Is it possible to set the community string, port, and SNMP version without using the .conf files from the code itself?I know that I can usenetsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,NE TSNMP_DS_AGENT_PORTS, "1161");to set the port, are there equivalent functions for the community strings and version selection?Thanks
Never miss a thing. Make Yahoo your homepage.
--0-419693171-1200968212=:4458--
--===============0427398353==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============0427398353==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
--===============0427398353==--