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    


[SOLVED] Problem with INCOMMENT and OUTCOMMENT

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



Joined: 25 Mar 2008
Posts: 9

PostPosted: Tue Mar 25, 2008 12:15 pm    Post subject: [SOLVED] Problem with INCOMMENT and OUTCOMMENT Reply with quote

Hi,
I'm fairly new to Cacti and Weathermap, but loving what you can do with it!

I've created a map which is working fine, showing our switches and the traffic between them. I'm now trying to add the port number to the arrows as per http://www.network-weathermap.com/articles/walkthrough1

What’s handy is the fact that in the example the INCOMMENT and the OUTCOMMENT are vertical along the arrow. And can clearly be shown.

For some reason mine only come out horizontal to the arrow, often passing behind the arrow. As per the attached example.

It's entirely possible that I’ve missed something but for the life of me I can see what it could be!
I've try'd using COMMENTPOS and this works at moving the text up and down the arrow.. but it does not help.

I've just upgraded to 0.95b and this did not help either.

Any one got any ideas please??!!

Thanks[/img]



Example.JPG
 Description:
Small section of my map showing the locations of the INCOMMENTS and OUTCOMMENTS
 Filesize:  20.45 KB
 Viewed:  800 Time(s)

Example.JPG


Back to top
Howie
Cacti Guru User


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

PostPosted: Tue Mar 25, 2008 12:54 pm    Post subject: Reply with quote

That looks like one of the built-in GD fonts (1 thru 5). Your log is probably chock-full of warnings about using GD fonts and angled text together

You need to use FONTDEFINE to define a TrueType/FreeType font for any of the font-rotating features in weathermap to work (comments, angled bwlabels, angled labels).
Back to top
madraven



Joined: 25 Mar 2008
Posts: 9

PostPosted: Wed Mar 26, 2008 5:36 am    Post subject: Reply with quote

Hi Howie,
Thanks for the quick responce, I'll give it a go a bit later today!
Back to top
madraven



Joined: 25 Mar 2008
Posts: 9

PostPosted: Fri Mar 28, 2008 5:52 am    Post subject: It works! Reply with quote

Hi,
Glad to say after following your advice it's now working!
Thanks for the help.
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