nagios, check_memory 

Did some small modifications to the check_memory command I've been using to monitor servers memory use. The existing command included chache/buffers in the memory use - which was making a server look like it was in an error condition, when it was actually working normally. (Buffers/Cache SHOULD be using up free memory!)

Here is the modified check_memory. It uses bc, so make sure this is installed.

[ add comment ] ( 101 views ) permalink

If you find your pppd is not running /etc/ppp/ip-up , check if you have ifname specified in your peers/options. For me, having this option A) didn't change the name of the interface, and B) kept ip-up from being ran.
[ add comment ] ( 40 views ) permalink
Debian Packages 

prevu is a useful tool for building packages from different releases.

However, when prevu fails (due to changes in the .dsc format, or depending on options in dpkg that were added in a specific version), remember prevu is just a script for setting up a chroot build environment, and you can still grab the orig source and ubuntu/debian diff, apply one to the other, then use dpkg-buildpackage to do the same thing. It won't be quite as neat, as you will need to install the build dependencies, but it should work where prevu doesn't.
[ add comment ] ( 42 views ) permalink

In Vim, you can "show whitespace characters" using
:set list
eol is shown with $ and \t show with ^I .
[ add comment ] ( 44 views ) permalink
Sending email through Task Scheduler 

The Task Scheduler action "Send an e-mail" needs to be able to authenticate before sending.
To do this, I enabled the SMTP Feature in Windows, went into the firewall, disabled all the external access rules (just to be on the safe side), and allowed to relay.
The Send Email action I set to use localhost for the SMTP server. The "From" setting is not used in the authentication process, rather the user account the Task is acting as.

The error messages I got through this process are:
Error Value: 2147746319 - Relay not permitted
Error Value: 2147746321 - Account not authenticating
[ add comment ] ( 59 views ) permalink

<<First <Back | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | Next> Last>>