Archive for November, 2009

Nov 25 2009

Finding external IP from command line

Published by amjad under Debian

Lately, I was configuring Nagios and most of the systems were on the same private IP block as the Nagios server. One of the servers was outside the LAN and I was using the allowed_hosts directive for nrpe daemons where I needed to put the external IP of Nagios server in nrpe configuration of [...]

3 responses so far

Nov 23 2009

Sending mails from command line

Published by amjad under Centos, Debian, Fedora, Mail, Network, Red Hat, Ubuntu

Often times, we want to send log files or other emails from command line or want to script them. In this tutorial, I will show you how to do that using two mail clients mail and mutt.

5 responses so far