<p dir="ltr">You might want to have a look at this: <a href="http://nagiosplug.sourceforge.net/developer-guidelines.html">http://nagiosplug.sourceforge.net/developer-guidelines.html</a>. Calculation is done by your plugin. </p>

<div class="gmail_quote">Am 24.04.2013 18:07 schrieb "Net Warrior" <<a href="mailto:netwarrior863@gmail.com">netwarrior863@gmail.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><br></div>Hi guys.<br><br></div>I made my own check_disk plugin which is working fine, now I realized that it does not return  any performance data information like the original check_disk, when I checked nagiograph I realized  that the information was old, related to the original check_disk plugin when I was implementing nagiosgraph.<br>

<br>This is what the original plugin returns:<br>DISK OK - free space: /home 367 MB (89% inode=98%);| /home=43MB;343;;0;433<br><br></div><div>The plugin is made in bash, can someone guide me or give me an example code about how to add that functionality to my script? In the example above the plugin returns  ;| /home=43MB;343;;0;433, how's that calculated?<br>

<br></div><div>Thank you very much for your time and support<br></div><div>Best Regards.<br></div><br></div>
<br>------------------------------------------------------------------------------<br>
Try New Relic Now & We'll Send You this Cool Shirt<br>
New Relic is the only SaaS-based application performance monitoring service<br>
that delivers powerful full stack analytics. Optimize and monitor your<br>
browser, app, & servers with just a few lines of code. Try New Relic<br>
and get this awesome Nerd Life shirt! <a href="http://p.sf.net/sfu/newrelic_d2d_apr" target="_blank">http://p.sf.net/sfu/newrelic_d2d_apr</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div>