Hi all,
I have nagios core installed in centos 6.5. Everything is OK. I have a few linux with nrpe, few windows with nsclient and some nework hosts.
Now I want to check more things like some script results, services etc....
For example, how can I get DHCP monitoring?
I want this function: https://exchange.nagios.org/directory/P ... es/details
But after read some internet documents I dont know how to use or what I have to do to use that plugins in windows.
Can someone explain a litle bit?
Thanks.
Regards.
Scripts and other service monitoring
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Scripts and other service monitoring
Not all plugins are designed for Windows, but that one is. Are you getting an error message when you set it up in NSClient? Can you provide the nsclient.ini file from the Windows server you are trying to monitor?
Re: Scripts and other service monitoring
dwhitfield wrote:Not all plugins are designed for Windows, but that one is. Are you getting an error message when you set it up in NSClient? Can you provide the nsclient.ini file from the Windows server you are trying to monitor?
Hi i have no problems with nsclient in my windows hosts. But I can only check cpu,ping.memory etc.... but if I want to check scripts or dhcp or diferent services. What are the steps to do?
Re: Scripts and other service monitoring
https://support.nagios.com/kb/article.php?id=528 can help you configure nsclient to use external scripts with Nagios.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Scripts and other service monitoring
cdienger wrote:https://support.nagios.com/kb/article.php?id=528 can help you configure nsclient to use external scripts with Nagios.
Sorry I use Nagios Core version.
Re: Scripts and other service monitoring
Although it says XI in the title it doesn't actually have anything XI specific in it and would help with Core as well.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Scripts and other service monitoring
Hi,
Thanks, I have understood the example of configuring NSClient++ to use a differents script.
But how can i see that service in nagios interface. I mean that i want to see a script result in my nagios interface like ping or service up or down..
Another problem is that the result is 0 Scope OK everytime... why could be?
Thanks.
Regards.
Thanks, I have understood the example of configuring NSClient++ to use a differents script.
But how can i see that service in nagios interface. I mean that i want to see a script result in my nagios interface like ping or service up or down..
Another problem is that the result is 0 Scope OK everytime... why could be?
Thanks.
Regards.
Re: Scripts and other service monitoring
You would need to configure it as a service. The entirety of how Nagios Core understands your infrastructure is through Nagios configuration objects. If you want to monitor "a thing", you need to have an object definition for that thing.krismvp wrote:But how can i see that service in nagios interface. I mean that i want to see a script result in my nagios interface like ping or service up or down..
There's lots of tutorials on the internet regarding how to configure objects in Nagios Core, but if you have specific questions about why a certain configuration isn't working, there's plenty of people here happy to help
That's a question for the person that wrote the plugin. Based on my limited understanding of Powershell, all the plugin does is take a scopeID (or 'all' for all scopes) and makes sure that for each scope returned, that scope is not running low on available leases.krismvp wrote:Another problem is that the result is 0 Scope OK everytime... why could be?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Scripts and other service monitoring
https://assets.nagios.com/downloads/nag ... start.html is another good source for finding step by step instructions for post-install configuration of hosts/services. Let us know if you have any specific questions after taking a look
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.