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.
Hello all,
I was wondering if there was a flag I can pass to the poller script to disable the output, as at the moment I am getting an email saying this:
OK u:0.01 s:0.01 r:3.12
cat: /proc/meminfo: No such file or directory
OK u:0.01 s:0.01 r:5.15
OK u:0.01 s:0.01 r:5.15
OK u:0.01 s:0.01 r:6.17
cat: /proc/meminfo: No such file or directory
ping: not found
OK u:0.01 s:0.01 r:7.19
OK u:0.01 s:0.01 r:7.20
OK u:0.01 s:0.01 r:8.25
OK u:0.01 s:0.01 r:8.25
OK u:0.01 s:0.02 r:8.25
OK u:0.01 s:0.02 r:8.25
OK u:0.01 s:0.02 r:8.25
OK u:0.01 s:0.02 r:8.26
OK u:0.01 s:0.02 r:9.29
OK u:0.01 s:0.02 r:9.29
OK u:0.01 s:0.02 r:9.29
OK u:0.01 s:0.02 r:9.29
OK u:0.01 s:0.02 r:9.29
OK u:0.01 s:0.02 r:10.31
OK u:0.01 s:0.02 r:10.32
OK u:0.01 s:0.02 r:11.34
OK u:0.01 s:0.03 r:11.34
OK u:0.01 s:0.03 r:11.34
OK u:0.02 s:0.03 r:12.37
OK u:0.02 s:0.03 r:12.37
OK u:0.02 s:0.03 r:13.39
OK u:0.02 s:0.03 r:14.42
OK u:0.02 s:0.03 r:14.42
OK u:0.02 s:0.03 r:15.44
OK u:0.02 s:0.03 r:15.45
OK u:0.02 s:0.03 r:16.47
OK u:0.02 s:0.03 r:17.49
02/21/2008 08:45:20 PM - SYSTEM STATS: Time:19.0594 Method:cmd.php Processes:10 Threads:N/A Hosts:5 HostsPerProcess:1 DataSources:45 RRDsProcessed:31
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
You can see where that is going to get annoying seen as I get it every 5 minutes of every day.
Also how can I get rid of the error about /proc/meminfo?
mrtechguy wrote:Hello all,
I was wondering if there was a flag I can pass to the poller script to disable the output, as at the moment I am getting an email saying this:
you just have to redirect the output of the cron job :
mrtechguy wrote:
Also how can I get rid of the error about /proc/meminfo?
Are you using the "Local Linux Machine" host template on something else than a Linux host ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
I am using that template on FreeBSD. Also I can't really grasp how to add hosts/graphs/data queries, it is all pretty confusing, just the way you add the graphs and it doesn't graph.
Can you configure Net-SNMP on your FreeBSD host, and then create a device in Cacti using the "ucd/net SNMP" host template ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
cat: /proc/meminfo: No such file or directory
cat: /proc/meminfo: No such file or directory
ping: not found
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
IMHO you should delete all graphs based on the "Local Linux machine" host template.
For the 'ping' error, are you using the "Unix - Ping Latency" graph template ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Can you check that the ping command is in cactiusers's PATH ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]