Hi, I admit right up front as the subject says that I am new to adding new plugins and checks.
Specifically, I am looking at this one here:
http://exchange.nagios.org/directory/Pl ... ss/details
I see the plugin path on the server, but how would I configure a command via the NagiosXI console to use the .vbs? I can run the script locally on my pc, but see nothing in the script that would take an ARG like $HOSTADDRESS$
Thanks in advance for any help.
new to adding plugins/checks
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: new to adding plugins/checks
You will need to install NSClient++ on the windows system, and run through a few more steps to make this plugin callable by Nagios. Lets start by installing NSClient++ please follow this documentation and let us know when you are done:
http://assets.nagios.com/downloads/nagi ... _Agent.pdf
We do recommend you install version 3.9.x and not one of the newer 4.0 versions as they are a bit more prone to bugs and configuration problems as of right now.
http://assets.nagios.com/downloads/nagi ... _Agent.pdf
We do recommend you install version 3.9.x and not one of the newer 4.0 versions as they are a bit more prone to bugs and configuration problems as of right now.
-
LinedataIT
- Posts: 17
- Joined: Tue Aug 02, 2011 1:04 pm
Re: new to adding plugins/checks
Ok, sorry, I should have mentioned it, but I do have NSClient+ rolled out to my servers.
Whats next?
Whats next?
Re: new to adding plugins/checks
Do you have the script defined in the NSC.ini (nsclient.ini) file on the Windows box? It depends on the script but in general you may have to have something similar to this under the [External Scripts} section:
Code: Select all
check_foldersize=cscript.exe //T:30 //NoLogo scripts\<your_script>.vbs $ARG1$Be sure to check out our Knowledgebase for helpful articles and solutions!