Host MIB - Available Disk Space not graphing on 4 servers
Moderators: Developers, Moderators
- malichidemonos
- Cacti User
- Posts: 87
- Joined: Fri Aug 04, 2006 2:12 pm
- Location: MI
- malichidemonos
- Cacti User
- Posts: 87
- Joined: Fri Aug 04, 2006 2:12 pm
- Location: MI
1) the log file didn't appear to contain any polling information. The log is only useful after cacti has ran a polling cycle. Additionally, just attach a text file with the log to this forum post. Please try again.
2) You didn't really need to delete the server, just the "Available Disk Space" query.
So let me get this straight, on the server in question, all other snmp queries work fine, except the Available Disk Space one; even though the verbose query properly returns data ?
2) You didn't really need to delete the server, just the "Available Disk Space" query.
So let me get this straight, on the server in question, all other snmp queries work fine, except the Available Disk Space one; even though the verbose query properly returns data ?
| 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 |
- malichidemonos
- Cacti User
- Posts: 87
- Joined: Fri Aug 04, 2006 2:12 pm
- Location: MI
The log file also contains server information. I dont feal that posting a log of all our servers on a forum is a great idea. I've all ready deleted the server and re added it back in with the same graphs. Yes, all other querys work fine. Its just the available disk space. And yes it properly returns data. Can i PM the log to you instead of going through the whole file to rename the server names?
Ok.
I suggest you upgrade your cacti installation though, since there have been a LOT of bugs fixed since 0.8.6h. That'll hopefully fix your disk space problem.
I suggest you upgrade your cacti installation though, since there have been a LOT of bugs fixed since 0.8.6h. That'll hopefully fix your disk space problem.
| 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 |
- malichidemonos
- Cacti User
- Posts: 87
- Joined: Fri Aug 04, 2006 2:12 pm
- Location: MI
Latest version is 0.8.6j and there are some additional patches.
Are you running poller.php or just cmd.php? I didn't see any entries in your log file about rrdtool running, which is bad.
If you manually run the scripts for disk space, like they are being run in the log file, do you get any data back on the two servers? i.e. run:
Are you running poller.php or just cmd.php? I didn't see any entries in your log file about rrdtool running, which is bad.
If you manually run the scripts for disk space, like they are being run in the log file, do you get any data back on the two servers? i.e. run:
Code: Select all
PHP c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk SERVER 35 1:161:1000:public:::MD5::[None] get total 1
| 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 |
- malichidemonos
- Cacti User
- Posts: 87
- Joined: Fri Aug 04, 2006 2:12 pm
- Location: MI
I'm just running poller.php as a scheduled task and i have cmd.php set for my poller in the system. How do i get the rrdtool to run. Wouldn't this affect all graphs and not just the disk space?
When i run that php command i get this back
Notice: Undefined offset: 1 in c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php on line 26
Notice: Undefined offset: 2 in c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php on line 27
Notice: Undefined offset: 3 in c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php on line 43
When i run that php command i get this back
Notice: Undefined offset: 1 in c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php on line 26
Notice: Undefined offset: 2 in c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php on line 27
Notice: Undefined offset: 3 in c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php on line 43
- malichidemonos
- Cacti User
- Posts: 87
- Joined: Fri Aug 04, 2006 2:12 pm
- Location: MI
I updated php and rrdtool and now for the totals i get -1.#J
I did a search on it and the only solution i could find is switching to cacid instead of poller.php. That wont work for me due to Thold and the e-mail issue with cactid.
Any ideas?
also... now that i updated to the latest version of everything... im getting an error when clearing the log file.
http://forums.cacti.net/about19203.html
Yes the cacti administrator user has rights to the directory.
chown -R Administrator log/
And when the poller runs it "only" reads OK for everything and not Ok ...@%$%@# (information)
This is my error with that issue...
Warning: fopen(c:/Inetpub/wwwroot/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied in c:\Inetpub\wwwroot\cacti\utilities.php on line 558
Warning: fwrite(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\cacti\utilities.php on line 559
Warning: fclose(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\cacti\utilities.php on line 560
Cacti Log File Cleared
I'm thinking of starting from scratch... this is getting ridiculous
Is there any documentation on backing up the current settings and files and reloading the server from scratch?
I did a search on it and the only solution i could find is switching to cacid instead of poller.php. That wont work for me due to Thold and the e-mail issue with cactid.
Any ideas?
also... now that i updated to the latest version of everything... im getting an error when clearing the log file.
http://forums.cacti.net/about19203.html
Yes the cacti administrator user has rights to the directory.
chown -R Administrator log/
And when the poller runs it "only" reads OK for everything and not Ok ...@%$%@# (information)
This is my error with that issue...
Warning: fopen(c:/Inetpub/wwwroot/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied in c:\Inetpub\wwwroot\cacti\utilities.php on line 558
Warning: fwrite(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\cacti\utilities.php on line 559
Warning: fclose(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\cacti\utilities.php on line 560
Cacti Log File Cleared
I'm thinking of starting from scratch... this is getting ridiculous
Is there any documentation on backing up the current settings and files and reloading the server from scratch?
- malichidemonos
- Cacti User
- Posts: 87
- Joined: Fri Aug 04, 2006 2:12 pm
- Location: MI
Why are you using linux commands on Windows? Follow my installation guide -- you need to give the IUSR_ and IIS_WPG accounts modify rights on the cacti/log and cacti/rrd directories.malichidemonos wrote:Yes the cacti administrator user has rights to the directory.
chown -R Administrator log/
Yes, http://www.cacti.net/downloads/docs/html/upgrade.htmlmalichidemonos wrote:Is there any documentation on backing up the current settings and files and reloading the server from scratch?
| 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 |
- malichidemonos
- Cacti User
- Posts: 87
- Joined: Fri Aug 04, 2006 2:12 pm
- Location: MI
Who is online
Users browsing this forum: No registered users and 1 guest