Skip to content

Getting Started using OKconfig

zugolosian edited this page May 24, 2013 · 1 revision

The easy way

  1. Ensure OKconfig is installed Installing okconfig
  2. Open you browser and navigate to the http://hostnameofyouradagiosserver/adagios
  3. Select the Okconfig menu and select Add Host
  4. Enter in the host name of the host you want monitor and search for a standard check that matches what you want to monitor.
  5. On the following screen add any specific settings that are applicable to the host you're wanting to monitor. eg. snmp read only group or port/url for checking
  6. Most complicated linux/windows checks require the nrpe (or similar) daemon to be installed so that nagios can query it for information. To install this select the install client option. This writes out a configuration file and installs plugins required for running standard checks. If you're already doing nagios checks using nrpe on the host it will copy the config to /etc/nrpe.cfg~ For linux hosts select ssh and enter the required authentication details. For windows hosts see here. For more info on setting the clients up manually to point at your server see nsclient NRPE
  7. Reload nagios by clicking the little refresh icon at the top right of the screen

Troubleshooting

  • Check the nagios config by running nagios -v /etc/nagios/nagios.cfg
  • Check the nrpe/nsclient daemon is running on the monitored hosts