Yesterday I came across a request in which for a group of email users, the display name must be removed when sending to recipients outside the organization.
Concretely, those whose email is in format XXXX@domain.com (where XXXX are digits) must be “anonymized”. For example:
When certain of those users sends an email to an internal recipient, the header from should … Read more
Portal access (APM) allows user access internal resources such as servers and computers via Remote Desktop (RDP). There are 3 options to to configure the destination host when configuring the RDP resource:
- IP Address
- User defined
Hostname and IP address are a fixed destination. In case you need different destinations based on the logged user, you would … Read more
I have just configured an Icinga2 notification template for hosts and services to replace the ugly and impractical default one.
Not big things but useful in my opinion
Clear and nicely formatted layout
State based colors
State based icons
UTF Icons are included depending on the state of the host or service
This notifications scripts can include … Read more
Not sure since what version this feature is available but I have started to use the notes section of the services i am monitoring in Icinga in markdown syntax.
icingaweb2 package version 2.6 that is compiled for Debian 10 (Buster).
You may think you do not need it for, but in my humble opinion it is … Read more
This morning i have come across a Checkpoint problem: No way to perform a succesful policy installation in any of the several virtual system gateways I have in my environment.
As you can see the returning error is: Policy installation failed on the gateway. If the problem persists contact Check Point support [Error code: 0-2000040].
Fortunately i found a generic … Read more
There are different methods to run queries against an SQL Server from a Linux machine. The one I am using is mssql-cli (https://github.com/dbcli/mssql-cli)
As you can check in the related github website, it has the following features:
- Syntax highlighting
- Query history
- Configuration file support
- Multi-line queries
The -Q parameter
It has been packetized for a lot of distributions … Read more
If you are a Git user, you can find very useful this custom prompt.
Shows working branch when it detects the current folder is a git one:
user1@labdebian ~/data $
user1@labdebian ~/data $ cd ../myproject/
user1@labdebian ~/myproject (master) $
user1@labdebian ~/myproject (master) $ git checkout -b branch1
Switched to a new branch 'branch1'
user1@labdebian ~/myproject (branch1) $
… Read more
Dont be afraid. Joining a linux machine to a windows active directory domain is not difficult. This post explains step by step how to join a Debian or Ubuntu linux machine but it can applied for other distributions without much different commands.
Install needed packages
apt-get install realmd
It may happen that the command returns an error like … Read more
By default F5 BigIp configuration utility uses local users to authenticate.
But if your enviroment allows it, using another way like Active Directory, LDAP, RADIUS might be very interesting. This post focuses in Active Directory but, anyway, it can point you and be a great help to configure for another type of server.
So, follow these easy steps:
… Read more
Yesterday I realized (after checking the backup of one of my gateways was failing) that the /var/log partition was 100% full:
[Expert@vsx1:0]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current 31G 21G 9.0G 70% /
/dev/md0 289M 130M 145M 48% /boot
tmpfs 32G 0 32G 0% /dev/shm
/dev/mapper/vg_splat-lv_log 146G 146G 0 100% /var/log
Surprinsingly, it used to have … Read more