Linux   Linux – Running top command remotely (SSH)

Maybe you have tried to execute the top command to monitor processes on a remote host.

Error remotely – Run it in batch mode

If so, the following error can be returned:

$ ssh user@remotehost top -n1
TERM environment variable not set.

top does not work remotely in the default “interactive” mode. Use the “-b” parameter to run it in Read more

Checkpoint   Checkpoint – Nagios plugin to monitor ARP table in VSX

When suffering random network interruptions, a possible cause (and diffcult to find) is our firewall ARP table overflow. In Checkpoint systems, the Linux kernel Gaia is based on would log messages like "kernel: neighbour table overflow" to /var/log/messages.

After living two small crisis due to this problem (network scanning software and mask B networks are dangerous for the … Read more

Checkpoint   Checkpoint – Nagios plugin to monitor VS active connections

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:
Checkpoint - Nagios plugin to monitor VS active connections 1

Steps needed to configure the plugin:

  1. SNMP OID for virtual systems active connections
  2. Develop an script
Read more

EXCHANGE   Exchange – Monitor mailbox database copies using Nagios

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".
Exchange Nagios Database Copies OK

Exchange Nagios Database Copies Alert

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