Search found 7 matches
- Fri Jul 17, 2009 10:38 am
- Forum: Scripts and Templates
- Topic: Script Problems
- Replies: 1
- Views: 1944
Script Problems
I wrote a perl script to monitor the available bandwidth to and from remote hosts. Works perfectly for site A but for site B, it is sporadic. Always plots a value for the 'To' direction but misses values for the 'From' direction about half the time. Very annoying. I rewrote the script in php but it ...
- Thu Dec 11, 2008 10:00 am
- Forum: Help: Linux/Unix Specific
- Topic: FREE BSD CPU not correct values...
- Replies: 6
- Views: 1798
FreeBSD installation from ports was fairly straightforward. Your problem may be with permissions but you can get a lot of information in the log by turning on DEBUG for one interval. Also su to your cactiuser and run the entry in crontab from the command line without the redirection and see what you...
- Wed Dec 10, 2008 9:06 pm
- Forum: Help: General
- Topic: Graph ZyXEL DSL modem bandwidth
- Replies: 4
- Views: 3010
The only way I have found to measure available bandwidth is by using a polling script such as iperf that queries a companion script on a server on the opposite side of the DSL line. I use it to monitor my DSL line at home and it shows clearly the available bandwidth in both directions (~ 2400 Kbps /...
- Wed Dec 10, 2008 8:56 pm
- Forum: Help: Linux/Unix Specific
- Topic: FREE BSD CPU not correct values...
- Replies: 6
- Views: 1798
What are you using to monitor CPU? I haven't checked out any of the scripts but I do observe that CPU usage via top is quite dynamic from second to second and and any series of 5 minute readings could be quite meaningless. Just wherever it happened to catch it. The load average (1min 5min 15min) usi...
- Wed Dec 10, 2008 1:26 am
- Forum: Help: Linux/Unix Specific
- Topic: Bandwidth Usage by Domain
- Replies: 2
- Views: 1064
snmp counters are pretty closely tied to interfaces and have no notion of a domain. One idea, if you have the ip addresses would be to bind one IP address to the network interface for each domain and then modify dns records to match. Even if they are name based, the queries will still get there and ...
- Tue Dec 09, 2008 11:59 pm
- Forum: Help: Linux/Unix Specific
- Topic: FreeBSD Free Memory/Swap
- Replies: 0
- Views: 927
FreeBSD Free Memory/Swap
I am working on modifying the linux_memory.pl script to provide the same functions for a FreeBSD server using Cacti-0.8.6j and I have run into a problem that I cannot work out: My script returns a single value for an input of 'SwapFree:'. When I run it standalone from a command line or by su to the ...
- Tue Dec 09, 2008 11:41 pm
- Forum: Help: Linux/Unix Specific
- Topic: Cacti on FreeBSD
- Replies: 2
- Views: 2012
Some script ideas
There is a perl script out there by Ralf S. Engelschall <rse@engelschall.com> called 'free' that will dump memory stats to stdout where you can pattern match mem_free or mem_avail. Use pstat -s to get your swap space. You can use a control structure to switch between these two functionalities by mat...