Fading breached image

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
User avatar
Goatmilker
Posts: 25
Joined: Tue May 08, 2007 10:07 am
Location: Belgium

Fading breached image

Post by Goatmilker »

I monitor now over 100 devices and found it sometimes difficult to catch a Thold breach from the stuffed page. although I don't want to mute an alarm each time a threshold is breached, I wanted something that I could easily spot if I'm looking at the screen. So I've made some adjustments which I would like to share with you.

For those who want to have a fading image for a threshold breach in the monitor page you can use the next procedure to change the node image in the monitor page.

  • 1) Upload the image below in the /monitor/images/ folder

    2) Find and edit the monitor.php file
    3) Find the next lines where you adjust orange.gif in orange_ani.gif as shown below

    Code: Select all

    // Create the status array (0=unknown, 1=down, 2=recovering, 3=up)
    $icolors = array('red.gif','red.gif','blue.gif','green.gif','orange_ani.gif');
    $icolorsdisplay = array('Unknown','Down','Recovering','Up','Threshold Breached');
    
Attachments
Fading image
Fading image
orange_ani.gif (13.59 KiB) Viewed 3148 times
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

That is really cool. I think this is something that i could definetly use.

thanks

app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
User avatar
Goatmilker
Posts: 25
Joined: Tue May 08, 2007 10:07 am
Location: Belgium

Post by Goatmilker »

Well... I was thinking while adjusting the yellow, why not making one for the red image? :wink: have fun!
Attachments
red_ani.gif
red_ani.gif (17.58 KiB) Viewed 3119 times
windowsrefund
Posts: 11
Joined: Thu Jul 05, 2007 8:14 pm

Post by windowsrefund »

Very nice! :lol:
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests