I have a custom plugin but not sure how to define host and service. Could someone help with this? I have tested the script with the nagios user, so I know script is fine.
[nagios@nagiosserverp01 libexec]$ ./check_unity.py -H IP -u user -p somepassword -m storageprocessor
OK: ALRT_COMPONENT_OK,The component is operating normally. No action is required.,5
Custom plugin help!!
Custom plugin help!!
- Attachments
-
- check_unity.py
- (22.99 KiB) Downloaded 155 times
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Custom plugin help!!
Is the plugin going to run from the Nagios server and remotely connect to another server?
Or does it need to run on the other server and some sort of agent needed to execute it ?
Or does it need to run on the other server and some sort of agent needed to execute it ?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Custom plugin help!!
It will be running from nagios server. I have worked through issue and was able to report on one array so you can lock this request.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Custom plugin help!!
Great!jaja2020 wrote:It will be running from nagios server. I have worked through issue and was able to report on one array so you can lock this request.
Locking