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    


PHP Network Weathermap 0.8 (now 0.9)
Goto page Previous  1, 2, 3, 4 ... 23, 24, 25  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
egarnel
Cacti Pro User


Joined: 21 Nov 2002
Posts: 630
Location: Austin, TX

PostPosted: Mon Apr 03, 2006 8:33 am    Post subject: Reply with quote

I wasn't asking google the correct way. Thanks
Back to top
gilles
Cacti User


Joined: 12 Jul 2005
Posts: 216

PostPosted: Mon Apr 03, 2006 8:55 am    Post subject: re : problem Reply with quote

i have added the maps to the 'manage weathermaps' screen, and they *still* aren't generated automatically

in the Cacti log file, i have nothing with WEATHERMAP

like mactrack, i need to schedule another job

my question is : wich command line ?
Back to top
Howie
Cacti Guru User


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

PostPosted: Mon Apr 03, 2006 9:12 am    Post subject: Re: re : problem Reply with quote

gilles wrote:
i have added the maps to the 'manage weathermaps' screen, and they *still* aren't generated automatically

in the Cacti log file, i have nothing with WEATHERMAP

like mactrack, i need to schedule another job

my question is : wich command line ?


You don't need to schedule another job. The cacti plugin works as part of the poller.php. You will need to wait for the next poller cycle (up to five minutes) before maps are created, or errors appear in the log, though.
Back to top
gilles
Cacti User


Joined: 12 Jul 2005
Posts: 216

PostPosted: Mon Apr 03, 2006 9:20 am    Post subject: Re: re : problem Reply with quote

Howie wrote:
You don't need to schedule another job. The cacti plugin works as part of the poller.php. You will need to wait for the next poller cycle (up to five minutes) before maps are created, or errors appear in the log, though.


not for me

2 days on 2 different machines with different AMP and no maps...

like mactrack...

the only plugin which is ok is thold

i need a separate schedule job for my plugins
Back to top
egarnel
Cacti Pro User


Joined: 21 Nov 2002
Posts: 630
Location: Austin, TX

PostPosted: Mon Apr 03, 2006 9:52 am    Post subject: Reply with quote

map not displaying the icons.

I'm assuming that the png files go in
<cacti path>/plugins/weathermap/images and that per the docs the syntax is: ICON myimage.png (under node properties )

I am using the CactiCD and GD 2.x is installed.

What am I missing?
Back to top
Howie
Cacti Guru User


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

PostPosted: Mon Apr 03, 2006 9:55 am    Post subject: Re: re : problem Reply with quote

gilles wrote:
Howie wrote:
You don't need to schedule another job. The cacti plugin works as part of the poller.php. You will need to wait for the next poller cycle (up to five minutes) before maps are created, or errors appear in the log, though.


not for me

2 days on 2 different machines with different AMP and no maps...

like mactrack...

the only plugin which is ok is thold

i need a separate schedule job for my plugins


Then I don't know how you will do it. There isn't a command line that will run all the maps in the same way as the plugin does. You would have one job per map with something like:
Code:

php.exe c:\path\to\weathermap\ --config configfile.conf --output out.png --htmloutput out.html

but the tab won't work properly then.

Have you tried running the poller.php from the command line to see if you get any error message? (php poller.php) I guess you already have...

Also, what about if you temporarily comment out all the other plugins in the config file? I had a problem where 'report' would crash, and nothing after that was run.

It's working fine for me on two different XAMPP installations, plus however many others.
Back to top
Howie
Cacti Guru User


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

PostPosted: Mon Apr 03, 2006 9:58 am    Post subject: Reply with quote

egarnel wrote:
map not displaying the icons.

I'm assuming that the png files go in
<cacti path>/plugins/weathermap/images and that per the docs the syntax is: ICON myimage.png (under node properties )

I am using the CactiCD and GD 2.x is installed.

What am I missing?


Either use ICON images/router.png or put the icon images in the weathermap directory (not images). Unless it says otherwise, all paths in the config file are relative to where you ran weathermap from. The alternative is to use an absolute pathname.

