PHP Network Weathermap 0.8 (now 0.9)
Moderators: Developers, Moderators
I wasn't asking google the correct way. Thanks
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
re : problem
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 ?
in the Cacti log file, i have nothing with WEATHERMAP
like mactrack, i need to schedule another job
my question is : wich command line ?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: re : problem
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.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 ?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Re: re : problem
not for meHowie 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.
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
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?
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?
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: re : problem
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:gilles wrote:not for meHowie 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.
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
Code: Select all
php.exe c:\path\to\weathermap\ --config configfile.conf --output out.png --htmloutput out.html
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.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
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.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?
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.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
got it now. thanks for the help
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
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?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).
Re: re : problem
thanks !!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.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
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.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?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
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?
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?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Nothing else? Try turning on Cacti DEBUG mode for one cycle.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?
'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!).
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
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
????
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
????
Who is online
Users browsing this forum: No registered users and 1 guest