Strange graphs for memory buffer and cached memory
Moderators: Developers, Moderators
Strange graphs for memory buffer and cached memory
Hi,
I have been using cacti for just over a year and it has been working well for both Windows and Linux servers.
I have just set up a new server running Ubuntu 8.04.1 and I have got some strange results.
I have attached screenshots of the graphs produced and a comparison from another server running almost the same setup.
The problem server is running Ubuntu 8.04.1 server and some ticketing software. The server for comparison is running Ubuntu 6.06.1 server and the same ticketing software, although it has a slightly older version installed.
The graphs are from the section "Graph Template: Host MIB - Available Disk Space"
Does anyone have any ideas what might be going on?
I am not sure what other information or logs may be relevant, please let me know what to post if you want to know anything else.
I have been using cacti for just over a year and it has been working well for both Windows and Linux servers.
I have just set up a new server running Ubuntu 8.04.1 and I have got some strange results.
I have attached screenshots of the graphs produced and a comparison from another server running almost the same setup.
The problem server is running Ubuntu 8.04.1 server and some ticketing software. The server for comparison is running Ubuntu 6.06.1 server and the same ticketing software, although it has a slightly older version installed.
The graphs are from the section "Graph Template: Host MIB - Available Disk Space"
Does anyone have any ideas what might be going on?
I am not sure what other information or logs may be relevant, please let me know what to post if you want to know anything else.
- Attachments
-
- This shows the change in value after the server is restarted.
- problem after restart.JPG (43.24 KiB) Viewed 4684 times
-
- This shows the memory buffers graph
- problem - memory buffers.JPG (42.9 KiB) Viewed 4684 times
-
- This shows the cached memory graph
- problem - cached memory.JPG (44.16 KiB) Viewed 4684 times
-
- This shows the kind of graph I expect to see and is a screenshot of the graph from a similar server
- expected - memory buffers.JPG (43.54 KiB) Viewed 4684 times
It would appear that I have some NaNs in the .rrd
The NaNs appear in the following lines after using the command:
rrdtool info <rrd file>
ds[hdd_used].max = NaN
ds[hdd_total].max = NaN
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[1].value = NaN
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[1].value = NaN
Is this indicative of invalid OIDs for the OS ?
The NaNs appear in the following lines after using the command:
rrdtool info <rrd file>
ds[hdd_used].max = NaN
ds[hdd_total].max = NaN
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[1].value = NaN
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[1].value = NaN
Is this indicative of invalid OIDs for the OS ?
I've been through everything I can manage on that link:
The log file appears to be fine, everything in debug mode appears to be ok (but that is to my untrained eye). And there are no errors running at normal logging mode.
The poller is running correctly and crontab shows poller.php
The rrd files are being created ok and graphs are all visible.
All the rrd files are owned by the cactiuser, not by root
As I mentioned before I am seeing NaNs in some of the values when checking rrds with rrdtool info, but I am not sure what these values should be instead and I'm not confident with the use of rrdtool tune
php.ini has been changed so that the memory setting is 256MB instead of the default 8MB limit (I used to use 128MB on my old cacti installation but increased due to better hardware running the new install)
I'm struggling to identify which part of the debugging section is applicable to verifying that the OIDs are valid for the OS - is there a specific section I should be paying attention to there?
I am going to have a look around for an updated MIB as something has changed between Ubuntu 6.06 and 8.04, I just can't tell what it is.
The log file appears to be fine, everything in debug mode appears to be ok (but that is to my untrained eye). And there are no errors running at normal logging mode.
The poller is running correctly and crontab shows poller.php
The rrd files are being created ok and graphs are all visible.
All the rrd files are owned by the cactiuser, not by root
As I mentioned before I am seeing NaNs in some of the values when checking rrds with rrdtool info, but I am not sure what these values should be instead and I'm not confident with the use of rrdtool tune
php.ini has been changed so that the memory setting is 256MB instead of the default 8MB limit (I used to use 128MB on my old cacti installation but increased due to better hardware running the new install)
I'm struggling to identify which part of the debugging section is applicable to verifying that the OIDs are valid for the OS - is there a specific section I should be paying attention to there?
I am going to have a look around for an updated MIB as something has changed between Ubuntu 6.06 and 8.04, I just can't tell what it is.
I ran:
snmpwalk -Os -c [community] -v 1 [target IP] memory
I hope that's what you're looking for!
The output is as follows:
memIndex.0 = INTEGER: 0
memErrorName.0 = STRING: swap
memTotalSwap.0 = INTEGER: 851960 kB
memAvailSwap.0 = INTEGER: 851880 kB
memTotalReal.0 = INTEGER: 515384 kB
memAvailReal.0 = INTEGER: 52932 kB
memTotalFree.0 = INTEGER: 904812 kB
memMinimumSwap.0 = INTEGER: 16000 kB
memShared.0 = INTEGER: 0 kB
memBuffer.0 = INTEGER: 64764 kB
memCached.0 = INTEGER: 338880 kB
memSwapError.0 = INTEGER: noError(0)
memSwapErrorMsg.0 = STRING:
snmpwalk -Os -c [community] -v 1 [target IP] memory
I hope that's what you're looking for!
The output is as follows:
memIndex.0 = INTEGER: 0
memErrorName.0 = STRING: swap
memTotalSwap.0 = INTEGER: 851960 kB
memAvailSwap.0 = INTEGER: 851880 kB
memTotalReal.0 = INTEGER: 515384 kB
memAvailReal.0 = INTEGER: 52932 kB
memTotalFree.0 = INTEGER: 904812 kB
memMinimumSwap.0 = INTEGER: 16000 kB
memShared.0 = INTEGER: 0 kB
memBuffer.0 = INTEGER: 64764 kB
memCached.0 = INTEGER: 338880 kB
memSwapError.0 = INTEGER: noError(0)
memSwapErrorMsg.0 = STRING:
Who is online
Users browsing this forum: No registered users and 5 guests