Re: agents with net-snmp 5.4

This is a discussion on Re: agents with net-snmp 5.4 within the SNMP Coders forums, part of the Networking and Network Related category; On 22/05/07, Sandrine MONOT <sandrine.monot@eservglobal.com> wrote: > And I launch the agent with ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-22-2007
Dave Shield
 
Posts: n/a
Default Re: agents with net-snmp 5.4

On 22/05/07, Sandrine MONOT <sandrine.monot@eservglobal.com> wrote:
> And I launch the agent with the command :
> /opt/FERMA/sbin/agtcks -c /etc/opt/FERMA/agent.cfg -f -Le -Dread_config
> -d localhost:7075
>
> I execute snmpgetnext, snmpget and snmpwalk request in another windows,
> I obtain answer, i have seen the agent send data ...




> But when i launch the agent with the command :
>
> /opt/FERMA/sbin/agtcks -c /etc/opt/FERMA/agent.cfg udp:7075
>
> I have an answer for snmpget, this seems to be correct.
> But the answer of snmpgetnext and snmpwalk ( after debug traces ),
> finish by :
> Timeout: No Response from localhost:7075.


When you say "finish by" - do you mean that you get some
results, followed by this timeout message? Or is this the
*only* output you get from the getnext/walk request?

If you do see some real results first, what is the last such value?

It would probably also be useful if you could indicate the *exact*
commands you are running each time - rather than something
vague like "snmpgetnext" or "snmpwalk".



> And I constate that the agent is downed !


Not necessarily.
It may be waiting for results from somewhere else, or looking
for a result that is within an authorised view. Without a clearer
description of exactly what you're trying, and exactly what you
are seeing, it's difficult to comment.


> It's normal ? the command /opt/FERMA/sbin/agtcks -c
> /etc/opt/FERMA/agent.cfg udp:7075
> is appropriated ?


> It's the same thing with /opt/FERMA/sbin/agtcks -c
> /etc/opt/FERMA/agent.cfg 7075



Either of those should be OK.
Just to be certain, try using the same invocation as the
debug version - but without the irrelevant flags.
I.e if things worked with

/opt/FERMA/sbin/agtcks .... -f -Le -Dread_config -d localhost:7075

then try with

/opt/FERMA/sbin/agtcks .... localhost:7075

In gnereal, if you've got something that works, it's a good idea to
change as little as possible.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:54 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0