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
A common task among system administrators is the renewal of SSL certificates. It is important to keep track of expiration dates so that it is not too late for us to renew it.
You can simply create an excel or some other type of record of the certificate dates, but you have to remember to check it from time … Read more
In the previous post I explained what is the difference between Icinga active and passive checks, why can be interesting to use passive checks, what is the result format Icinga is expecting when processing those checks and the way I use to send those results (instead of using snmp traps).
Now it is time to show how to configure it … Read more
As I posted long time ago for Nagios (Nagios – Using passive checks without agent), it is time to show an easy way to configure Icinga to perform passive checks (without using SNMP traps).
This is the first of two posts. In this I only want to make some theoretical explanations and then in the second I will … Read more
To configure passive checks in Nagios/icinga I use a tcp listener daemon that launches a script (See Nagios – Using passive checks without agent)
Tried to use inetd superserver daemon, but in the last versions, i have not been able to make it work correctly (See last update in my post: Linux – cannot found / missing inetd.conf)… Read more
This post shows a Powershell script I use to monitor the status of my Lync services.
This state can be manually checked on the Lync console (Lync 2010 in my scenario):
And with the Get-CsWindowsService powershell command:
PS C:\> Get-CsWindowsService
Status Name ActivityLevel
------ ---- -------------
Running RTCSRV Incoming Requests per Second=0,Mess...
Running RTCCAA Concurrent Calls=0
… Read more
Having our Checkpoint VSX Virtual System active connections under control can be very important to avoid problems, configure a higher connection limit, be ready for growth (and so scalate our environment)…
Nagios and SNMP can be used to configure a VS connection monitor plugin:
Steps needed to configure the plugin:
SNMP OID for virtual systems active connections
Develop an script
… Read more
This post shows a Powershell script I use to monitor the status of my Exchange mailbox database copies and raises a critical alert if any of them is not "Mounted" or "Healthy".
The script takes advantage of the Nagios passive checks and the configurations shown on my previous post "Nagios – Using passive checks without agent".
Here is … Read more
I usually use remote active checks by executing SNMP queries or SSH commands. But there are systems and values that cannot be monitored this way.
The passive checks have allowed me to check anything that I cannot check remotely via SNMP or SSH. But I did not want any agent (NSC++, NPA…) installed on the monitored system. That problem can … Read more