>
> Is anyone aware of a CF tag that can communicate with an SNMP enabled
> service? I really just need basic read-only capability for device
> monitoring, such as reading traffic throughput from a router or switch, or
> retrieving performance metrics from some other services.
Well, assuming they are set up for tcp, you can use TCPClient.
http://www.intrafoundation.com/freeware.html
If know of a couple people that have used the original cfx version to chat
with their cisco routers from cf (sh line, etc).
There's a brand new version I wrote last month that's a c++ com object as
well. Much nicer to use. (The Second Edition).
No specific SNMP, etc examples though but routers are usually telnetable
something like:
<CFOBJECT
ACTION=CREATE
NAME=obj
CLASS=Intrafoundation.TCPClient
>
<cfset c=obj.Open("router.allaire.com,"23")>
<CFINCLUDE TEMPLATE="obj.mod.cfm">
<CFIF c IS "1">
<cfset obj.timeout=3.0>
<cfset obj.SendRN("tcpclient")>
<cfset page=obj.Recv()>
<cfoutput><pre>#HTMLCodeFormat(page)#</pre></cfoutput><br>
<cfset obj.SendRN("sh line")>
<cfset page=obj.Recv()>
<cfoutput><pre>#HTMLCodeFormat(page)#</pre></cfoutput><br>
<CFINCLUDE TEMPLATE="obj.mod.cfm">
<cfset obj.Close()>
</CFIF>
~~~~~~~~~~~~~ Paid Sponsorship ~~~~~~~~~~~~~
Get Your Own Dedicated Win2K Server! Instant Activation for $99/month w/Free
Setup from SoloServer PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support
Visit SoloServer, https://secure.irides.com/clientsetup.cfm.
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists