188 | | The monitoring component of Check in pluginable. Check does not internally store monitoring infomation, but uses other monitoring suites to provide these services. In this case, we use a MonAlisa service. This service is used to store and graph data for large amounts of time. Check plugs itself as a resource into the Resource Directory. |
| 188 | The monitoring component of Check in pluginable. Check does not internally store monitoring infomation, but uses other monitoring suites to provide these services. In this case, we use a !MonAlisa service. This service is used to store and graph data for large amounts of time. Check plugs itself as a resource into the Resource Directory and can be used by any service by using a rest interface to register new nodes and parameters to monitor. |
| 189 | |
| 190 | === Software Requirements === |
| 191 | |
| 192 | Installing this component requires the following software: |
| 193 | * Java 6 (http://java.sun.com) |
| 194 | * !MonAlisa Service (http://monalisa.cern.ch) to monitor sensors |
| 195 | * !MonAlisa Repository (http://monalisa.cern.ch) to store data for long periods of time and register new nodes to be monitored |
| 196 | |
| 197 | === Project Organization === |
| 198 | |
| 199 | If you have access to the Source Code Repository the code resides in the ''/management'' directory. |
| 200 | |
| 201 | * '''/SenseiRepos''' - !ML Repository files and configuration |
| 202 | * '''/SenseiService''' - Monitoring Plugins |
| 203 | * '''/SenseiHibernate''' - Rest Monitoring Interface for Check (must be moved here) |
| 204 | |
| 205 | === Compiling the plugins === |
| 206 | |
| 207 | For '''SenseiService''', copy it to ''${MONALISA_HOME}/Service/usr_code/SenseiService''. |
| 208 | To compile, use |
| 209 | {{{ |
| 210 | compile.sh |
| 211 | }}} |
| 212 | |
| 213 | To use a dry run, use |
| 214 | {{{ |
| 215 | run_test.sh |
| 216 | }}} |
| 217 | |
| 218 | === Running the plugins === |
| 219 | |
| 220 | To enable the monitoring plugins you must configure the service like this. First enable the check monitoring plugins: |
| 221 | {{{ |
| 222 | #!sh |
| 223 | # |
| 224 | # Properties to add |
| 225 | # |
| 226 | lia.Monitor.CLASSURLs=file:${MonaLisa_HOME}/Service/usr_code/SenseiService/build/ |
| 227 | }}} |
| 228 | |
| 229 | Available plugins are: |
| 230 | * monSensei - monitors resources using REST. The resources to monitor are given by the REST interface of Check |
| 231 | * monPing6 - monitors the status of a node by pinging it through IPv6 ping |
| 232 | * monService - checks the availability of the a service |
| 233 | |
| 234 | Now we must enable them: |
| 235 | {{{ |
| 236 | #!sh |
| 237 | # |
| 238 | # To add in myFarm.conf |
| 239 | # |
| 240 | *Topology |
| 241 | >gw.ncit.pub.ro |
| 242 | monPing%60 |
| 243 | }}} |
| 244 | |
| 245 | === Demo === |
| 246 | |
| 247 | The data is stored in a local database for three hours. For long term storage we use a dedicated database, see '''SenseiRepos''' trunk. |
| 248 | |
| 249 | |