Windows and CACTI
Moderators: Developers, Moderators
-
- Posts: 9
- Joined: Tue Aug 10, 2010 7:12 pm
Windows and CACTI
Good Night,
I've been for around 2 weeks trying to figure out what's going on with my CACTI installation. It's a fresh install in Windows 2003 Server.
My problem is this: When I run cacti, I don't get any graphs. I've already discarded all the information of article http://forums.cacti.net/viewtopic.php?t=11747 .
To avoid giving permissions to the IIS_XXXX user and IUSR_XXX accounts on Windows 2003, I've created and account called cacti with its own password and gave the permissions as stated in the article.
After a complete check I've done to my installation, and after viewing the log cacti file included, the rrdtool installed is working fine. Also right know I've debug mode in the poller configuration and the graphs configuration.
If I checked the graphs information with the debugging mode of graphs, the RRdTool says nothing, empty.
Attached to this email, is included information regarding the configuration I have extracted from Cacti Technical Support Page. The only wrong thing I've got is the rrdtool that the page says is the wrong one, but I've already downloaded from rrdtool.org from version 1.0 to 1.3.X and I've got the same result.
What I can't understand is why cacti is not showing graphs if everything working fine? Is it an rrdtool issue? can somebody help me with this because I'm going nuts with this and MRTG is not graphing correctly what I need to view.
thanks for any help
I've been for around 2 weeks trying to figure out what's going on with my CACTI installation. It's a fresh install in Windows 2003 Server.
My problem is this: When I run cacti, I don't get any graphs. I've already discarded all the information of article http://forums.cacti.net/viewtopic.php?t=11747 .
To avoid giving permissions to the IIS_XXXX user and IUSR_XXX accounts on Windows 2003, I've created and account called cacti with its own password and gave the permissions as stated in the article.
After a complete check I've done to my installation, and after viewing the log cacti file included, the rrdtool installed is working fine. Also right know I've debug mode in the poller configuration and the graphs configuration.
If I checked the graphs information with the debugging mode of graphs, the RRdTool says nothing, empty.
Attached to this email, is included information regarding the configuration I have extracted from Cacti Technical Support Page. The only wrong thing I've got is the rrdtool that the page says is the wrong one, but I've already downloaded from rrdtool.org from version 1.0 to 1.3.X and I've got the same result.
What I can't understand is why cacti is not showing graphs if everything working fine? Is it an rrdtool issue? can somebody help me with this because I'm going nuts with this and MRTG is not graphing correctly what I need to view.
thanks for any help
- Attachments
-
- Technical Support screenshot I've extracted from my cacti installation with all the things installed.
- Console -- Utilities -- Technical Support_1281486038295.png (221.78 KiB) Viewed 4438 times
-
- output_cacti_log.txt
- Output of the Cacti log file
- (76.09 KiB) Downloaded 110 times
-
- rrdTool Version Used
- rrdtool_version.PNG (13.54 KiB) Viewed 4438 times
-
- Graph Management Debug Mode sample
- Console -- Graph Management -- (Edit)_1281486862303.png (57.62 KiB) Viewed 4438 times
-
- Result of the graphing process [Empty :..( ]
- Graphs -- Tree Mode_1281486886590.png (75.98 KiB) Viewed 4438 times
-
- Posts: 9
- Joined: Tue Aug 10, 2010 7:12 pm
More Information missed in the previews post
Attached is more info of my problem
- Attachments
-
- Console -- Cacti Settings_1281487211436.png (61.86 KiB) Viewed 4436 times
-
- Console -- Cacti Settings_1281487222197.png (56.57 KiB) Viewed 4436 times
1) for the rrdtool version issue, click save on the Settings -> General page to make sure the settings are set in the db.
2) have you applied all the 0.8.7g patches?
3) running PIA ?
4) Typically when rrdtool says: blank -- it's a lack of proper NTFS security permissions. You entirely sure the cacti account you created has read/execute permissions on cmd.exe and rrdtool.exe? Sysinternals Process Monitor will reveal why rrdtool is broken...
2) have you applied all the 0.8.7g patches?
3) running PIA ?
4) Typically when rrdtool says: blank -- it's a lack of proper NTFS security permissions. You entirely sure the cacti account you created has read/execute permissions on cmd.exe and rrdtool.exe? Sysinternals Process Monitor will reveal why rrdtool is broken...
| 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: 9
- Joined: Tue Aug 10, 2010 7:12 pm
File Permissions
Attached File Permissions to the cacti user I've created for both files.
Cacti already patched with the 0.8.7g files stated in cacti.net download oficial patches section.
Cacti already patched with the 0.8.7g files stated in cacti.net download oficial patches section.
- Attachments
-
- rrdtool_permissions.PNG (66.82 KiB) Viewed 4419 times
-
- cmd_permissions.PNG (83.88 KiB) Viewed 4419 times
fire it up and look through the logs when you try to view a graph.BSOD2600 wrote: Sysinternals Process Monitor will reveal why rrdtool is broken...
| 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: 9
- Joined: Tue Aug 10, 2010 7:12 pm
Process Monitor Log File
Already done the process monitor before.. and everything seems to be running smoothly
Attached is the log file capture for the rrdtool process and the cmd.exe respectively
Attached is the log file capture for the rrdtool process and the cmd.exe respectively
- Attachments
-
- LogFile.txt
- (590.78 KiB) Downloaded 116 times
-
- cmd_php.txt
- (1.96 MiB) Downloaded 138 times
-
- Posts: 9
- Joined: Tue Aug 10, 2010 7:12 pm
Cacti Log after viewing graphics
Attached Cacti Log when I try to view graphics. For this I enabled everything for debugging purposes.
- Attachments
-
- Console -- Utilities -- View Cacti Log File_1281574114376.png (135.73 KiB) Viewed 4358 times
Please repost those in the native PML file format.
A very quick look through cmd_php.txt and I don't see rrdtool.exe even running... which is obviously not good.
Does cmd.exe have read/execute permissions on c:\rrdtool\ folder per chance?
A very quick look through cmd_php.txt and I don't see rrdtool.exe even running... which is obviously not good.
Does cmd.exe have read/execute permissions on c:\rrdtool\ folder per chance?
| 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: 9
- Joined: Tue Aug 10, 2010 7:12 pm
I've past the last three days watching the Process Monitor log, and analyzing all the stuff done until today, and still nothing.
The process Monitor every 5 minutes as stated in the scheduled task, the rrdtool runs and writes the info in the rrd files located in the RRA folder of my cacti installation.
I've already made some tests for the rrdtool checking if it's working from command line, and all the tests I've made are working, but the graphs aren't displayed.
Just as a curiosity: If my setup is using an another user instead of the IUSR_xxx AND IIS_xxx accounts to do the job, aren't there any things that should i check specifically in that user? Maybe I'm forgetting something that I've missed during the installation setup and I can't see it clearly?
Any ideas of what's going wrong?
thx..
The process Monitor every 5 minutes as stated in the scheduled task, the rrdtool runs and writes the info in the rrd files located in the RRA folder of my cacti installation.
I've already made some tests for the rrdtool checking if it's working from command line, and all the tests I've made are working, but the graphs aren't displayed.
Just as a curiosity: If my setup is using an another user instead of the IUSR_xxx AND IIS_xxx accounts to do the job, aren't there any things that should i check specifically in that user? Maybe I'm forgetting something that I've missed during the installation setup and I can't see it clearly?
Any ideas of what's going wrong?
thx..
rrdtool is called via different methods/users for Cacti.
* The Cacti scheduled task user. This process is started off by php.exe poller.php (which in tern either launches cmd.php or spine.exe). These processes do the data collection and invoke rrdtool update commands.
* The IIS anonymous user, typically IIS_WPG and IUSR_XXX. The IIS WWW service, invokes cmd.exe which in tern invokes the rrdtool.exe graph command. From your previous trace, I see cmd.exe running but not rrdtool.exe...
Is the cacti scheduled task using your 'cacti' user account too?
To validate it's a permission issue, you could temporarily grant the 'cacti' user account Admin rights, and then check if the graphs start to display.
* The Cacti scheduled task user. This process is started off by php.exe poller.php (which in tern either launches cmd.php or spine.exe). These processes do the data collection and invoke rrdtool update commands.
* The IIS anonymous user, typically IIS_WPG and IUSR_XXX. The IIS WWW service, invokes cmd.exe which in tern invokes the rrdtool.exe graph command. From your previous trace, I see cmd.exe running but not rrdtool.exe...
Is the cacti scheduled task using your 'cacti' user account too?
To validate it's a permission issue, you could temporarily grant the 'cacti' user account Admin rights, and then check if the graphs start to display.
| 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: 9
- Joined: Tue Aug 10, 2010 7:12 pm
Information Verified
Ladies and Gentlemen, boyz and girlz... as a rule of thumb in a windows installation. If you're going to create variables to work for a specific software, always, but ALWAYS remember to create them as SYSTEM VARIABLES!!!
After logging inside the cacti user, I've noticed that it sends me an error every time it was running, stating the "module not found" message. To my surprise, the variables for SNMPCONFPATH and MIBSDIR where user variables (administrator variables).
After creating these variables in my target system, I'm still getting no images. Attached the cacti log from today after correcting the issue.
I've already granted the cacti user administrator rights, and in the local PC (domain server) it doesn't show the graphs..
Also I've noticed something... If I go to Console->Devices I've associated the devices I've registered with the SMP Generice device and cacti puts the status "not being graphed".
Could be a missing plugin?
After logging inside the cacti user, I've noticed that it sends me an error every time it was running, stating the "module not found" message. To my surprise, the variables for SNMPCONFPATH and MIBSDIR where user variables (administrator variables).
After creating these variables in my target system, I'm still getting no images. Attached the cacti log from today after correcting the issue.
I've already granted the cacti user administrator rights, and in the local PC (domain server) it doesn't show the graphs..
Also I've noticed something... If I go to Console->Devices I've associated the devices I've registered with the SMP Generice device and cacti puts the status "not being graphed".
Could be a missing plugin?
- Attachments
-
- Console -- Utilities -- View Cacti Log File_1282352202234.png (1.07 MiB) Viewed 4088 times
1) please post log files as attachments and not screenshots.
2) the cacti log output looks fine
3) Obviously still some misconfiguration if graphs are not being rendered. fire up Sysinternals Process Monitor, click on a graph, save the log and attach it.
2) the cacti log output looks fine
3) Obviously still some misconfiguration if graphs are not being rendered. fire up Sysinternals Process Monitor, click on a graph, save the log and attach it.
| 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: 9
- Joined: Tue Aug 10, 2010 7:12 pm
Process Monitor Log
Attached is the Process Monitor Log captured whe I log to the equipment as the cacti user, and when I tried to view a Graph from Graph tree.
This log is from today.
cheers,
This log is from today.
cheers,
-
- Posts: 9
- Joined: Tue Aug 10, 2010 7:12 pm
LogFile
I've done the Process Monitor LogFile Capture... please download it from
https://sites.google.com/site/balbinocaballero/
Sorry to post it like that, but my account already reached the 5MB quota..
https://sites.google.com/site/balbinocaballero/
Sorry to post it like that, but my account already reached the 5MB quota..
Who is online
Users browsing this forum: No registered users and 0 guests