Decentralised MRTG prototype working!
"Steve Shipway" <[email protected]> Thu, 23 Sep 2010 14:26:06 +1200
| Newsgroups | gmane.network.mrtg.devel |
|---|---|
| Organization | Cheshire Cat Computing |
| Message-ID | <000001cb5ac6$b09154d0$11b3fe70$@org> |
This is a multi-part message in MIME format. --===============1732264972== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01CB5B2B.45C634D0" Content-Language: en-nz This is a multi-part message in MIME format. ------=_NextPart_000_0001_01CB5B2B.45C634D0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I've successfully managed to set up a fully decentralised MRTG/RRD/Routers2 system, using rrdcached and the patched versions of RRDTool 1.4.999, MRTG 2.16.4 and Routers2 v2.22beta1. I've just done a successful test of the Routers2 frontend to view a remote RRD file which is being updated remotely for a third location. This has the RRD databases, MRTG daemon, and Routers2 web frontend all on separate servers, communicating via the rrdcached TCP protocol. The exciting part of this is that, when/if the MRTG and RRDTool patches make it into the release, it will be possible to expand an MRTG installation horizontally without having to use handover between multiple frontends; applications like Weathermap and SWFGauge will have all the RRD files located together; and there is at last a standard generic interface for remote RRD interaction. I'll be demoing this at LISA10, although to be honest to the user nothing looks different; all the changes are behind the scenes. At the moment, none of these patches are released; I've passed to Tobi a patch for MRTG to support rrdcached via unix-domain sockets, and a patch to rrdtool-trunk for full feature support but it will take time before they make it into the development snapshots and longer until they make it into the release. The changes to routers2 will be released in beta before LISA10 but v2.22 won't come out until there are sufficient changes and testing (maybe after MRG 2.16.5?) Anyone wanting to play with this for themselves please contact me and I'll give you a copy of the patched MRTG and RRDTool sources, plus routers2 v2.22beta1 Steve _____ Steve Shipway [email protected] Routers2.cgi web frontend for MRTG/RRD; NagEventLog Nagios agent for Windows Event Log monitoring; check_vmware plugin for VMWare monitoring in Nagios and MRTG; and other Open Source projects. Web: http://www.steveshipway.org/software P Please consider the environment before printing this e-mail ------=_NextPart_000_0001_01CB5B2B.45C634D0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" = xmlns:a=3D"urn:schemas-microsoft-com:office:access" = xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" = xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" = xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" = xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" = xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" = xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" = xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" = xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" = xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" = xmlns:rtc=3D"http://microsoft.com/officenet/conferencing" = xmlns:D=3D"DAV:" xmlns:Repl=3D"http://schemas.microsoft.com/repl/" = xmlns:mt=3D"http://schemas.microsoft.com/sharepoint/soap/meetings/" = xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" = xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" = xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" = xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/" = xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" = xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" = xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/"= xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" = xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" = xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap" = xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" = xmlns:udcp2p=3D"http://schemas.microsoft.com/data/udc/parttopart" = xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" = xmlns:dsss=3D"http://schemas.microsoft.com/office/2006/digsig-setup" = xmlns:dssi=3D"http://schemas.microsoft.com/office/2006/digsig" = xmlns:mdssi=3D"http://schemas.openxmlformats.org/package/2006/digital-sig= nature" = xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006= " xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns:mrels=3D"http://schemas.openxmlformats.org/package/2006/relationshi= ps" xmlns:spwp=3D"http://microsoft.com/sharepoint/webpartpages" = xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/types"= = xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/messag= es" = xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/= " = xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPortalServer/Pub= lishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" = xmlns:st=3D"" xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Webdings; panose-1:5 3 1 2 1 5 9 6 7 3;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:"Arial Narrow"; panose-1:2 11 6 6 2 2 2 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-NZ link=3Dblue vlink=3Dpurple> <div class=3DWordSection1> <p class=3DMsoNormal>I’ve successfully managed to set up a fully decentralised MRTG/RRD/Routers2 system, using rrdcached and the patched versions of RRDTool 1.4.999, MRTG 2.16.4 and Routers2 v2.22beta1. = I’ve just done a successful test of the Routers2 frontend to view a remote = RRD file which is being updated remotely for a third location.<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>This has the RRD databases, MRTG daemon, and = Routers2 web frontend all on separate servers, communicating via the rrdcached TCP = protocol.<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>The exciting part of this is that, when/if the MRTG = and RRDTool patches make it into the release, it will be possible to expand = an MRTG installation horizontally without having to use handover between = multiple frontends; applications like Weathermap and SWFGauge will have all the = RRD files located together; and there is at last a standard generic = interface for remote RRD interaction.<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>I’ll be demoing this at LISA10, although to = be honest to the user nothing looks different; all the changes are behind the = scenes.<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>At the moment, none of these patches are released; = I’ve passed to Tobi a patch for MRTG to support rrdcached via unix-domain = sockets, and a patch to rrdtool-trunk for full feature support but it will take time = before they make it into the development snapshots and longer until they make = it into the release. The changes to routers2 will be released in beta before = LISA10 but v2.22 won’t come out until there are sufficient changes and = testing (maybe after MRG 2.16.5?)<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>Anyone wanting to play with this for themselves = please contact me and I’ll give you a copy of the patched MRTG and RRDTool = sources, plus routers2 v2.22beta1<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>Steve<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><span = lang=3DEN-US> <hr size=3D2 width=3D"100%" align=3Dcenter> </span></div> <p class=3DMsoNormal><b>Steve Shipway<o:p></o:p></b></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt'>[email protected]<o:p></o:p></span></p> <p class=3DMsoNormal><i><span = style=3D'font-size:10.0pt;color:#595959'>Routers2.cgi web frontend for MRTG/RRD; NagEventLog Nagios agent for Windows Event = Log monitoring; check_vmware plugin for VMWare monitoring in Nagios and = MRTG; and other Open Source projects.<o:p></o:p></span></i></p> <p class=3DMsoNormal><span style=3D'font-size:10.0pt'>Web: <a href=3D"http://www.steveshipway.org/software">http://www.steveshipway.org= /software</a><o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-GB = style=3D'font-size:18.0pt;font-family:Webdings; color:green'>P</span><span lang=3DEN-GB style=3D'color:blue'> = </span><span lang=3DEN-GB style=3D'font-size:10.0pt;font-family:"Arial = Narrow","sans-serif"; color:green'>Please consider the environment before printing this = e-mail</span><span lang=3DEN-GB style=3D'color:blue'> </span><span lang=3DEN-GB = style=3D'font-size:7.5pt; font-family:"Verdana","sans-serif";color:navy'><o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt'><o:p> </o:p></span></p> <p class=3DMsoNormal><o:p> </o:p></p> </div> </body> </html> ------=_NextPart_000_0001_01CB5B2B.45C634D0-- --===============1732264972== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ mrtg-developers mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg-developers --===============1732264972==--