Chapter 9. Configure the OpenSMART agents

Table of Contents

9.1. Where is the configuration ?
9.2. What checks are available ?
9.3. Some examples for osagent.conf.xml
9.4. Using XML include files for osagent.conf.xml
9.5. Things common to all XML tags in OpenSMART
9.6. Tags to configure osagent
9.7. Tags to configure osreporter
9.8. Tags Common to All Checks and/or Checkpoints
9.8.1. Tags Common to All Checks
9.8.2. Tags Common to All Checkpoints
9.9. Tags used in more than one Checkpoint
9.10. Configuration for the aixswraid check.
9.11. Configuration for the db2ts check.
9.12. Configuration for the db2lck check
9.13. Configuration for the db2applications check
9.14. Configuration for the db2connect check
9.15. Configuration for the disk check.
9.16. Configuration for the dns check
9.17. Configuration for the errpt check
9.18. Configuration for the eventlog check
9.19. Configuration for the hparray check.
9.20. Configuration for the ftp check
9.21. Configuration for the hylafax check
9.22. Configuration for the load check.
9.23. Configuration for the logs check.
9.24. Configuration for the lpd check.
9.25. Configuration for the lxswraid check.
9.26. Configuration for the mailq check.
9.27. Configuration for the mqs check
9.28. Configuration for the mqclearing check.
9.29. Configuration for the mqconnect check
9.30. Configuration for the mysql check
9.31. Configuration for the ntp check.
9.32. Configuration for the ntp-remote check
9.33. Configuration for the oraax check.
9.34. Configuration for the orainvobj check.
9.35. Configuration for the orasessions check
9.36. Configuration for the oratnsping check
9.37. Configuration for the orats check.
9.38. Configuration for the oralck check
9.39. Configuration for the ping check
9.40. Configuration for the proc check.
9.41. Configuration for the readfile check.
9.42. Configuration for the simple check
9.43. Configuration for the smtp check
9.44. Configuration for the sockets check.
9.45. Configuration for the sunswraid check.
9.46. Configuration for the swap check.
9.47. Configuration for the services check.
9.48. Configuration for the webapp check.
9.49. Configuration for the websphere check
9.50. Configuration for the xen check.
9.51. Configuration for the template check.

9.1. Where is the configuration ?

osagent, the OpenSMART agent, has to know which checks to run and where to send the output. osagent looks in

  • the file you named in the "-f" option when calling osagent,

  • <directory with osagent>/../etc/osagent.<FQDN-hostname>.conf.xml ,

  • <directory with osagent>/../etc/osagent.<host name without domain name>.conf.xml,

  • and finally in <directory with osagent>/../etc/osagent.conf.xml.

osagent takes the first found file (in the given order) as configuration file.

osagent.conf.xml is a normal XML file. You can edit it with every simple editor, like vi, emacs, notepad or wordpad.

Sometimes it is difficult to write correct XML and to close all opened tags. It is a good idea to validate osagent.conf.xml after every change with a XML validator like xmllint:

      cd ~osmart/etc
      xmllint -noout -valid osagent.conf.xml