I'll make a change in the manual to make it clearer.

It *should* have said something in the log about not being able to load the icon, however.
Back to top
egarnel
Cacti Pro User


Joined: 21 Nov 2002
Posts: 630
Location: Austin, TX

PostPosted: Mon Apr 03, 2006 10:12 am    Post subject: Reply with quote

got it now. thanks for the help
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Mon Apr 03, 2006 10:19 am    Post subject: Reply with quote

Howie wrote:
It's the OVERLIBGRAPH config line. If you have the cacti-picker function configured (see the manual, or cacti-pick.php), then the picker will put those lines in for you. It would be the URL for an image (not an image page - it goes into an HTML IMG tag).


I assume I have the cacti-picker function configured since I can pick from cacti for links. However there isn't an active link in the node properties dialog box?
Back to top
gilles
Cacti User


Joined: 12 Jul 2005
Posts: 216

PostPosted: Mon Apr 03, 2006 10:35 am    Post subject: Re: re : problem Reply with quote

Howie wrote:
Also, what about if you temporarily comment out all the other plugins in the config file? I had a problem where 'report' would crash, and nothing after that was run.


thanks !!
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Mon Apr 03, 2006 4:29 pm    Post subject: Reply with quote

I have a building icon on my map and I'd like to make the INFOURL a link to a map of its internal network. How do I go about doing this since the id of that map may change?
Back to top
Howie
Cacti Guru User


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

PostPosted: Mon Apr 03, 2006 4:43 pm    Post subject: Reply with quote

knobdy wrote:
I have a building icon on my map and I'd like to make the INFOURL a link to a map of its internal network. How do I go about doing this since the id of that map may change?


Why would the map ID change? They should never get repeated or reused. It's a mysql autoincrement field, which just goes up and up as you add maps. It would only ever change if you deleted the other map and re-added it.
Back to top
davs



Joined: 31 Mar 2006
Posts: 28
Location: paris

PostPosted: Tue Apr 04, 2006 6:39 am    Post subject: Reply with quote

I have added a map in the 'manage weathermaps' screen, and nothing are generated. I've wait for the next poller cycle but there are still no maps created.
I have this message in the Cacti Log File:

WEATHERMAP:poller[0] Weathermap has left the building
WEATHERMAP:poller[0] Weathermap 0.8 in da house

Does anyone know what it means?
Back to top
Howie
Cacti Guru User


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

PostPosted: Tue Apr 04, 2006 7:03 am    Post subject: Reply with quote

davs wrote:
I have added a map in the 'manage weathermaps' screen, and nothing are generated. I've wait for the next poller cycle but there are still no maps created.
I have this message in the Cacti Log File:

WEATHERMAP:poller[0] Weathermap has left the building
WEATHERMAP:poller[0] Weathermap 0.8 in da house

Does anyone know what it means?


Nothing else? Try turning on Cacti DEBUG mode for one cycle.

'in da house' is the very first thing it does during a poller cycle
'left the building' is the very last thing
so that is actually the end of one cycle and the start of the next one, but if that's all you have, turn on DEBUG. You should get some sort of error/warning to explain why nothing is happening (usually it's permissions, if it's doing this little!).
Back to top
davs



Joined: 31 Mar 2006
Posts: 28
Location: paris

PostPosted: Tue Apr 04, 2006 7:41 am    Post subject: Reply with quote

here is what I have on CACTI DEBUG mode after a cycle:

WEATHERMAP:Poller[0] Weathermap has left the building
WEATHERMAP:Poller[0] Iterated all maps.
WEATHERMAP:Poller[0] Iterating all maps.
CMDPHP:Poller[0] DEBUG: SQL Assoc: "select * from weathermap_maps where active='on'"
WEATHERMAP:Poller[0] Engaging Weathermap DEBUG mode
WEATHERMAP:Poller[0] Weathermap 0.8 in da house

????
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
Goto page Previous  1, 2, 3, 4 ... 23, 24, 25  Next
Page 3 of 25

 



Powered by phpBB © 2001, 2005 phpBB Group