logging
This commit is contained in:
parent
cd88928614
commit
b941ada2af
@ -200,7 +200,7 @@ init_dhsMIBObjects(void)
|
||||
}
|
||||
|
||||
void snmp_subagent_main () {
|
||||
snmp_enable_syslog_ident("smmapd/snmp", LOG_DEBUG);
|
||||
snmp_enable_syslog_ident("smmapd", LOG_LOCAL2);
|
||||
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