here are some perl scripts http://www.dnaco.net/~billyemu/mrtg/index.html "Benjamin S. Rogers" <[EMAIL PROTECTED]> wrote: Easier said than done. :) We recently played with MRTG and some of the extensions that are part of the distribution. It was easy enough to get MRTG up and running: we had it monitoring the throughput on one of our Cisco routers and dumping the data to the RRDTool. However, we wanted to monitor bandwidth utilization by IP address using Cisco's IP Accounting. We never did get that working properly. This despite the fact that several MRTG extensions (hacks) distributed with MRTG that supposedly handle this. I think this is because the current incarnation of MRTG (even using the RRDTool) is not very extensible. However, I think this is mostly due to complexity of SNMP itself (yeah, I know what the acronym stands for :). It didn't help that we have no good Perl programmers on staff. To make a long story short, if you are not very knowledgeable about SNMP and don't have a terrible amount of time to devote to it, I wouldn't try to adapt MRTG to whatever you are going to do. If you don't know Perl, skip it all together. I am interested in Lewis Sellers' CFX_TCPClient. I wonder if one couldn't write an SNMP wrapper in the form of a CFML tag. Of course, a fairly good working knowledge of SNMP would still be required. Benjamin S. Rogers Web Developer, c4.net voice: (508) 240-0051 fax: (508) 240-0057 -----Original Message----- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Friday, December 29, 2000 12:31 PM To: CF-Talk Subject: Re: [RE: SNMP Tag?] http://www.mrtg.org [EMAIL PROTECTED] (lsellers) wrote: > > 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/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

