*****Make Nagios Pretty ( Nuvola Style ) First Backup /usr/local/nagios/share/*..html and all stylesheets directory. # tar -cvvf defaultweb.tar /usr/local/nagios/share/ # cd /usr/local/nagios/share # wget http://www.xoroz.com/files/nagiosstyle.zip # unzip nagiosstyle.zip Set the permissions # chown nagios:nagios *.* # chown nagios:nagios -R side […]
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 # […]
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 # […]
