Howto Setup Samba Reference to my newer post (RedHat/CentOS) Install the packet: # apt-get install samba Check your open port: # netstat -an |grep listen No port 139 ? Create the user accounts and sync the password with Samba # […]
Change the Service Account
Well as I posted bellow about the bug in NRPE_NT, it result I will have to change all my Nagios Plugins service set to a different account, the code bellow is how I will be doing this. I used the […]
Nagios/Centreon TroubleShooting
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 […]
