you have configured the relevant options within the ‘Details’ tab, you can
click on the Plugin and Arguments tab:
main User steps for the plugin-based Service Checks is:
plugin from the drop-down
Plugin Results’ is a checkbox that when checked will invert certain result codes
from a plugin, i.e. a critical result can be inverted to OK and vice versa.
Note: If the plugin is not listed in the ‘Plugin:’
dropdown, the ensure that the permissions are set correctly and that the plugin
starts with ‘check_’. Any script in libexec that does not start with ‘check_..’
will not be listed.
Note: There are restrictions on what character can
be placed within the ‘value’ field. The value field can only consist of alphanumeric characters,
space, a period (”.”), a forward slash (”/”) or a dash (”-”), up to 63
characters - this is because the value could be used in the service check name,
which has restrictions on the characters used. Any trailing spaces will be
removed. Also, the argument field allows any characters, but be aware that
Nagios Core may process some special characters like !, $ and \\. These special
characters must be ‘escaped’, for example ‘Password11!’ becomes ‘Password11\\!’,
and ‘PAS$WORD’ becomes ‘PAS$$WORD’.
Once the Service Check and its options
have been configured, it can be applied to one or more Hosts. See Section 184.108.40.206. Service Checks Tab for guides on how to add the newly-created Service Check
to a Host.