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; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============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 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>& 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 <span style="color: rgb(255, 0, 0);">// My Comment</span><br>In assiged Value to sinks add_trap_session &nbs p; <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);">// <-- 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> non enterprise specific<br> Calling netsnmp_send_trap function<br>At Initial stage 1<br>At stage 2<br>At stage 2.1<br>At stage 2.2<br>At stage 2.3<br>At stage 2.4<br>At stage 2.5<br>At stage 4 <br>At stage 2.6 <br>Stage 2 end<br>At stage 4<br>At stage 5<br>At stage 6<br>At stage 6.1 loop <span style="color: rgb(255, 0, 0);">// This is log which i putted in for loop </span><br> Sending trap v2 <span style="color: rgb(255, 0, 0);"> // so v2 trap get send by subagent</span><br>At stage 7<br>At stage 8<br> returning from netsnmp_send_traps<br><br>this is for Windows<br>C:\NETSNMP>subagent1.exe<br>In send_v2 trap function<br>In send_trap_vars function <br> non enterprise specific<br> Calling netsnmp_send_trap function<br>At Initial stage 1<br>At stage 2<br>At stage 2.1<br>At stage 2.2<br>At stage 2.3<br>At stage 2.4<br>At stage 2.5<br>At stage 4<br>At stage 2.6 <br> Stage 2 end<br>At stage 4<br>At stage 5<br>At stage 6<br>At stage 7<br>At stage 8<br> 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==-- |