Bug 335 - provide easy means for surveillance of VSM servers and VSM agents (e.g. via Nagios)
Summary: provide easy means for surveillance of VSM servers and VSM agents (e.g. via N...
Status: ASSIGNED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Server (show other bugs)
Version: trunk
Hardware: PC Linux
: P2 Enhancement
Target Milestone: LowPrio
Assignee: Peter Åstrand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-20 16:19 CEST by Erik Forsberg
Modified: 2022-03-29 13:36 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Erik Forsberg cendio 2003-08-20 16:19:36 CEST
We should provide a plugin for Nagios (http://www.nagios.org) to monitor
ThinLinc cluster operations. This would probably mean some extensions of
VSMserver and/or VSMagent as well. There should also be a document with
recommendations for how to monitor ThinLinc.

Things that are interesting to monitor include:

* SSH responding on all VSM servers and -agents. This is possible with existing
  plugins, so it should just be mentioned in a document or HOWTO.

* License status. How many licences are available and used? 

* Cluster connection status. Can the VSM server connect to all it's agents.

* Cluster load. Are all agent machines running at full load all the time,
meaning more machines should be added?

* VSM agent machines should respond on their port and be able to tell their load
status.

* The document should describe how to monitor available disk space and load on
the VSM server machine(s).

* The document should describe how to find out if a HA setup has failed over to
the secondary node.
Comment 1 Peter Åstrand cendio 2009-12-21 13:30:14 CET
One way to implement this bug is to add support to the real tlclient for running in some kind of headless/scripted mode. 
Comment 2 Peter Åstrand cendio 2012-04-04 14:43:23 CEST
The earlier check_thinlinc_session has now been rewritten to use the "new" VSM API.
Comment 3 Karl Mikaelsson cendio 2017-03-03 13:58:57 CET
For simple up/down check on vsmserver, we can reuse the Nagios check_http plugin:

> /usr/lib/nagios/plugins/check_http -H <hostname> -p 9000 -u /RPC2 -j POST -P "<?xml version=\"1.0\"?><methodCall><methodName>fake</methodName><params /></methodCall>" -T text/xml -s 'Go away'!

Replace -p 9000 with -p 904 for checking an agent.

Note You need to log in before you can comment on or make changes to this bug.