snmpd in inittab
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I am trying to add the snmpd to the inittab smd:2345:respawn:/usr/local/sbin/snmpd -f > /var/temp/log/snmpd.log 2>&1 and it is ran normally. The problem is when i try to run my subagent it doesn't succeed in connecting and sends me a message: Warning: Failed to connect to the agentx master agent ([NIL]) What I dont understand, is that when i run the snmpd in comman line (snmpd -f) and i run my subagent, it connects normally and everythg works fine, but when i add it to the inittab, it seems that the default socket isn't found anymore I appreciate any help thanks ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users