Monitoring of the server where only agent port is open

From: Victor Kirhenshtein <victor_at_DOMAIN_REMOVED>
Date: Thu, 10 Feb 2005 17:58:06 +0200

Hi!

First, status polling algorithm:

Get interface statuses from agent
If failed,
        get interface statuses from SNMP
        If failed,
                ping interfaces
                If interface is not responding, change it's status to
critical
                Else change it's status to normal
        Else use SNMP status
Else use status returned by agent
Calculate node status based on status of interfaces

So, to successfully manage nodes with blocked ICMP, you need to support
interface status detection by agent. Agent should support parameters
Net.Interface.AdminStatus(*) and Net.Interface.Link(*). Both parameters
needs interface index as argument.

As a workaround for agents which doesn't support these parameters, you
can define external parameters with appropriate names. Below is possible
administrative statuses of interface:

1 - enabled
2 - disabled
3 - testing

Link status can be either 0 (no link) or 1 (link presented).

You can determine interface indexes by command

nxget -l <host> Net.InterfaceList

First number in each line is appropriate interface index.

Regards,
Victor
Received on Thu Feb 10 2005 - 17:58:06 EET

This archive was generated by hypermail 2.2.0 : Mon Aug 01 2005 - 00:43:23 EEST