So near and yet so far
Moderators: Developers, Moderators
So near and yet so far
I'm installing Cacti (latest available as of a couple weeks ago) under WinXP with Apache 2 and PHP 5. Some stumbles along the way, but I've got everything set, I can log in, create devices, etc. What I'm trying to monitor is bandwidth on Cisco device interfaces - certainly not anything unusual.
I can create a device, and the SNMP query comes back with the interfaces, their MAC and IP addresses and all that, so I'm OK there. So my next step is to create a graph, right? I select the interfaces I want to graph, keep the default "In/Out Bits" graph type, and hit "Create". At the top of the screen I get back "+ Created graph:" So far so good.
Yet then I go to "Graph Management", filter by the host I just created, and get "No Graphs Found". I generally consider myself capable of reading and following instructions, and have been through the Install guide and the manual, but they seem to assume that at this stage it Just Works. Chapter 6 of the doc is what, 2 pages? This step should have been simple, no?
I was eventually able to create some graphs by some long and involved procedure I don't understand myself and probably couldn't repeat, involving creating data sources corresponding to some of the interfaces, but it just seems too complex for doing more than one router, let alone scores.
What am I missing here?
I can create a device, and the SNMP query comes back with the interfaces, their MAC and IP addresses and all that, so I'm OK there. So my next step is to create a graph, right? I select the interfaces I want to graph, keep the default "In/Out Bits" graph type, and hit "Create". At the top of the screen I get back "+ Created graph:" So far so good.
Yet then I go to "Graph Management", filter by the host I just created, and get "No Graphs Found". I generally consider myself capable of reading and following instructions, and have been through the Install guide and the manual, but they seem to assume that at this stage it Just Works. Chapter 6 of the doc is what, 2 pages? This step should have been simple, no?
I was eventually able to create some graphs by some long and involved procedure I don't understand myself and probably couldn't repeat, involving creating data sources corresponding to some of the interfaces, but it just seems too complex for doing more than one router, let alone scores.
What am I missing here?
Sounds like you've gotten a lot further than many of the posters in here .
As for your problem, very weird. When you're in that cisco device and go back to the 'create graphs for this host' screen, are the existing interfaces which you previously told it to graph, grayed out (signifying they're already being graphed) ?
In graph management, if you don't select any host and instead select All, do you see any devices?
Have you applied all the patches for Cacti?
As for your problem, very weird. When you're in that cisco device and go back to the 'create graphs for this host' screen, are the existing interfaces which you previously told it to graph, grayed out (signifying they're already being graphed) ?
In graph management, if you don't select any host and instead select All, do you see any devices?
Have you applied all the patches for Cacti?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
No, they are not.BSOD2600 wrote: As for your problem, very weird. When you're in that cisco device and go back to the 'create graphs for this host' screen, are the existing interfaces which you previously told it to graph, grayed out (signifying they're already being graphed) ?
I only see the one device for which I went through that whole creating-a-data-source song and dance.BSOD2600 wrote:In graph management, if you don't select any host and instead select All, do you see any devices?
No I haven't. I'll do that tomorrow.BSOD2600 wrote: Have you applied all the patches for Cacti?
Thanks for taking the time to respond.
If you're using MySQL 5 and haven't patched cacti, that is likely your problem. After patching cacti, you should drop the cacti database, reimport the cacti.sql file (it got patched too), and then redo the MySQL stuff.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
No joy.BSOD2600 wrote:If you're using MySQL 5 and haven't patched cacti, that is likely your problem. After patching cacti, you should drop the cacti database, reimport the cacti.sql file (it got patched too), and then redo the MySQL stuff.
I am using MySQL 5. I applied the patches, except the one with the cacti.sql changes complained about applying them, saying that the patches had been reversed or already applied. Did all the SQL stuff over anyway. But now I've gone backwards, as loading cacti/index.php gives me a completely blank page. It's not an Apache or PHP problem, since I can load the standard php test file and it looks normal.
I suggest you use the pre-patched files instead then. http://www.cacti.net/downloads/patches/ ... e-patched/Gak wrote:I applied the patches, except the one with the cacti.sql changes complained about applying them, saying that the patches had been reversed or already applied.
After patching, it seems it messes with NTFS security. Double check on all the files that were patched that they're correct.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Tried that, still no joy.BSOD2600 wrote: I suggest you use the pre-patched files instead then. http://www.cacti.net/downloads/patches/ ... e-patched/
After patching, it seems it messes with NTFS security. Double check on all the files that were patched that they're correct.
index.php comes up completely blank, so I can't very well configure things. I can run cactid.exe from the command line, but not poller.php, since it seems to try to pass '-' to the command interpreter somewhere (tells me '-' is not recognized as an internal or external command, etc.)
I think I may blow everything away and start over.
Sounds like php isn't properly set up if the page isn't loading at all. Did you try the php test page under the cacti folder? You back to apache or iis with these problems?
Yea, that error you're getting about the - is very weird. Sounds like a complete reinstall is in order.
Yea, that error you're getting about the - is very weird. Sounds like a complete reinstall is in order.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 3
- Joined: Thu Aug 10, 2006 12:58 am
- Location: Melbourne, Australia
hrmm, I'm on the exact same path as you, the only thing different is that I couldn't get a graph at all. I did manage to get some interesting sql errors in the cacti log before I patched the install and ended up where you are with a blank index.php. I'm going to do a fresh install from the prepatched files and see if I can get it working.
-
- Posts: 3
- Joined: Thu Aug 10, 2006 12:58 am
- Location: Melbourne, Australia
That did it. As I've tried to iterate before, it's IMPERATIVE that cacti is patched before you try to set it up if you're using MySQL 5. That is why my install guide has you do this first.Knight_DKN wrote:Well it worked, as near as I can figure all I did different was intergrated the prepatched files before I started the installation...
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 3
- Joined: Thu Aug 10, 2006 12:58 am
- Location: Melbourne, Australia
Who is online
Users browsing this forum: No registered users and 0 guests