Good morning Dave,

Can you said me if my /etc/snmp/snmpd.conf file is ok ?


com2sec nro      default         public
com2sec nrw      default         netman

group   nrogp    v1              nro
group   nrogp    v2c             nro
group   nrwgp    v1              nrw
group   nrwgp    v2c             nrw


view    fview           included        .1

access  nrogp     ""      any     noauth    exact  fview  none    none
access  nrwgp     ""      any     noauth    exact  fview  fview   none

syslocation Unknown
syscontact Root <[EMAIL PROTECTED]>

#-----------------------------------------------------------------------#
# PROXIES
#-----------------------------------------------------------------------#
# Ferma Agent HOST
proxy -v 1 -c netman localhost:7070 .1.3.6.1.2.1.25
# Ferma Agent IDM
proxy -v 1 -c netman localhost:7071 .1.3.6.1.4.1.2390.1.2.2
# Ferma Agent SDP
proxy -v 1 -c netman localhost:7072 .1.3.6.1.4.1.2390.2.3.2
# Ferma Agent GATEWAY
proxy -v 1 -c netman localhost:7073 .1.3.6.1.4.1.2390.2.3.1
# Ferma Agent UCC
proxy -v 1 -c netman localhost:7074 .1.3.6.1.4.1.2390.1.4.4
# Ferma Agent CHECKSYS
proxy -v 1 -c netman localhost:7075 .1.3.6.1.4.1.2390.1.3.1


Why I have two snmpd.conf file ( /etc/snmp/snmpd.conf and 
/etc/snmp/conf/snmpd.conf ) ?

/etc/snmp/conf/snmpd.conf contains another data ,

sysdescr        Sun SNMP Agent,
syscontact      System administrator
sysLocation     System administrators office
#
system-group-read-community     public
system-group-write-community    netman
#
read-community  public
write-community netman
#
#trap           172.17.118.18
#trap-community  SNMP-trap
#
#kernel-file     /vmunix
#
#managers        lvs golden
managers        172.17.118.18


If I have no answer from my /opt/FERMA/sbin/agtcks agent
can be follow from a bad build binary ... ?

I have some traces for agent code, and I see that the "var_agent" 
function ( of my agent code )is never call ...
What cluld be explain that?

I see new library libnetsnmpmibs.la and libnetsnmpagent.la build in my 
MakefileAgent.
This library are install by make install ?
My binary agent need to acced this library to run correctly ? ...


I look for an exemple for MakefileAgent and MakefileMibgroup adaptation ...
Where can I found it ?

Thanks,
Sandrine.

Sandrine MONOT a écrit :
>
> Like we have snmpd agent launching when we execute /etc/init.d/init.sma,
> I don't understand that you want ...
> Sorry.
>
> I execute the command:
>
> /opt/FERMA/sbin/agtcks  -f -Le -Dread-config -c  
> /etc/opt/FERMA/agent.cfg 7075
> registered debug token read-config, 1
> NET-SNMP version 5.4
>
> So the conf file are read...
>
> That can I try to investigate,
>
> Sandrine.
>
> Dave Shield a écrit :
>> On 15/05/07, Sandrine MONOT <[EMAIL PROTECTED]> wrote:
>>> Dave,
>>> "/opt/FERMA/sbin/agtcks" is my agent binary build with net-snmp5.4,
>>> How /opt/FERMA/sbin/agtcks can confusing the snmpd agent  of solaris 10
>>> x86 system ?
>>
>> You said that the command you were running was:
>>
>>    /usr/local/sbin/snmpd  -f -Le -Dread-config
>>         /opt/FERMA/sbin/agtcks -c  /etc/opt/FERMA/agent.cfg 7075
>>
>> That implies that the SNMP agent is '/usr/local/sbin/snmpd'
>> If you wish to run the agent /opt/FERMA/sbin/agticks
>> then I'd expect you to use the command
>>
>>    /opt/FERMA/sbin/agtcks  -f -Le -Dread-config
>>         -c  /etc/opt/FERMA/agent.cfg 7075
>>
>> (or similar).
>>
>> I don't understand why you're trying to mix both
>> '/usr/local/sbin/snmpd' and '/opt/FERMA/sbin/agtcks'
>> in the same command.
>>
>>
>>
>> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to