logging to syslog instead of stderr
This commit is contained in:
parent
95d3897971
commit
e6666d6c7a
@ -188,7 +188,7 @@ init_dhsMIBObjects(void)
|
||||
}
|
||||
|
||||
void snmp_subagent_main () {
|
||||
snmp_disable_log();
|
||||
snmp_enable_syslog_ident("smmapd/snmp", LOG_DEBUG);
|
||||
netsnmp_ds_set_boolean(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_ROLE, 1);
|
||||
init_agent("smmapd_subagent");
|
||||
init_dhsMIBObjects();
|
||||
|
Loading…
x
Reference in New Issue
Block a user