Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Timestamp size

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
nduda78
Cacti User


Joined: 01 Mar 2005
Posts: 105

PostPosted: Tue Dec 18, 2007 7:30 am    Post subject: Timestamp size Reply with quote

How can i make the timestamp disaply bigger? Is this done via defining a font and assigning it to TIMEPOS?
Back to top
nduda78
Cacti User


Joined: 01 Mar 2005
Posts: 105

PostPosted: Tue Dec 18, 2007 7:33 am    Post subject: Reply with quote

I think i just found it, TIMEFONT....
Back to top
nduda78
Cacti User


Joined: 01 Mar 2005
Posts: 105

PostPosted: Tue Dec 18, 2007 7:39 am    Post subject: Reply with quote

ok that worked, but I could onyl get it so big (maybe cause of the font im using)....but let me ask this....How can I make a NODE that just displays the time, in big letters....and second (which not sure is possible) if the time since last update drops under a certain time fram the NODE turns red or something.
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 1989
Location: United Kingdom

PostPosted: Tue Dec 18, 2007 11:48 am    Post subject: Reply with quote

You should be able to get it as big as you like...

what you're asking for with the time is impossible though - the time is drawn on the image when it is made. At that point, the time since the last update is always 0 seconds!

For individual data items, weathermap only considers data that was polled during the last 800 seconds by default (roughly 10 minutes). After that, it will show 0 for that link/node and that will show as whatever colour you like according to the scale. So you can have a line in your scale for dead-zero, which you rarely see on a typical data link (there's usually arp, ospf or some other traffic).

Code:

SCALE DEFAULT 0 0 255 0 0
SCALE DEFAULT 0 10 0 0 255


(you can overlap with another 0->something line, and the 0->0 one will take precendence, so no need to worry about the smallest value above 0)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group