Page 1 of 1

how can use plugins in nagios

Posted: Sun Jan 31, 2016 9:40 am
by baber
hi

i have seen many script files here with extention such as ( .txt , .vbs , .sh)
https://exchange.nagios.org/directory/P ... ms/Windows

but i don't know how can use from these files how can active these sensors and monitor them in nagios

where do i have to copy .pl and .sh and .txt files ?

and


for example how can use from this plugin on nagios?

https://exchange.nagios.org/directory/P ... ls/details

Re: how can use plugins in nagios

Posted: Mon Feb 01, 2016 10:59 am
by rkennedy
This varies based on the plugin, for example powershell scripts will have to be executed on the Windows machine.

You'll need to use an agent such as NRPE or NSClient++ on your Windows machine, from there set up an external command to use your plugin in the configuration. This document has a bit more of a walk through -
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Give it a try, and let us know what you have further questions about.

Re: how can use plugins in nagios

Posted: Tue Feb 02, 2016 12:51 am
by baber
i have read this :

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

but realy it can not help me for solve problem or answer question can you say me step by step how can use from these scripts on nagios ( .txt , .vbs , .sh)

please give an example for run one of plugins such as

nagios-check-hddtemp-0.8.1.tar.gz

i could not any document for install and run plugins

Best regards

Re: how can use plugins in nagios

Posted: Tue Feb 02, 2016 11:30 am
by hsmith
Could you please provide a link to this plugin/page describing the plugin? I'm not personally familiar with this particular plugin.