Ho to get gray area where data is missing in source.

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
thomasnilsen
Posts: 3
Joined: Tue May 02, 2006 1:41 am
Location: Norway

Ho to get gray area where data is missing in source.

Post by thomasnilsen »

Hello.

How can i get the graph to show a grayish area i gaps where there have been no data from the source. Eg: if the router has been down or out of reach and no data is avalible for a time period. I think i remember seeing this somewhere, but cant figure out how to create it.

Btw: have a few nice and usefull graphs/datasources for Cisco AS5400 access gateways if someone is interessted.

-
Thomas
best regards
Thomas
joeyoung25
Posts: 9
Joined: Thu Apr 27, 2006 9:40 am
Contact:

no graphs

Post by joeyoung25 »

i searched on the forums for blank graphs because that is my problem but i found your post and i know that it is possible to have gray area in your graph because ive seen it too. can you tell me why my graphs are not showing up at all i am running version 0.8.6d on Centos 4.3 and i think the only problem i have is not seeing the graphsat all. thanks alot
thomasnilsen
Posts: 3
Joined: Tue May 02, 2006 1:41 am
Location: Norway

Dont know..

Post by thomasnilsen »

RRDTool installed and cacti pointing to it correctly ?
If you run php -f poller.php or php -f cmd.php do you see any error messages?
best regards
Thomas
User avatar
Pumpi
Cacti User
Posts: 259
Joined: Wed Jan 14, 2004 3:23 am
Location: Germany

Post by Pumpi »

I use a CDEF function called "Unknown-Data":

Code: Select all

cdef=CURRENT_DATA_SOURCE,UN,INF,UNKN,IF
Just add this at the end of our Graph templates as CDEF Function and use

Graph Template Items with a grey area (Graph Item Type) for example.

Pumpi
cuicui
Posts: 12
Joined: Thu Apr 27, 2006 8:02 am
Contact:

Post by cuicui »

Is it possible to keep graphing previous value when it is unknown (like MRTG)? I know this is unsafe because it draws flat graphs even when the source is unreachable but i don't like gaps on my graphs :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest