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'm running:
OS X Server 10.4.6
Apache 1.3
MySQL 4.1.13a
PHP 4.4.1
RRDTool 1.2.12
I've got Cacti up and running and as of last night it is generating SOME graphs. I get logged on users and # of processes, but so far no system load or memory usage. RRDTool is creating the images, but they're "empty".
I did a little investigation and when I run the "poller" command at the CLI I get the following:
# php /Library/WebServer/Documents/cacti/poller.php
cat: /proc/meminfo: No such file or directory
cat: /proc/meminfo: No such file or directory
OK u:0.01 s:0.02 r:0.02
OK u:0.01 s:0.02 r:0.02
ERROR: Not enough arguments
OK u:0.01 s:0.02 r:0.02
OK u:0.01 s:0.02 r:0.02
05/01/2006 09:56:04 AM - SYSTEM STATS: Time:1.2582 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
Indeed /proc/meminfo doesn't exist... I think that's a Linux thing? and I'm not sure what the "ERROR: Not enough arguments" is referring to... Can anyone help?
# php /Library/WebServer/Documents/cacti/cmd.php
cat: /proc/meminfo: No such file or directory
05/01/2006 10:15:32 AM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid. Partial Result:
cat: /proc/meminfo: No such file or directory
05/01/2006 10:15:32 AM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CMD not valid. Partial Result:
05/01/2006 10:15:32 AM - CMDPHP: Poller[0] Host[1] DS[5] WARNING: Result from CMD not valid. Partial Result: 1min: 5min: 10
05/01/2006 10:15:33 AM - CMDPHP: Poller[0] Time: 0.3630 s, Theads: N/A, Hosts: 1
Similar to the poller.php output, but gives a little more information...
rev_maynard3 wrote:... but so far no system load or memory usage. RRDTool is creating the images, but they're "empty".
...
Indeed /proc/meminfo doesn't exist... I think that's a Linux thing? and I'm not sure what the "ERROR: Not enough arguments" is referring to... Can anyone help?
These templates rely on /proc/meminfo (memory usage). System load depends on support for UCDAVIS MIB OIDs. Please try a
Although I believe that I've configured SNMP correctly, and likewise I confirmed that snmpd is running and listening (on UDP port 161), I received the following when I ran your suggested query: