**APOLOGIES - IN THE WRONG FORUM INDEX, AND I CAN'T DELETE FROM HERE have reposted in the correct index***
Hi,
I'm currently upgrading my Cacti system for work. I've got cacti-0.8.7e, NMID, NMIDcreatePDF, NMIDWebservice, smokeping and NMIDSmokeping. Smokeping is installed on the same server as cacti and the smokeping page works fine.
My issue is with the Cacti Smokeping integration. I have maybe 5 hosts that are measured by smokeping and displayed in both cacti and smokeping using the nmidSmokeping. When I set up this box first, everything was fine. I could see the smokeping preview graph within Cacti and the full smokeping graph from the smokeping page. I could also click on the magnifying glass within cacti to get to the smokeping page.
Then I renamed 2 of the hosts in cacti. Those hosts then started to have broken images instead of the smokeping preview graph. Fine, I thought it must not like the name change, so I created new devices instead of renaming old ones. I still get broken smokeping preview graphs.
I can click on the magnifying glass and get to working graphs within smokeping. I have no errors in apache.
My original cacti smokeping preview graphs work fine, but I cannot see any new ones, or the hosts I renamed.
File permissions on the /smokeping/data and smokeping/image files are identical for the working and non working images.
When I run /cgi-bin/getSmokePingPath.pl I get no errors. It works fine with the older hosts I set up, but not with the new ones.
Right clicking on the broken images gives me a url similar to the working ones -
eg - here is path for ping to google
http://cacti02blah/cgi-bin/getSmokePing ... ype=detail
and attached is screenshot of the broken image.
It's driving me crazy, I think I've read every forum post there is maybe I'm just looking it from the wrong angle. Any helps/pointers would be really appreciated.
Regards,
Joan
NMIDSmokeing all new smokeping previews are broken graphs
Moderators: Developers, Moderators
NMIDSmokeing all new smokeping previews are broken graphs
- Attachments
-
- brokenCactiSmokeping.png (3.57 KiB) Viewed 2890 times
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
The Target section in the url needs to exactly point to the smokeping image you are trying to display.
The smokeping URL has the same "target" in it, or at least should.
It's about the following format:
nmidSmokeping actually creates the target section for smokeping in the "Smokeping Config Creation Dir" which you can set on the NMID settings page. There should be some files (.txt i think) in there. Look at them and you will see how each of the device should be configured in the smokeping config.
The smokeping URL has the same "target" in it, or at least should.
It's about the following format:
Code: Select all
$url.'?displaymode=n;start='.$start.';end='.$end.';target='.$target;
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Who is online
Users browsing this forum: No registered users and 2 guests