Hi,
What I do is pun the header files in extern C block:
extern C {
#include net-snmp/net-snmp-config.h
#include net-snmp/net-snmp-includes.h
#include net-snmp/agent/net-snmp-agent-includes.h
// other header files written in C
};
...
// Class declarations
Regards,
Chino
On 9/11/06,
Hi All,
Is it possible for my subagent (AGENTX) to connect to the master agent via tcp socket ? What should
I set on my snmpd.conf? How about on the initialization of the subagent?
Many thanks :)
Chino
-
Using Tomcat but
PROTECTED]
wrote:
On 29/08/06, Chino Aureus [EMAIL PROTECTED] wrote: Does net-snmp support Secure SNMP (S-SNMP).What's the RFC for Secure SNMP?
What exactly do you mean by Secure SNMP?
The Net-SNMP suite certainly supports SNMPv3, which has the securityframework which was lacking from earlier
Hi,
I have an integer variable which I'm exposing via my MIB. What I
want to achive is when a SNMP GET operation is performned on this
variable , the value will be reset to 0. I'm using the function
below to register the int variable.
int netsnmp_register_int_instance (const char *name, oid
Hi,
I'm using net-snmp 5.0.9 on Red Hat Enterprise Linux. My problem is i can't run
my subagent as non-root user. It says:
Error: Failed to connect to the agentx master agent: Unknown host (No such file or directory)
I tried adding the following on /etc/snmpd.conf file:
agentXPerms 0660 0550
Hi,
I'm new to SNMP. Is it proper if I use traps on my agent as a heartbeat?
Regards,
Chino
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
, as a newbie to NET-SNMP, wasn't very clear to me.
Appreciate any help.
Thanks :)
Chino
On 4/19/06, Thomas Anders [EMAIL PROTECTED] wrote:
Chino Aureus wrote: I'm having trouble connecting a subagent(agentX) to a master agent.I works when i'm running the master agent (snmpd) and subagent as root
Hi,
I'm having trouble connecting a subagent(agentX) to a master
agent. I works when i'm running the master agent (snmpd) and
subagent as root. However, when I run subagent as 'non-root' it
says:
Error: Failed to connect to the agentx master agent: Unknown host (No such file or directory)
Any
Hi,
I'm new to snmp I was trying the sub-agent example in this web site:
http://www.net-snmp.com/tutorial/tutorial-5/toolkit/demon/index.html
Compilation and execution of subagent went ok. I was able to
execute snmpget and get the result ok. However, when I executed
(SNMPSET):
snmpset -v 2c
Hi,
I there a C++ library/API for netsnmp subagent (AGENTX)? Where can find some examples.
Thanks,
Chino
Hi,
I'm new to SNMP. Basically, I'm developing a server application
and wan't this app monitored via SNMP. On the console,
I want to see both O.S. related stats (e.g. resource utilization) and my app related stats (e.g. data queues, TPS, etc...).
Any suggestions on how should I implement this
11 matches
Mail list logo