Hello, Assuming I have no community string configured (and so cannot use 'snmpwalk' and other similar binaries), when I turn the snmp daemon on, is there a way to determine it has done initialization and ready for queries?
I found that checking if the log file exists gives a good indication (if it was created already, snmpd is ready), but then there's a problem when I turn snmpd on, off and then on again. Since the log file isn't deleted when snmpd is turned off, it's gonna be there in the second time even before I turn snmpd on. A short sleep() after turning snmpd on can do the trick, but obviously that's a bad practice. Anything else I can do to get a good indication? Thanks.
_______________________________________________ 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