how can use plugins in nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
baber
Posts: 308
Joined: Wed Oct 21, 2015 4:39 am

how can use plugins in nagios

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: how can use plugins in nagios

Post 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.
Former Nagios Employee
baber
Posts: 308
Joined: Wed Oct 21, 2015 4:39 am

Re: how can use plugins in nagios

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: how can use plugins in nagios

Post by hsmith »

Could you please provide a link to this plugin/page describing the plugin? I'm not personally familiar with this particular plugin.
Former Nagios Employee.
me.
Locked