Script monitoirng using nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Script monitoirng using nagiosxi

Post by lafargeuser »

How do I monitor custom scripts created in perl / bash scripts for linux and visual basic / perl / bat / powershell scripts in windows.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Script monitoirng using nagiosxi

Post by Box293 »

This guide which explains how to do the linux stuff:
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf

Bat/Powershell scripts in windows need to be configured in NSClient++ and you need to use check_nrpe (check_nt won't work for scripts).
This guide gives an overview of how it works:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Script monitoirng using nagiosxi

Post by lafargeuser »

Thanks. Can you share document on how to install nsclient using nrpe
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Script monitoirng using nagiosxi

Post by hsmith »

lafargeuser wrote:Thanks. Can you share document on how to install nsclient using nrpe
For clarity sake here, do you mean have NSClient run NRPE so you can run check_nrpe checks vs it ?
Former Nagios Employee.
me.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Script monitoirng using nagiosxi

Post by lafargeuser »

So at the time of installation we have to check nrpe not nt right
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Script monitoirng using nagiosxi

Post by hsmith »

lafargeuser wrote:So at the time of installation we have to check nrpe not nt right
What installation are you referring to?
Former Nagios Employee.
me.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Script monitoirng using nagiosxi

Post by lafargeuser »

Nsclient installation on Windows
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Script monitoirng using nagiosxi

Post by hsmith »

lafargeuser wrote:Nsclient installation on Windows
Here is a document outlining how to install NSClient++.
Former Nagios Employee.
me.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Script monitoirng using nagiosxi

Post by lafargeuser »

Here, we have scripts running on remote node, How do i monitor that
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Script monitoirng using nagiosxi

Post by hsmith »

lafargeuser wrote:Here, we have scripts running on remote node, How do i monitor that

Box293 wrote: Bat/Powershell scripts in windows need to be configured in NSClient++ and you need to use check_nrpe (check_nt won't work for scripts).
This guide gives an overview of how it works:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Have you had a look over the article that he Box293 posted?
Former Nagios Employee.
me.
Locked