This is a sample iptables configuration file ‘/etc/sysconfig/iptables’ on a Redhat server where the server has a single interface and is placed in-front of other systems. In this example, this server (the one with the iptables config below) is infront of a web server at ‘10.0.0.2’. Don’t forget to enable
Read moreContact our friendly team to get started.
Munin Email Notifications – Different emails to different people
Send emails to different people for different servers (nodes) with Munin. Here is an example from a working “/etc/munin/munin.conf” file: contact.web_group.command mail -s “MUNIN – ${var:group} :: ${var:host}” [email protected] contact.web_group.always_send warning critical contact.db_group.command mail -s “MUNIN – ${var:group} :: ${var:host}” [email protected] contact.db_group.always_send warning critical contact.itgroup.command mail -s “MUNIN – ${var:group}
Read moreMunin Server – How to force emails to be sent
This article is a one-liner showing how to force munin server to send email alerts at an unscheduled time. This is good to test your notification configuration. Login to the munin server as root and then issue the following: su – munin –shell=/bin/bash -c “/usr/share/munin/munin-limits –contact email –force” You should
Read moreTroubleshooting Munin ‘munin.conf’ Config
This article explains an important method used to check your Munin config file. This is not checking the ‘munin-nodes’ but just the ‘munin.conf’ file. The key is to switch to the ‘munin’ user and then issue the ‘munin-update’ command. As follows: On the Munin server, login as root. Then switch
Read moreSSH Agent Forwarding & Sudo Simplified
This tutorial demonstrates what “SSH Agent Forwarding” is and how it works. We go further to ensure you can ‘sudo’ on the target system. This is the scenario: “You have one or more Web servers that you look after. For security reasons, these Web servers accept SSH connections only from
Read moreCreate a new MySQL user, grant permissions and set the password in one command
This one-liner shows how to create a new MySQL user, grant permissions and set the password: GRANT ALL PRIVILEGES ON mydb.* To ‘myuser’@’%’ IDENTIFIED BY ‘mypassword’; Then run: FLUSH PRIVILEGES And that’s it.
Read moreChange File Share Witness Location
Excuse me, do you have a moment to talk about our savior Windows Failover Clustering. Just recently I have run into the problem of needing change where my share witness is located for my WFC, if I am talking crazy you can read up on the terms here. Now after
Read moreExport a list of Full Access Permissions -Microsoft Exchange
The following is a command that will allow you to view all mail boxes that have the Full Access permission enabled in CSV document that you can filter and sort using Excel. This command will filter out the SELF permissions as every user should have Full Access to their own
Read moreExchange – Audit Full Access Permission on Mailboxes
Just recently I have come up against the need to see if a particular user is granting them self the Full Access permission on other users mailboxes. This user might be a new hired administrator or perhaps one that is leaving or even just a compromised account, regardless this is
Read moreMicrosoft Disk Part
It is no secret that the Windows GUI does make certain things harder than they need to be, one of these things in particular is formatting drives using Disk Management. Although 90% of the time disk management will work fine you will run into cases where the partition is marked
Read more