Config file name

2004-11-05 Thread Sridhar S
Hello All, Is there any way to get the name of the configuration filename that was read by the SNMP master agent ? Thanks Sridhar --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader

Re: Config file name

2004-12-29 Thread Dave Shield
> Is there any way to get the name of the configuration filename > that was read by the SNMP master agent ? You can retrieve the "type" used by an SNMP application using: netsnmp_ds_get_string(NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_LIB_APPTYPE); That will indicat

Re: Config file name

2004-12-30 Thread Sridhar S
Dave, Thanks for the reply > What exactly are you trying to do? While shutting down the agent I am reading SNMP configurations from the database and generating SNMP configuration file (snmpd.conf), that can be read by the agent during the next start-up. Currently I am harding coding the SNMP con

Re: Config file name

2004-12-30 Thread Dave Shield
> > What exactly are you trying to do? > > While shutting down the agent I am reading SNMP configurations from the > database and generating SNMP configuration file (snmpd.conf), that can > be read by the agent during the next start-up. Currently I am harding > coding the SNMP configuraiton filena

Re: Config file name

2004-12-31 Thread Sridhar S
Dave, Thanks for the reply. I am thinking of using snmp_register_callback () api. SrIdhar On Thu, 30 Dec 2004 22:53:36 +, "Dave Shield" <[EMAIL PROTECTED]> said: > > > What exactly are you trying to do? > > > > While shutting down the agent I am reading SNMP configurations from the > > dat