How to restart the plug-in service on the Nagios server?

Publication Date:  2016-12-02 Views:  230 Downloads:  0
Issue Description
How to restart the plug-in service on the Nagios server?
Solution
Step 1 Run the following command to check whether the plug-in service has been started:
# ps -ef | grep trapd.py | grep -v grep
The following information indicates that the plug-in service has been started. If this information is not displayed, wait patiently. The plug-in service will start automatically in two minutes.
nagios 22237 1 1 18:06 ? 00:00:00 python /usr/local/nagios/bin/huawei_server/trapd.py
NOTE:
22237 in the preceding information is the plug-in process ID.
Step 2 Run the following command to stop the plug-in service:
# kill -9 22237
Step 3 Wait for one minute, and perform Step 1 to verify that the plug-in service has been started.
The plug-in service will start automatically after being stopped.

END