Monitor ADDS with icinga2 The Next CEO of Stack OverflowNagios graphing solutions vs Munin/Cacti/GangliaWhy is there no output being returned from my check_esx_cim plugin?Nagios NRPE plugin check_ad - FixedPassing SSH flags to Icinga2 by_ssh pluginDynamically setting check_interval parameter based on Service_State in Icinga2How to monitor MySQL socket using icinga2Nagios check_mk with pluginsCan I send check scripts from master to clients and maintain the execute bit with Icinga2?Use check-bind.sh to monitor DNS ServerIcinga2 client Host culster-zone check command not going down (RED) when lost connection
Received an invoice from my ex-employer billing me for training; how to handle?
sp_blitzCache results Memory grants
Why do we use the plural of movies in this phrase "We went to the movies last night."?
Real integral using residue theorem - why doesn't this work?
WOW air has ceased operation, can I get my tickets refunded?
How do scammers retract money, while you can’t?
Sending manuscript to multiple publishers
Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis
How did people program for Consoles with multiple CPUs?
Should I tutor a student who I know has cheated on their homework?
How to start emacs in "nothing" mode (`fundamental-mode`)
Make solar eclipses exceedingly rare, but still have new moons
Can I equip Skullclamp on a creature I am sacrificing?
Can you replace a racial trait cantrip when leveling up?
Calculus II Question
How do I reset passwords on multiple websites easily?
How do I go from 300 unfinished/half written blog posts, to published posts?
Preparing Indesign booklet with .psd graphics for print
Contours of a clandestine nature
Is there an analogue of projective spaces for proper schemes?
What does "Its cash flow is deeply negative" mean?
Why didn't Khan get resurrected in the Genesis Explosion?
Is 'diverse range' a pleonastic phrase?
Would a galaxy be visible from outside, but nearby?
Monitor ADDS with icinga2
The Next CEO of Stack OverflowNagios graphing solutions vs Munin/Cacti/GangliaWhy is there no output being returned from my check_esx_cim plugin?Nagios NRPE plugin check_ad - FixedPassing SSH flags to Icinga2 by_ssh pluginDynamically setting check_interval parameter based on Service_State in Icinga2How to monitor MySQL socket using icinga2Nagios check_mk with pluginsCan I send check scripts from master to clients and maintain the execute bit with Icinga2?Use check-bind.sh to monitor DNS ServerIcinga2 client Host culster-zone check command not going down (RED) when lost connection
I've been checking posts on Nagios Exchange and other forums in order to monitor ADDS in a windows serevr that i'm monitorizing.
All I've been able to undertand is "download the plugin/script" (there are plenty), and then make a command to execute said script.
That's my issue, i don't know where to create the command nor where to place the downloaded script/plugin (i asume that in sbin in the windows server). Also, all the command examples are for nagios and I'm unable to make them work on Icinga2.
Any help?
Edit:
Judging by the answer I got, maybe I didn't explain myself properly.
I currently have a WS2016 server that's being monitored and that already has NSClient++ running and installed.
I've seen some plugins/script that check AD, like (https://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/Active-Directory-(AD)-Check/details), my issue is that I don't know how to execute that check. I'm supposed to write a check_command that a service triggers. But I don't know how to do it. I've see the commands in /usr/share/icinga2/include/command-plugins.conf but those seem to run a local plugin rather than one on the monitorized host.
active-directory monitoring icinga2
New contributor
add a comment |
I've been checking posts on Nagios Exchange and other forums in order to monitor ADDS in a windows serevr that i'm monitorizing.
All I've been able to undertand is "download the plugin/script" (there are plenty), and then make a command to execute said script.
That's my issue, i don't know where to create the command nor where to place the downloaded script/plugin (i asume that in sbin in the windows server). Also, all the command examples are for nagios and I'm unable to make them work on Icinga2.
Any help?
Edit:
Judging by the answer I got, maybe I didn't explain myself properly.
I currently have a WS2016 server that's being monitored and that already has NSClient++ running and installed.
I've seen some plugins/script that check AD, like (https://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/Active-Directory-(AD)-Check/details), my issue is that I don't know how to execute that check. I'm supposed to write a check_command that a service triggers. But I don't know how to do it. I've see the commands in /usr/share/icinga2/include/command-plugins.conf but those seem to run a local plugin rather than one on the monitorized host.
active-directory monitoring icinga2
New contributor
add a comment |
I've been checking posts on Nagios Exchange and other forums in order to monitor ADDS in a windows serevr that i'm monitorizing.
All I've been able to undertand is "download the plugin/script" (there are plenty), and then make a command to execute said script.
That's my issue, i don't know where to create the command nor where to place the downloaded script/plugin (i asume that in sbin in the windows server). Also, all the command examples are for nagios and I'm unable to make them work on Icinga2.
Any help?
Edit:
Judging by the answer I got, maybe I didn't explain myself properly.
I currently have a WS2016 server that's being monitored and that already has NSClient++ running and installed.
I've seen some plugins/script that check AD, like (https://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/Active-Directory-(AD)-Check/details), my issue is that I don't know how to execute that check. I'm supposed to write a check_command that a service triggers. But I don't know how to do it. I've see the commands in /usr/share/icinga2/include/command-plugins.conf but those seem to run a local plugin rather than one on the monitorized host.
active-directory monitoring icinga2
New contributor
I've been checking posts on Nagios Exchange and other forums in order to monitor ADDS in a windows serevr that i'm monitorizing.
All I've been able to undertand is "download the plugin/script" (there are plenty), and then make a command to execute said script.
That's my issue, i don't know where to create the command nor where to place the downloaded script/plugin (i asume that in sbin in the windows server). Also, all the command examples are for nagios and I'm unable to make them work on Icinga2.
Any help?
Edit:
Judging by the answer I got, maybe I didn't explain myself properly.
I currently have a WS2016 server that's being monitored and that already has NSClient++ running and installed.
I've seen some plugins/script that check AD, like (https://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/Active-Directory-(AD)-Check/details), my issue is that I don't know how to execute that check. I'm supposed to write a check_command that a service triggers. But I don't know how to do it. I've see the commands in /usr/share/icinga2/include/command-plugins.conf but those seem to run a local plugin rather than one on the monitorized host.
active-directory monitoring icinga2
active-directory monitoring icinga2
New contributor
New contributor
edited yesterday
Keith
4,3651023
4,3651023
New contributor
asked Mar 26 at 17:46
Alex CoronasAlex Coronas
12
12
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The question is, what specifically you want to test? You can easily run checks to see that ldap(s) ports of the domain controller are open from the nagios server.
You could probably write a script that attempts an ldap bind, and run it from the nagios server to test authentication is working.
Running a DNS check for various SRV records is all easy enough and again is easily handled by a standard nagios check script on the nagios server.
If you want to test other things it might get more complicated. If you have something that can't be easily checked remotely, then you have to use one of the half dozen methods various people have come up with to run remote checks.
One of the challenges with Nagios and Nagios forks, is that you have a huge amount of flexibility, and can accomplish things in many ways. The best method to use can really heavily depend on what exactly you are trying to do.
Some possible ways to monitor your Windows systems.
You could setup passive services, and setup scheduled tasks, perhaps using powershell and have a script that submits the results to the monitoring system.
You could setup nsclient++ on the windows system, and configure your monitoring system to request checks be run remotely via nsclient.
There are ways you can request data via WMI, or submit jobs via WinRM from the monitoring server.
Thanks for your answer, but due to my poor explanations, i think you didn't get what my issue is. I know in wich ways I could monitor ADDS, what i don't know is how to implement it. I've edited my question.
– Alex Coronas
Mar 26 at 19:04
Ok, your addition helped, in that you mention you are using nsclient++, but even that gets tricky. nsclient actually can be implemented in like 4+ different ways. Have you gone through the nsclient docs and tutorial? docs.nsclient.org/tutorial
– Zoredache
Mar 26 at 20:16
Yeah, i've read through some parts, currently i'm running a service that calls "nrpe" as check_command and "check_ad" as nrpe_command. Of course this doesn't work, since this is lookign for an EXE file and not a VBS file.
– Alex Coronas
Mar 26 at 20:26
But still, i'm quite new to monitoring and i'm quite confused. Honestly, i'm just trying to make it work so I can understand what was wrong in order to learn.
– Alex Coronas
Mar 26 at 20:27
ok, well it might be helpful if you update your question with the specific configuration you are trying, and the errors you are seeing.. I haven't used the specific check you mentioned, and haven't really used nsclient that much, so I don't have any good examples ready for you, but I or others almost certainly could help a lot better if you gave us specific errors and configs to work from.
– Zoredache
Mar 26 at 20:32
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Alex Coronas is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f960093%2fmonitor-adds-with-icinga2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The question is, what specifically you want to test? You can easily run checks to see that ldap(s) ports of the domain controller are open from the nagios server.
You could probably write a script that attempts an ldap bind, and run it from the nagios server to test authentication is working.
Running a DNS check for various SRV records is all easy enough and again is easily handled by a standard nagios check script on the nagios server.
If you want to test other things it might get more complicated. If you have something that can't be easily checked remotely, then you have to use one of the half dozen methods various people have come up with to run remote checks.
One of the challenges with Nagios and Nagios forks, is that you have a huge amount of flexibility, and can accomplish things in many ways. The best method to use can really heavily depend on what exactly you are trying to do.
Some possible ways to monitor your Windows systems.
You could setup passive services, and setup scheduled tasks, perhaps using powershell and have a script that submits the results to the monitoring system.
You could setup nsclient++ on the windows system, and configure your monitoring system to request checks be run remotely via nsclient.
There are ways you can request data via WMI, or submit jobs via WinRM from the monitoring server.
Thanks for your answer, but due to my poor explanations, i think you didn't get what my issue is. I know in wich ways I could monitor ADDS, what i don't know is how to implement it. I've edited my question.
– Alex Coronas
Mar 26 at 19:04
Ok, your addition helped, in that you mention you are using nsclient++, but even that gets tricky. nsclient actually can be implemented in like 4+ different ways. Have you gone through the nsclient docs and tutorial? docs.nsclient.org/tutorial
– Zoredache
Mar 26 at 20:16
Yeah, i've read through some parts, currently i'm running a service that calls "nrpe" as check_command and "check_ad" as nrpe_command. Of course this doesn't work, since this is lookign for an EXE file and not a VBS file.
– Alex Coronas
Mar 26 at 20:26
But still, i'm quite new to monitoring and i'm quite confused. Honestly, i'm just trying to make it work so I can understand what was wrong in order to learn.
– Alex Coronas
Mar 26 at 20:27
ok, well it might be helpful if you update your question with the specific configuration you are trying, and the errors you are seeing.. I haven't used the specific check you mentioned, and haven't really used nsclient that much, so I don't have any good examples ready for you, but I or others almost certainly could help a lot better if you gave us specific errors and configs to work from.
– Zoredache
Mar 26 at 20:32
add a comment |
The question is, what specifically you want to test? You can easily run checks to see that ldap(s) ports of the domain controller are open from the nagios server.
You could probably write a script that attempts an ldap bind, and run it from the nagios server to test authentication is working.
Running a DNS check for various SRV records is all easy enough and again is easily handled by a standard nagios check script on the nagios server.
If you want to test other things it might get more complicated. If you have something that can't be easily checked remotely, then you have to use one of the half dozen methods various people have come up with to run remote checks.
One of the challenges with Nagios and Nagios forks, is that you have a huge amount of flexibility, and can accomplish things in many ways. The best method to use can really heavily depend on what exactly you are trying to do.
Some possible ways to monitor your Windows systems.
You could setup passive services, and setup scheduled tasks, perhaps using powershell and have a script that submits the results to the monitoring system.
You could setup nsclient++ on the windows system, and configure your monitoring system to request checks be run remotely via nsclient.
There are ways you can request data via WMI, or submit jobs via WinRM from the monitoring server.
Thanks for your answer, but due to my poor explanations, i think you didn't get what my issue is. I know in wich ways I could monitor ADDS, what i don't know is how to implement it. I've edited my question.
– Alex Coronas
Mar 26 at 19:04
Ok, your addition helped, in that you mention you are using nsclient++, but even that gets tricky. nsclient actually can be implemented in like 4+ different ways. Have you gone through the nsclient docs and tutorial? docs.nsclient.org/tutorial
– Zoredache
Mar 26 at 20:16
Yeah, i've read through some parts, currently i'm running a service that calls "nrpe" as check_command and "check_ad" as nrpe_command. Of course this doesn't work, since this is lookign for an EXE file and not a VBS file.
– Alex Coronas
Mar 26 at 20:26
But still, i'm quite new to monitoring and i'm quite confused. Honestly, i'm just trying to make it work so I can understand what was wrong in order to learn.
– Alex Coronas
Mar 26 at 20:27
ok, well it might be helpful if you update your question with the specific configuration you are trying, and the errors you are seeing.. I haven't used the specific check you mentioned, and haven't really used nsclient that much, so I don't have any good examples ready for you, but I or others almost certainly could help a lot better if you gave us specific errors and configs to work from.
– Zoredache
Mar 26 at 20:32
add a comment |
The question is, what specifically you want to test? You can easily run checks to see that ldap(s) ports of the domain controller are open from the nagios server.
You could probably write a script that attempts an ldap bind, and run it from the nagios server to test authentication is working.
Running a DNS check for various SRV records is all easy enough and again is easily handled by a standard nagios check script on the nagios server.
If you want to test other things it might get more complicated. If you have something that can't be easily checked remotely, then you have to use one of the half dozen methods various people have come up with to run remote checks.
One of the challenges with Nagios and Nagios forks, is that you have a huge amount of flexibility, and can accomplish things in many ways. The best method to use can really heavily depend on what exactly you are trying to do.
Some possible ways to monitor your Windows systems.
You could setup passive services, and setup scheduled tasks, perhaps using powershell and have a script that submits the results to the monitoring system.
You could setup nsclient++ on the windows system, and configure your monitoring system to request checks be run remotely via nsclient.
There are ways you can request data via WMI, or submit jobs via WinRM from the monitoring server.
The question is, what specifically you want to test? You can easily run checks to see that ldap(s) ports of the domain controller are open from the nagios server.
You could probably write a script that attempts an ldap bind, and run it from the nagios server to test authentication is working.
Running a DNS check for various SRV records is all easy enough and again is easily handled by a standard nagios check script on the nagios server.
If you want to test other things it might get more complicated. If you have something that can't be easily checked remotely, then you have to use one of the half dozen methods various people have come up with to run remote checks.
One of the challenges with Nagios and Nagios forks, is that you have a huge amount of flexibility, and can accomplish things in many ways. The best method to use can really heavily depend on what exactly you are trying to do.
Some possible ways to monitor your Windows systems.
You could setup passive services, and setup scheduled tasks, perhaps using powershell and have a script that submits the results to the monitoring system.
You could setup nsclient++ on the windows system, and configure your monitoring system to request checks be run remotely via nsclient.
There are ways you can request data via WMI, or submit jobs via WinRM from the monitoring server.
edited Mar 26 at 18:00
answered Mar 26 at 17:54
ZoredacheZoredache
111k30231379
111k30231379
Thanks for your answer, but due to my poor explanations, i think you didn't get what my issue is. I know in wich ways I could monitor ADDS, what i don't know is how to implement it. I've edited my question.
– Alex Coronas
Mar 26 at 19:04
Ok, your addition helped, in that you mention you are using nsclient++, but even that gets tricky. nsclient actually can be implemented in like 4+ different ways. Have you gone through the nsclient docs and tutorial? docs.nsclient.org/tutorial
– Zoredache
Mar 26 at 20:16
Yeah, i've read through some parts, currently i'm running a service that calls "nrpe" as check_command and "check_ad" as nrpe_command. Of course this doesn't work, since this is lookign for an EXE file and not a VBS file.
– Alex Coronas
Mar 26 at 20:26
But still, i'm quite new to monitoring and i'm quite confused. Honestly, i'm just trying to make it work so I can understand what was wrong in order to learn.
– Alex Coronas
Mar 26 at 20:27
ok, well it might be helpful if you update your question with the specific configuration you are trying, and the errors you are seeing.. I haven't used the specific check you mentioned, and haven't really used nsclient that much, so I don't have any good examples ready for you, but I or others almost certainly could help a lot better if you gave us specific errors and configs to work from.
– Zoredache
Mar 26 at 20:32
add a comment |
Thanks for your answer, but due to my poor explanations, i think you didn't get what my issue is. I know in wich ways I could monitor ADDS, what i don't know is how to implement it. I've edited my question.
– Alex Coronas
Mar 26 at 19:04
Ok, your addition helped, in that you mention you are using nsclient++, but even that gets tricky. nsclient actually can be implemented in like 4+ different ways. Have you gone through the nsclient docs and tutorial? docs.nsclient.org/tutorial
– Zoredache
Mar 26 at 20:16
Yeah, i've read through some parts, currently i'm running a service that calls "nrpe" as check_command and "check_ad" as nrpe_command. Of course this doesn't work, since this is lookign for an EXE file and not a VBS file.
– Alex Coronas
Mar 26 at 20:26
But still, i'm quite new to monitoring and i'm quite confused. Honestly, i'm just trying to make it work so I can understand what was wrong in order to learn.
– Alex Coronas
Mar 26 at 20:27
ok, well it might be helpful if you update your question with the specific configuration you are trying, and the errors you are seeing.. I haven't used the specific check you mentioned, and haven't really used nsclient that much, so I don't have any good examples ready for you, but I or others almost certainly could help a lot better if you gave us specific errors and configs to work from.
– Zoredache
Mar 26 at 20:32
Thanks for your answer, but due to my poor explanations, i think you didn't get what my issue is. I know in wich ways I could monitor ADDS, what i don't know is how to implement it. I've edited my question.
– Alex Coronas
Mar 26 at 19:04
Thanks for your answer, but due to my poor explanations, i think you didn't get what my issue is. I know in wich ways I could monitor ADDS, what i don't know is how to implement it. I've edited my question.
– Alex Coronas
Mar 26 at 19:04
Ok, your addition helped, in that you mention you are using nsclient++, but even that gets tricky. nsclient actually can be implemented in like 4+ different ways. Have you gone through the nsclient docs and tutorial? docs.nsclient.org/tutorial
– Zoredache
Mar 26 at 20:16
Ok, your addition helped, in that you mention you are using nsclient++, but even that gets tricky. nsclient actually can be implemented in like 4+ different ways. Have you gone through the nsclient docs and tutorial? docs.nsclient.org/tutorial
– Zoredache
Mar 26 at 20:16
Yeah, i've read through some parts, currently i'm running a service that calls "nrpe" as check_command and "check_ad" as nrpe_command. Of course this doesn't work, since this is lookign for an EXE file and not a VBS file.
– Alex Coronas
Mar 26 at 20:26
Yeah, i've read through some parts, currently i'm running a service that calls "nrpe" as check_command and "check_ad" as nrpe_command. Of course this doesn't work, since this is lookign for an EXE file and not a VBS file.
– Alex Coronas
Mar 26 at 20:26
But still, i'm quite new to monitoring and i'm quite confused. Honestly, i'm just trying to make it work so I can understand what was wrong in order to learn.
– Alex Coronas
Mar 26 at 20:27
But still, i'm quite new to monitoring and i'm quite confused. Honestly, i'm just trying to make it work so I can understand what was wrong in order to learn.
– Alex Coronas
Mar 26 at 20:27
ok, well it might be helpful if you update your question with the specific configuration you are trying, and the errors you are seeing.. I haven't used the specific check you mentioned, and haven't really used nsclient that much, so I don't have any good examples ready for you, but I or others almost certainly could help a lot better if you gave us specific errors and configs to work from.
– Zoredache
Mar 26 at 20:32
ok, well it might be helpful if you update your question with the specific configuration you are trying, and the errors you are seeing.. I haven't used the specific check you mentioned, and haven't really used nsclient that much, so I don't have any good examples ready for you, but I or others almost certainly could help a lot better if you gave us specific errors and configs to work from.
– Zoredache
Mar 26 at 20:32
add a comment |
Alex Coronas is a new contributor. Be nice, and check out our Code of Conduct.
Alex Coronas is a new contributor. Be nice, and check out our Code of Conduct.
Alex Coronas is a new contributor. Be nice, and check out our Code of Conduct.
Alex Coronas is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f960093%2fmonitor-adds-with-icinga2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown