Troubleshooting Nagios/Centreon : I. If Centreon monitor does not update itself (you see nagios different then centreon). Could be a permission problem related to status.log, Read the user nagios emails for problems regarding cron jobs and permissions Check the logs […]
Redirect emails using alias script
Redirect emails using alias script # vim /etc/aliases command: |/bin/grep Subject >> /tmp/emailgrep.txt commandperl: |/bin/test.pl Pay attention on the permissions the email system will use the mail account, so set the permissions on the script test sending the emails # […]
Script to automatically get emails from pop3
Script to automaticly get emails from pop3 servers using getmail allows multiple downloads, auto search. Requirements: Perl, Perl Regexp::Trie and Net::POP3. Both can be easly installed via cpan interface or Download from here Create a special user account called downmx […]
Postfix Email System
Mail Agents MUA Mail User Agent – Create new emails, and Read email. Ex.: Thunderbird,Evolution,Outlook,etc.. MTA Mail Transfer Agent – Distribute the emails to other MTAs or Locally. Examples: Postfix MDA Mail Delivery Agent or LDA Local Delivery Agent Handles […]
How to Setup a DNS server with BIND9
. . How to Setup a DNS server with BIND9. # apt-get install bind9 Configure a master domain: # vim /etc/bind/named.conf zone “provaes.com” { type master; file “/etc/bind/db.provaes.com”; }; Create the master zone file: # vim /etc/bind/db.provaes.com ; register SOA […]
GetMail from command line
. . Getting email from the command line was always something I wanted, also to be able to filter what I get. This great tool is something like fetchmail but better, thanks to Charles Cazabon who wrote this amazing tool […]
Install NRPE in Linux
. . Overview of NRPE: Installing and Configuring Nagios NRPE in Linux: # cd /tmp # wget http://internap.dl.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz # tar -zxvf nrpe-2.12.tar.gz # cd nrpe-2.12 # ./configure –enable-ssl –enable-command-args (should create users/groups) General Options: ————————- NRPE port: 5666 NRPE user: […]