Skip to content

Instantly share code, notes, and snippets.

@ajeetraina
Created December 12, 2016 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajeetraina/2722ca7153e05c0a2499ff89e15b3258 to your computer and use it in GitHub Desktop.
Save ajeetraina/2722ca7153e05c0a2499ff89e15b3258 to your computer and use it in GitHub Desktop.
Testing Entrypoint
root@mdm-2:~/test# docker run -it --rm --entrypoint /opt/discover.sh ajeetraina/testing2
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file
'/usr/local/nagios/dell/config/templates/dell_templates.cfg', starting at line 88)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 8 services.
Checked 1 hosts.
Checked 4 host groups.
Checked 0 service groups.
Checked 2 contacts.
Checked 2 contact groups.
Checked 34 commands.
Checked 7 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 7 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment