Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

EGI CSIRT:Monitoring

From EGIWiki
Revision as of 13:01, 13 January 2015 by Mprochaz (talk | contribs) (→‎Pakiti)
Jump to navigation Jump to search


| Mission | Members | Contacts
| Incident handling | Alerts | Monitoring | Security challenges | Procedures | Dissemination



About EGI-CSIRT Security monitoring activities

See the description of the Security Monitoring Group for general description of the activity.

Security monitoring with Nagios

Pakiti

Pakiti is a client-server tool to collect and evaluate data about packages installed on Linux machines, primarily meant to identify vulnerable SW that have not been properly updated. The EGI CSIRT operates the EGI Pakiti instance that is used to monitor the state of the EGI sites.

A site can also choose to install its own Pakiti instance. There is a documentation guide available from the Pakiti homepage that describes the steps needed to deploy the server and clients. The Nagios probes used to launch the Pakiti client in the EGI are also available. Note, the Pakiti distribution available at the moment doesn't support all the features supported by the EGI instance of Pakiti, nevertheless it is fully working and can be used to monitor the site status.

Currently we are working on the new version of the Pakiti v3, more information is available here.

Pakiti client

How to get client?

Visit https://pakiti.egi.eu and click the "Download" button next to your site entry. On the next page you can view details and download the package.

You can also download the client directly from the worker node. Replace SITE_NAME with the name of your site (use exactly the same name as is on the Pakiti web pages), otherwise you won't be able to see results on the Pakiti web pages.

wget --ca-directory=/etc/grid-security/certificates -O pakiti-client-egi.tar 'https://pakiti.egi.eu/client/?site=SITE_NAME'

How to run client?

  1. Unpack downloaded pakiti-client-egi.tar to the root /.
cd / && tar xf pakiti-client-egi.tar
  1. Restart Cron daemon. Pakiti client will be lunched every day.
  1. You can manually run the client by executing:
/opt/pakiti-client-egi/pakiti-client
  1. Look at the https://pakiti.egi.eu, if the host is there.
  1. Deploy the Pakiti client on all nodes which should be monitored.

Monitoring process

Everytime the Pakiti client is executed it sends data to the Pakiti server where the data are immediately processed. The host reports are purged every day, so if the site should be monitored continuously Pakiti client has to be executed every day. It's good to spread execution of the Pakiti client in time to not overload the Pakiti server. Pakiti server updates its internal database of vulnerabilities once a day.