Re: Extending the agent with C++

2006-09-11 Thread Chino Aureus
Hi, What I do is pun the header files in "extern "C" block: extern "C" {     #include     #include     #include     // other header files written in C }; ... // Class declarations Regards, Chino On 9/11/06, Sebastian Bello <[EMAIL PROTECTED]> wrote: Hi all, how do I extend the agent

AGENTX via tcp socket

2006-09-05 Thread Chino Aureus
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 n

Re: Subhandler function

2006-08-30 Thread Chino Aureus
Thanks :)On 8/31/06, sishen <[EMAIL PROTECTED]> wrote: Chino Aureus wrote:>> 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&

Subhandler function

2006-08-30 Thread Chino Aureus
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 *

Re: Secure SNMP

2006-08-30 Thread Chino Aureus
o On 8/29/06, Dave Shield <[EMAIL 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 SN

Secure SNMP

2006-08-29 Thread Chino Aureus
Hi All,Good Day.Does net-snmp support Secure SNMP (S-SNMP).  What's the RFC for Secure SNMP?Regards,Chino - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated te

Subagent (agentx) run as non-root

2006-08-15 Thread Chino Aureus
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

SNMP Trap - Heart Beat

2006-07-31 Thread Chino Aureus
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

Re: Problem connecting subagent(AGENTX) to master agent

2006-04-21 Thread Chino Aureus
, 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

Problem connecting subagent(AGENTX) to master agent

2006-04-19 Thread Chino Aureus
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

C++ snmp-agent

2006-04-12 Thread Chino Aureus
Hi, I there a C++ library/API for netsnmp subagent (AGENTX)?  Where can find some examples. Thanks, Chino

Object not writable

2006-04-12 Thread Chino Aureus
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

Developing An SNMP-Aware Application

2005-10-10 Thread Chino Aureus
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 thi