Custom plugin help!!

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Custom plugin help!!

Postby jaja2020 » Tue Feb 18, 2020 11:34 am

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
Attachments
check_unity.py
(22.99 KiB) Downloaded 14 times
jaja2020
 
Posts: 2
Joined: Mon Feb 17, 2020 1:10 pm

Re: Custom plugin help!!

Postby Box293 » Tue Feb 18, 2020 8:56 pm

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 ?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Box293
Too Basu
 
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia

Re: Custom plugin help!!

Postby jaja2020 » Wed Feb 19, 2020 9:46 am

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.
jaja2020
 
Posts: 2
Joined: Mon Feb 17, 2020 1:10 pm

Re: Custom plugin help!!

Postby scottwilkerson » Wed Feb 19, 2020 10:09 am

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.

Great!

Locking
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 18057
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Community Support

Who is online

Users browsing this forum: Google [Bot], lois54, sandeepatil and 22 guests