I had created a Nagios Script for auto e-mailing reports. There are two versions available one that just gets the current “Reporting” csv and e-mail it and another one I wrote in python that allows more customization. They are […]
auto scale script
This can help if you are creating any kind of auto scale on Amazon AWS. It is not a 100% automatic, as you will need to prior to running this have: Pre-requisites on how to run the AWS command lines […]
outlook auto reply rule +2003
Exchange server-side Auto reply rule. Tested and it works on Exchange 2003 and Outlook 2003. 1. Open your Exchange System Manager 2. Expand your “global Settings Folder” 3. Right Click on “Internet Message Formats” 4. Select the “Advanced” tab 5. […]
HOW TO USE EVENT_HANDLERS IN NAGIOS
This case I wanted to AUTO RESTART A SERVICE USING NAGIOS. The event_handlers can automaticly handle a alarm, aiming to solving the problem for the administrator. Restart_svc is a batch file inside nrpe_nt folder witch should also be defined inside […]
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 […]