Using Nagios I am able to monitor the currency conversion rate, so I can know exactly when to sell my currency and to buy my currency. I wrote a creative plugin to nagios that does just that! Its not my […]
Uninstall Gnome and Office
If you have a server there is no need of the GUI interface, is there? A good linux admin will never need it. So I am removing it, here are the commands: Remove GUI (Gnome) # apt-get remove gnome* # […]
Squid howto
This week I setup a cool Squid Proxy for our network at the office. What it does? Follow also the HowTo Setup SquidGuard 1. Caches the websites people visit, so it usess less bandwith and improve performance 2. Allow managers […]
Iptables howto
IPTABLES basic commands List current rules: # iptables -L -v Remove all previous rules: # iptables -F Don’t disconnect ESTABLISHED connections: # iptables -A INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT Drop any Broadcast and Multicast # iptables -A INPUT […]
Setup Samba Howto
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 # […]
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 # […]