Windows Service status

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
lex8009
Posts: 37
Joined: Thu May 18, 2006 4:30 pm

Windows Service status

Post by lex8009 »

Does anyone know how make the graph display 2 different color based on the status of the graph, i.e. red for down and blue for up?

thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

First, the basic info must be numeric. No numbers, no graphs.
Second, use the Advanced Ping Template as a good example. Find it at http://forums.cacti.net/viewtopic.php?t=10049. This will trun out like the attached image. The magic is donw by some cdefs of following kind:

Code: Select all

cdef=d,0,GT,d,2,GT,UNKN,b,IF,UNKN,IF
for the 1-2% thingy
Reinhard
Attachments
example
example
Bildschirmfoto-5.png (36.16 KiB) Viewed 11172 times
lex8009
Posts: 37
Joined: Thu May 18, 2006 4:30 pm

graph

Post by lex8009 »

I'll give it a try. thank you
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest