<sorry for the html email, but, I needed inline graphic>

 

All,

 

Does anyone know of a way to fill the background of the graph when a host is down (fping)?  I have set:

 

loss_background = yes

 

But, my graph looks like this (the left leading white space is before I started collecting):

 

 

And what I want is this:

 

 

 

So that the downtime really stands out...

 


David,

Try using the "nodata_color" parameter with the code for the color you want. I think I needed to add that to get the behavior you are looking for. For example, I use this:

nodata_color = f88017
loss_background = yes

 

dbotham replied with:

Jeff, thanks.  forgot to mention that I tried that too.  It fills the parts when smokeping is not running, but, does not fill in the parts when it is and the host is down (i.e. 100% Packet Loss).   So, that look like this:

 


Sorry I misunderstood what you were looking for. In our environment, we just wanted a way to differentiate between 100% loss and smokeping being down, so we don't mind the white background for 100% loss. You may have already tried this, but I wonder if you could achieve what you are looking for by specifying a loss color for 100%. Do you use the "loss_colors" options? We do 5 pings per interval, so in our case it would be something like this:

++ loss_colors

... (other loss colors here)

5   ff0000  "5/5"

That should tell it to use red as the background for 100% loss, but I haven't verified. Anyone else tried this?
_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to