------=_Part_2905_32300943.1167893774702
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Dear All,
Can anybody tell why we get following error:
"No support for any checked transport domain
snmptrap: unknown host( 127.0.0.1)"
Thanks in advance
Cheers
Ankit Jalota
------=_Part_2905_32300943.1167893774702
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Dear All,<br><br>Can anybody tell why we get following error:<br><br>"No support for any checked transport domain<br>snmptrap: unknown host( <a href="http://127.0.0.1">127.0.0.1</a>)"<br><br><br>Thanks in advance
<br>Cheers <br>Ankit Jalota<br><br>
------=_Part_2905_32300943.1167893774702--
--===============0804851819==
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?page=join.php&p=sourceforge&CID=DEVDEV
--===============0804851819==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
--===============0804851819==--
Platform and OS version? net-snmp version? configure options?
What exact command(s) have you tried?
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------------------------
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?page=join.php&p=sourceforge&CID=DEVDEV
------=_Part_4089_24907514.1167903699693
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Thomas,
Actually we had put forth this problem in detail earlier
Now I'll try to address this problem again.
First of all I'll answer your question
Platform: Linux 2.6
net-snmp:5.4
configure options-->????, not sure asbout which configure options you are
asking for.
My friend and I are trying to write a code which sends the trap if
host-name is changed. on client machine.
the code is working fine for the first time, but when we try to change the
host-name for the second time
we get the error :
"No support for any checked transport domain"
snmptrap: unknown host (127.0.0.1)
In main ()
The code is to check the hostname from proc file, infinitely in while loop
and as soon as it detects the change a trap function is called.
In trap(),
We are mainly initializing the session , opening the session, creating pdu,
sending the pdu(trap) n closing the session.
main commands used for the above are:
snmp_open
snmp_pdu_create(SNMP_MSG_TRAP2)
snmp_send
snmp_close
since we are able to receive the trap for the first time, this means that we
are going on the right track. but for the next time when we change that
host-name again, there is some problem related to the session as the
snmp_open commands fails and returns NULL.
Is it correct to open and close session in a function called from main and
main runs endlessly.
I feel that some how, some session handle is left open, which stops us from
opening another session.
Kindly point out the things which we might be missing
Thanks,
Ankit Jalota
On 1/4/07, Thomas Anders <thomas...@blue-cable.de> wrote:
>
> Ankit Jalota wrote:
> > Can anybody tell why we get following error:
> >
> > "No support for any checked transport domain
> > snmptrap: unknown host( 127.0.0.1)"
>
> Platform and OS version? net-snmp version? configure options?
> What exact command(s) have you tried?
>
>
> +Thomas
>
> --
> Thomas Anders (thomas.anders at blue-cable.de)
>
------=_Part_4089_24907514.1167903699693
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Thomas,<br><br>Actually we had put forth this problem in detail earlier<br>Now I'll try to address this problem again.<br>First of all I'll answer your question<br>Platform: Linux 2.6<br>net-snmp:5.4<br>configure options-->????, not sure asbout which configure options you are asking for.
<br><br>My friend and I are trying to write a code which sends the trap if host-name is changed. on client machine.<br> <br>the code is working fine for the first time, but when we try to change the host-name for the second time
<br>we get the error :<br><br>"No support for any checked transport domain"
<br>snmptrap: unknown host (<a href="http://127.0.0.1/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a>)<br><br>In main ()<br>The
code is to check the hostname from proc file, infinitely in while loop
and as soon as it detects the change a trap function is called.
<br>In trap(),<br>We are mainly initializing the session , opening the session, creating pdu, sending the pdu(trap) n closing the session.<br>main commands used for the above are:<br>snmp_open<br>snmp_pdu_create(SNMP_MSG_TRAP2)
<br>snmp_send<br>snmp_close<br><br>since we are able to receive the
trap for the first time, this means that we are going on the right
track. but for the next time when we change that host-name again, there
is some problem related to the session as the snmp_open commands fails
and returns NULL.<br><br>Is it correct to open and close session in a function called from main and main runs endlessly.<br>I feel that some how, some session handle is left open, which stops us from opening another session.
<br><br>Kindly point out the things which we might be missing<br><br>Thanks, <span></span><br>Ankit Jalota<br><div><span class="gmail_quote">On 1/4/07, <b class="gmail_sendername">Thomas Anders</b> <<a href="mailto:thomas...@blue-cable.de">
thomas...@blue-cable.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ankit Jalota wrote:<br>> Can anybody tell why we get following error:
<br>><br>> "No support for any checked transport domain<br>> snmptrap: unknown host( <a href="http://127.0.0.1">127.0.0.1</a>)"<br><br>Platform and OS version? net-snmp version? configure options?<br>What exact command(s) have you tried?
<br><br><br>+Thomas<br><br>--<br>Thomas Anders (thomas.anders at <a href="http://blue-cable.de">blue-cable.de</a>)<br></blockquote></div><br>
------=_Part_4089_24907514.1167903699693--
--===============2093751973==
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?page=join.php&p=sourceforge&CID=DEVDEV
--===============2093751973==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
--===============2093751973==--