implementing cacti
Moderators: Developers, Moderators
-
- Posts: 17
- Joined: Mon Aug 22, 2005 11:46 am
implementing cacti
I want to intsall cacti to monitor a windows server environment. About 10 server and maybe some printers.
I have tested the poller.php on a local system. I see it uses almost 100% proc usage when it is polling. Is it possible to place the poller or maybe cactid on a server wich can take care about the load. The server where the cacti webpage would be installed is a busy web server. So i prefer to take off the load of the poller.
Is there a solution for this?
I have tested the poller.php on a local system. I see it uses almost 100% proc usage when it is polling. Is it possible to place the poller or maybe cactid on a server wich can take care about the load. The server where the cacti webpage would be installed is a busy web server. So i prefer to take off the load of the poller.
Is there a solution for this?
Yes, it is possible to place the cactid.exe poller on another machine... but first you really should fix the problem of the cmd.php poller using 100% cpu.
Do you have working graphs and rrd files?
Do you have working graphs and rrd files?
| 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: 17
- Joined: Mon Aug 22, 2005 11:46 am
Yes, it is normal for it to use a lot of CPU when the poller runs, especially if you have a lot of pollers.
| 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: 17
- Joined: Mon Aug 22, 2005 11:46 am
I have turned on cactid. It runs now without problems.
All hosts are Up.
But the graphs won't update. I have no errors when i run cactid with debug.
Did i miss a setting somewhere?
I also have update cactid from 0.8.6e to 0.8.6f
Update.
When i use the task manager is gives the following
CACTID: Using cactid config file [cactid.conf]
CACTID: Version 0.8.6f starting
NO log handling enabled - turning on stderr logging
//.snmp/snmp.conf: No such host or network path
//.snmp/snmp.local.conf: No such host or network path
//.snmp/cactid.conf: No such host or network path
//.snmp/cactid.local.conf: No such host or network path
I changed back tp cmd.php. All the graphs are working again without loss of statistics. So the cactid does log everything but it doesn't put it in the graphs somehow.
Is it right when i select cactid in de settings. The poller.php wil choose cactid.exe? First i scheduled cacti.exe itself and then it won't update the graphs. But when i select the cactid in the website and schedule the poller.php it takes also quit long so im not sure if im using cactid.exe right now.
update
I think it works well and i did things i did not had to do.
when i select cmp.php it takes about 15 sec. when i select cactid it takes about 15seconds. with the same taks scheduler of poller.php. Cactid should be faster?
And a last question. It it possible to run cactid only on a computer with no php and apache installed. So it will only run the poller proces and take away the heavy load on the webserver.
All hosts are Up.
But the graphs won't update. I have no errors when i run cactid with debug.
Did i miss a setting somewhere?
I also have update cactid from 0.8.6e to 0.8.6f
Update.
When i use the task manager is gives the following
CACTID: Using cactid config file [cactid.conf]
CACTID: Version 0.8.6f starting
NO log handling enabled - turning on stderr logging
//.snmp/snmp.conf: No such host or network path
//.snmp/snmp.local.conf: No such host or network path
//.snmp/cactid.conf: No such host or network path
//.snmp/cactid.local.conf: No such host or network path
I changed back tp cmd.php. All the graphs are working again without loss of statistics. So the cactid does log everything but it doesn't put it in the graphs somehow.
Is it right when i select cactid in de settings. The poller.php wil choose cactid.exe? First i scheduled cacti.exe itself and then it won't update the graphs. But when i select the cactid in the website and schedule the poller.php it takes also quit long so im not sure if im using cactid.exe right now.
update
I think it works well and i did things i did not had to do.
when i select cmp.php it takes about 15 sec. when i select cactid it takes about 15seconds. with the same taks scheduler of poller.php. Cactid should be faster?
And a last question. It it possible to run cactid only on a computer with no php and apache installed. So it will only run the poller proces and take away the heavy load on the webserver.
Yes, cactid is faster when you have mainly lots of SNMP queries. Try increasing the thread count.
Yes, you can run cactid on another computer, although it's not recommended.
Yes, you can run cactid on another computer, although it's not recommended.
| 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: 17
- Joined: Mon Aug 22, 2005 11:46 am
Hmm, well before the use of poller.php, one could simply run cactid.exe on another computer... I see your point and retract my previous statement. I don't think it's possible anymore to easily run cactid.exe on another computer.
The only method I can think of, is to remotely spawn cactid.exe to run on a seperate computer via cacti. For example, on your cacti machine, you create a batch file like:
Then you tell Cacti, the path to cactid is: c:\wwwroot\cactiscript.cmd. I think that *should* launch cactid on a remote computer....
The only method I can think of, is to remotely spawn cactid.exe to run on a seperate computer via cacti. For example, on your cacti machine, you create a batch file like:
Code: Select all
@echo off
psexec \\computer -d -w c:\cactid\ cactid.exe
| 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 |
Who is online
Users browsing this forum: No registered users and 1 guest