Re: about agentx support in windows

This is a discussion on Re: about agentx support in windows within the SNMP Coders forums, part of the Networking and Network Related category; --===============0769762361== Content-Type: multipart/alternative; boundary="----=_Part_6088_25702446.1165330887524" ------=_Part_6088_25702446.1165330887524 Content-Type: text/plain; charset=ISO-8859-1; ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-05-2006
bhushan
 
Posts: n/a
Default Re: about agentx support in windows

--===============0769762361==
Content-Type: multipart/alternative;
boundary="----=_Part_6088_25702446.1165330887524"

------=_Part_6088_25702446.1165330887524
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hello Sir
to get correct understanding of my problem log message of linux
& windows as follows
in Linux
[root@wifi-security-server trap_agent]# ./agent
In assigning add_trap_session
In assigning Value to sinks add_trap_session // My Comment
In assiged Value to sinks add_trap_session // sinks global variable
that i said you in
No log handling enabled - turning on stderr logging // previous mail, that
variable get fill here
NET-SNMP version 5.4 AgentX subagent connected // <-- also not getting why
this message not coming under windows
send_spectraGuardEvent_trap before send_trap
In send_v2 trap function
In send_trap_vars function
non enterprise specific
Calling netsnmp_send_trap function
At Initial stage 1
At stage 2
At stage 2.1
At stage 2.2
At stage 2.3
At stage 2.4
At stage 2.5
At stage 4
At stage 2.6
Stage 2 end
At stage 4
At stage 5
At stage 6
At stage 6.1 loop // This is log which i putted in for loop
Sending trap v2 // so v2 trap get send by subagent
At stage 7
At stage 8
returning from netsnmp_send_traps

this is for Windows
C:\NETSNMP>subagent1.exe
In send_v2 trap function
In send_trap_vars function
non enterprise specific
Calling netsnmp_send_trap function
At Initial stage 1
At stage 2
At stage 2.1
At stage 2.2
At stage 2.3
At stage 2.4
At stage 2.5
At stage 4
At stage 2.6
Stage 2 end
At stage 4
At stage 5
At stage 6
At stage 7
At stage 8
returning from netsnmp_send_traps

do looking at both log I understand that sinks variable not get fill at
initial stage
i.e. in init_agent function in windows where as it get fill in linux
I am attaching by agent_trap.c with this mail, also my agent code with this
mail
Please help me in this .
Thanks in advance
Regards
Bhushan

------=_Part_6088_25702446.1165330887524
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hello Sir<br>to get correct understanding of my problem log message of linux <br>&amp; windows as follows<br>in Linux <br>[root@wifi-security-server trap_agent]# ./agent<br>In assigning add_trap_session<br>In assigning Value to sinks add_trap_session&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span style="color: rgb(255, 0, 0);">// My Comment</span><br>In assiged Value to sinks add_trap_session&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; <span style="color: rgb(255, 0, 0);">// sinks global variable that i said you in</span> <br>No log handling enabled - turning on stderr logging
<span style="color: rgb(255, 0, 0);">// previous mail, that variable get fill here</span> <br>NET-SNMP version 5.4 AgentX subagent connected <span style="color: rgb(255, 0, 0);">//&nbsp; &lt;-- also not getting why this message not coming under windows
</span><br>send_spectraGuardEvent_trap before send_trap<br>In send_v2 trap function<br>In send_trap_vars function
<br>&nbsp;non enterprise specific<br>&nbsp;Calling netsnmp_send_trap function<br>At Initial stage 1<br>At&nbsp; stage 2<br>At&nbsp; stage 2.1<br>At&nbsp; stage 2.2<br>At&nbsp; stage 2.3<br>At&nbsp; stage 2.4<br>At&nbsp; stage 2.5<br>At&nbsp; stage 4&nbsp;<br>At&nbsp; stage 2.6

<br>Stage 2 end<br>At&nbsp; stage 4<br>At&nbsp; stage 5<br>At&nbsp; stage 6<br>At&nbsp; stage 6.1 loop&nbsp; <span style="color: rgb(255, 0, 0);">// This is log which i putted in for loop </span><br>&nbsp;Sending trap v2&nbsp;&nbsp;&nbsp; <span style="color: rgb(255, 0, 0);">

// so v2 trap get send by subagent</span><br>At&nbsp; stage 7<br>At&nbsp; stage 8<br>&nbsp;returning from netsnmp_send_traps<br><br>this is for Windows<br>C:\NETSNMP&gt;subagent1.exe<br>In send_v2 trap function<br>In send_trap_vars function
<br>&nbsp;non enterprise specific<br>&nbsp;Calling netsnmp_send_trap function<br>At Initial stage 1<br>At&nbsp; stage 2<br>At&nbsp; stage 2.1<br>At&nbsp; stage 2.2<br>At&nbsp; stage 2.3<br>At&nbsp; stage 2.4<br>At&nbsp; stage 2.5<br>At&nbsp; stage 4<br>At&nbsp; stage 2.6
<br>
Stage 2 end<br>At&nbsp; stage 4<br>At&nbsp; stage 5<br>At&nbsp; stage 6<br>At&nbsp; stage 7<br>At&nbsp; stage 8<br>&nbsp;returning from netsnmp_send_traps<br><br>do looking at both log I understand that sinks variable not get fill at initial stage <br>

i.e. in init_agent function in windows where as it get fill in linux<br>I am attaching by agent_trap.c with this mail, also my agent code with this mail <br>Please help me in this .<br>Thanks in advance<br>Regards <br>Bhushan
<br><br><br><br><br>


------=_Part_6088_25702446.1165330887524--


--===============0769762361==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
--===============0769762361==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

--===============0769762361==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 02:44 AM.


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