Making MRTG work with rrdcached
"Steve Shipway" <[email protected]> Wed, 15 Sep 2010 10:51:58 +1200
| Newsgroups | gmane.network.mrtg.devel,gmane.comp.db.rrdtool.devel |
|---|---|
| Organization | Cheshire Cat Computing |
| Message-ID | <000101cb545f$734b1d80$59e15880$@org> |
This is a multi-part message in MIME format. --===============1323425302== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0002_01CB54C4.087FFD80" Content-Language: en-nz This is a multi-part message in MIME format. ------=_NextPart_000_0002_01CB54C4.087FFD80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Is anyone currently working on making MRTG 2.16.x work correctly with rrdcached (RRDTool 1.4.x)? Currently (MRTG 2.16.4) it seems that slight changes are required to make it work with rrdcached in UNIX socket mode (and thresholding functionality is lost - due to no support for updatev in rrdcached), and it does not work at all with rrdcached in TCP socket mode (due primarily to having no support for rrdcreate and rrdinfo in rrdcached). If noone else is doing anything on this (I don't want to step on any toes) I'll try to get a patch submitted for MRTG to make support for UNIX mode smoother, and maybe also a patch for RRDs and rrdcached to allow a 'what functions are available' function call that can be used. This would be expected to return a restricted list of commands if we're using rrdcached in tcp mode. 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_0002_01CB54C4.087FFD80 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:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = 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>Is anyone currently working on making MRTG 2.16.x = work correctly with rrdcached (RRDTool 1.4.x)?<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>Currently (MRTG 2.16.4) it seems that slight = changes are required to make it work with rrdcached in UNIX socket mode (and = thresholding functionality is lost – due to no support for updatev in = rrdcached), and it does not work at all with rrdcached in TCP socket mode (due primarily = to having no support for rrdcreate and rrdinfo in rrdcached).<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>If noone else is doing anything on this (I = don’t want to step on any toes) I’ll try to get a patch submitted for MRTG to = make support for UNIX mode smoother, and maybe also a patch for RRDs and = rrdcached to allow a ‘what functions are available’ function call that = can be used. This would be expected to return a restricted list of = commands if we’re using rrdcached in tcp mode.<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_0002_01CB54C4.087FFD80-- --===============1323425302== 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 --===============1323425302==--