/usr/lib/nagios/plugins/check_egiis is in nordugrid-arc-nagios-plugins 1.9.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #! /usr/bin/python
#
# EGIIS Probe
import logging, sys
try:
from arcnagios.plugins.egiis import Check_egiis
except ImportError, xc:
sys.stdout.write('UNKNOWN: Error loading modules : %s\n\n'
'sys.path = %s\n' % (xc, sys.path))
sys.exit(3)
logging.basicConfig() # for manual invocation
probe = Check_egiis()
probe.nagios_run()
|