Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I seem to have a problem where the partitions don't seem to show up. When I create or edit a host (polling host) I don't see any partition or disk information. I tried the ucd/net and the regular SNMP - Get partition info but neither works.
This is a new install. Should I post this as a new topic?
pbulteel wrote:I seem to have a problem where the partitions don't seem to show up. When I create or edit a host (polling host) I don't see any partition or disk information. I tried the ucd/net and the regular SNMP - Get partition info but neither works.
This is a new install. Should I post this as a new topic?
pbulteel
Do the following code change and your partitions information will show up in the polling host. This was posted earlier in this thread. This fixed the problem when polling w2k boxes. I haven't tried polling linux boxes. Rax suggested this code change, worked for me. I will assume you are using cacti 8.3a.
Bill
raX wrote:Try this. Open up 'include/functions.php' in a text editor and go to line 548. You will see these two lines:
I made the change to the functions.php file first even before I posted... I also made the change to the database.php file which is in another post. I should have mentioned that. And yes, I am using. 8.3a. I've also noticed that I have a host that doesn't show the hme0 or loopback interface.
I'm still looking around to see if I notice anything in any other post I might have missed.
great! I've tried all suggestions in this thread, but this last one made my cpu and partition stuff work.
Thanks raX, and thanks for doing a kickass jon with cacti!
not sure if this has come up yet, but the "Host MIB - Hard Drive Space" data template (on a fresh 0.8.3a install) contained the data sources "hdd_used" and "hdd_used" instead of "hdd_total" and "hdd_used"...
I installed 0.8.2a and it was correct in that version.
Looks like that data template was hosed, which in turn affected a bunch of other things - I fixed that, recreated the graphs and stuff now appears to be working.
yeah, I think I finally got mine working... too bad I had to hose my entire installation to do so, hehe... I'm gonna back this up if I ever have to start over again.
now I just have to get cactid to work since with five 48 port switches, three pix's and two routers, I know cmd.php is going to go over 5 minutes.
acrophile wrote:now I just have to get cactid to work since with five 48 port switches, three pix's and two routers, I know cmd.php is going to go over 5 minutes. :(
Read this thread for some information on how to get cactid working (I am assuming you are running on unix or linux)
yeah, I haven't even tried to tackle it yet... I just started using cacti a few days ago and after all this time just getting it up and running with most of my stuff I'm afraid to go changing things again, hehehe...
got a few other bugs to work out too... my local linux memory usage stats seem to be way off... *shrug*
I've made the code change to functions.php, query_host_[cpu|partition].php, and changed hdd_used to hdd_total in the data template and I still don't get any partitions displayed. I look at the SNMP cache and the OIDs are blank for the disk query. What am I missing?
This is a fresh install of 0.8.3a and I'm trying to query some linux boxes.
I think I ran into the same problem... I wanted partition information but realized that I don't have information enabled in the snmp.conf file. I know it's one of those things, but I know if it weren't because I read the file and realized I didn't have it enabled.
I will enable it on mine and see if that's what was causing my problem... lost interest in seeing the partition info so I didn't so it before, but this could be a good excuse. =)