Useful Links:

Error
  • JUser::_load: Unable to load user with id: 74

Thermometer Gadget

Description

I've got a new gadget I've written in the shape of a thermometer. The color of fluid changes on normal, warning, or critical. This gadget supports warning and critical min/max ranges (i.e. temp too cold or too hot alerts).

The images below are based on perfdata from temp=78.8F;55:93;50:98 which means, 
Current Temp: 78.8F
Warning Below Temp: 55F
Warning Above Temp: 93F
Critical Below Temp: 50F
Critical Above Temp: 98F

Requires NagVis 1.4.3 or later.

Earlier version may download the patch required for functionality at http://www.secure-computing.net/svn/trunk/nagvis/gadgets/gadgets_core.diff.  Apply the patch to gadgets_core.php.

 

Images updated slightly to offer more contrast in the 'bulb' of the thermometer.  Thanks to Michal Musil!

Submitted By
()
Submitted On
2013-07-10
File Size
288.54 Kb
Downloads
3009
License
Copyright (c) 2009, Eric F Crist (ecrist@secure-computing.net) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the Eric F Crist nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOO/ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
File HomePage
Click to visit site
Download
Rating
Total Votes0
Be the first to comment! Please sign in or register.