Using Unix socket domain for SNMP client (snmpget)
"Makavy, Erez (Erez)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <AAB4B3D3CF0F454F98272CBE187FDE2F0A648692@is0004avexu1.global.avaya.com> |
Hey,
I'd like to perform an SNMP get query to the localhost master agent
(onthe same machine),
and do it over the unix socket domain.
I'm using this scheme:
snmp_sess_init(&session);
ss = snmp_open(&session);
pdu = snmp_pdu_create(SNMP_MSG_GET);
snmp_synch_response(ss, pdu, &response);
I guess I should specify, somewhere in the session structure, which
socket to use.
1) Where?
2) Shouldn't the master agent be configured for a specified socket? how?
thanks,
Erez.