dear guys
i have windows server with nagios and i need nagios to send me message when logn fail of someone n active directory
i installd nsclient on win server and i configured it
i search for it and saw that maybe check_user can do the job
but how can i post the command in nagios?can you help me do the link?
thank you
check_nrpe
Re: check_nrpe
If it was me, I'd go to a host you want to check, and run the check command with the needed arguments. Once that's working verify the command in the nsclient ini file, then create a service in Nagios to use check_nrpe to run the command. You need the host to run on defined as well.
Personally I use hostgroups to groups similar hosts, and then put those groups in a larger windows hostgroup. I add that hostgroup to the windows services. I also use host and service templates to separate the monitoring info (such as intervals) from the hosts and services. This way I have one service that does a particular check function, not one service per host. Others do things in another way.
Personally I use hostgroups to groups similar hosts, and then put those groups in a larger windows hostgroup. I add that hostgroup to the windows services. I also use host and service templates to separate the monitoring info (such as intervals) from the hosts and services. This way I have one service that does a particular check function, not one service per host. Others do things in another way.
Re: check_nrpe
You will have to install the check_user plugin on your Nagios host for the command to be available.
The default location for plugins on Nagios is the following.
Just copy the plugin to that location on your Nagios host.
Can you please reference exactly what documents or articles you have followed thus far? That way I may be more able to pinpoint where you are getting stuck.
I hope that helps! You may also want to look over this more general Nagios core document about how plugins work.
https://assets.nagios.com/downloads/nag ... ugins.html
The default location for plugins on Nagios is the following.
Code: Select all
/usr/local/nagios/libexecCan you please reference exactly what documents or articles you have followed thus far? That way I may be more able to pinpoint where you are getting stuck.
I hope that helps! You may also want to look over this more general Nagios core document about how plugins work.
https://assets.nagios.com/downloads/nag ... ugins.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_nrpe
i followed this post
https://exchange.nagios.org/directory/P ... er/details
the heck_users is installed in the specific location
my need is to tell me if the login fail in the AD
can u guide? how can i make the user variable?
https://exchange.nagios.org/directory/P ... er/details
the heck_users is installed in the specific location
my need is to tell me if the login fail in the AD
can u guide? how can i make the user variable?