On Wednesday, December 31, 2014 8:43 AM, David Hauck wrote: > HI Wes, > > On Friday, November 28, 2014 7:19 PM, David Hauck wrote: >> On Fri, 28 Nov 2014 at 18:26:00, Wes Hardaker wrote: >>> SNMP doesn't have a "delete" command, so it isn't really possible >>> to delete a value via snmp. You can set it to blank, or another >>> value, but not >> to "go away". >> >> Yes, this is fine, and I'm curious how to "reset" the value to blank >> via the snmpd.conf file. I couldn't see a way to do this (i.e., >> enter an > "empty string"). > > Is there a way to specify an "empty string" for these parameters in > the snmpd.conf file?
Another gentle ping here. There does not seem to be possible with Net-SNMP's current implementation of read_config()/copy_nword_const(). The comments for the latter function appear to indicate that parsing a "" should result in an empty token, however this doesn't seem to be what's happening (an snmpget on the resulting object returns \"\"). Before I look into this further I'd like to know what the intention is here: i.e., is there meant to be support for specifying an empty string for these objects (sys*) in the configuration file? Regards, -David > Thanks, > -David > > ---------------------------------------------------------------------- > -------- Dive into the World of Parallel Programming! The Go Parallel > Website, sponsored by Intel and developed in partnership with Slashdot > Media, is your hub for all things parallel software development, from > weekly thought leadership blogs to news, videos, case studies, tutorials > and more. Take a look and join the conversation now. > http://goparallel.sourceforge.net > _______________________________________________ Net-snmp-users mailing > list Net-snmp-users@lists.sourceforge.net Please see the following page > to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users