Hi,
I can't connect to the SNMP master agent when running as non-root user.
The sample subagent created by net-snmp-config --compile-subagent exits
with the following message:
Warning: Failed to connect to the agentx master agent
(/var/agentx/master): Unknown host (/var/agentx/master)
of this?
-Original Message-
From: Schmidt-Goertz, Ulrich [mailto:ulrich.schmidt-goe...@plath.de]
Sent: Friday, October 30, 2009 1:38 PM
To: net-snmp-users@lists.sourceforge.net
Subject: AgentX socket permission problem
Hi,
I can't connect to the SNMP master agent when running as
non-root user
Well, I have done that, and the OID is resolved correctly as
[MY_MIB::myObjectName], but I still get the error below.
-Original Message-
From: Schnell, Daniel [mailto:daniel.schn...@ndsatcom.com]
Sent: Friday, October 30, 2009 3:10 PM
To: Schmidt-Goertz, Ulrich
Cc: net-snmp-users
Hi,
I am trying to add agent functionality to my program. Since I use OOP,
I'd like to make the handlers methods of my agent class. However, so far
my attempts have met the following error (on the line where I do
netsnmp_register_scalar()):
argument of type 'int
It took me a while to realize what you were missing. It's a rather
important line:
init_snmp(snmpapp);
*facepalm*
That was the problem all right. Thanks a bunch.
Note to self: If you CP a piece code, then realize you did something
wrong and have to re-structure it, make sure to check