Results 1 to 7 of 7

Thread: Monitoring windows machine services using nagios without nsclient++..

  1. #1
    Join Date
    Oct 2012
    Beans
    11

    Question Monitoring windows machine services using nagios without nsclient++..

    hye guys. I need some help, i want to monitor my windows server 2008 using nagios. i have using NSClient++, and its working as it should be. The problem is, for company windows server, it is best to use standard setting without installing some agent although it is for monitoring purpose. It is to protect their privacy and reduce to rely too much to outside installation software. Can we use ping or snmp to check any windows services we want without installing something on the windows server? Your ideas and suggestion are really needed on this and for other people too. Thanks

  2. #2

    Re: Monitoring windows machine services using nagios without nsclient++..

    no nsclient++?
    snmp.

    This guide for snmp using Cacti may be helpful.
    and the Documentation also.
    Last edited by Habitual; November 5th, 2012 at 03:10 PM.
    Windows assumes the user is an idiot.
    Linux demands proof.

  3. #3
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,690
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Monitoring windows machine services using nagios without nsclient++..

    Without adding a client, you are limited in what you can check and to what extent.

    You can use ping to see if the server is up or not which is the most basic test...however, if your server is running a firewall, you will need to allow ICMP from your Nagios server IP.

    You can also check any port that is open such as web (port 80), SSL (443), mail (25), etc. but will be limited to just knowing if the port is there which may not really help catch problems behind the port. For example, your Mail server might be running (can see and interact with port 25) but you may not be able to see that the spamfilter or antivirus service is not running...or that drive C: has filled up causing OS instability.

    If your company is not going to allow full monitoring of your systems, you might want to scrap the project altogether. What's the point of maintaining a monitoring system if you cannot monitor everything that is needed? It is just extra work with no real benefit to you.

    LHammonds

  4. #4
    Join Date
    Oct 2012
    Beans
    11

    Smile Re: Monitoring windows machine services using nagios without nsclient++..

    Quote Originally Posted by Habitual View Post
    no nsclient++?
    snmp.

    This guide for snmp using Cacti may be helpful.
    and the Documentation also.
    Thanks for suggestion Habitual. I will check on it. It is very good alternative way for windows server. Beside, the package is already in the windows. Thanks

  5. #5
    Join Date
    Oct 2012
    Beans
    11

    Smile Re: Monitoring windows machine services using nagios without nsclient++..

    Quote Originally Posted by LHammonds View Post
    Without adding a client, you are limited in what you can check and to what extent.

    You can use ping to see if the server is up or not which is the most basic test...however, if your server is running a firewall, you will need to allow ICMP from your Nagios server IP.

    You can also check any port that is open such as web (port 80), SSL (443), mail (25), etc. but will be limited to just knowing if the port is there which may not really help catch problems behind the port. For example, your Mail server might be running (can see and interact with port 25) but you may not be able to see that the spamfilter or antivirus service is not running...or that drive C: has filled up causing OS instability.

    If your company is not going to allow full monitoring of your systems, you might want to scrap the project altogether. What's the point of maintaining a monitoring system if you cannot monitor everything that is needed? It is just extra work with no real benefit to you.

    LHammonds
    I will discuss with my supervisor about this. Your comment are very supportive. Guess it can backup me for reason to this. It is good to use NSClient++ because we can monitor many services in windows. Trying my luck. Thanks

  6. #6
    Join Date
    Nov 2006
    Location
    Belgium
    Beans
    3,025
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Monitoring windows machine services using nagios without nsclient++..

    couple of additions to what others said

    1- snmp - yes you can enable snmp on windows and use that to monitor several aspects of the system's state. It saves you the 'trouble' of installing a 3rd party agent, but even snmp is a feature you'd have to activate, and the security implications are similar (or worse), i.e. your server will expose a lot of internal info to the network.
    You're going to have to read up on snmp and security if you want to go that route.


    2- I've been thinking about monitoring Windows hosts through nagios myself - the solution I arrived at was querying WMI from scripts, and submit the results to nagios by way of nsca.

    Write up of how you could go about it:
    http://users.telenet.be/mydotcom/how.../nsca-wmi.html

    (My opinion on) remote monitoring and how i decided nsca was best suited to my needs :
    http://users.telenet.be/mydotcom/how...os/remote.html

  7. #7
    Join Date
    Oct 2012
    Beans
    11

    Smile Re: Monitoring windows machine services using nagios without nsclient++..

    Quote Originally Posted by koenn View Post
    couple of additions to what others said

    1- snmp - yes you can enable snmp on windows and use that to monitor several aspects of the system's state. It saves you the 'trouble' of installing a 3rd party agent, but even snmp is a feature you'd have to activate, and the security implications are similar (or worse), i.e. your server will expose a lot of internal info to the network.
    You're going to have to read up on snmp and security if you want to go that route.


    2- I've been thinking about monitoring Windows hosts through nagios myself - the solution I arrived at was querying WMI from scripts, and submit the results to nagios by way of nsca.

    Write up of how you could go about it:
    http://users.telenet.be/mydotcom/how.../nsca-wmi.html

    (My opinion on) remote monitoring and how i decided nsca was best suited to my needs :
    http://users.telenet.be/mydotcom/how...os/remote.html

    Thanks! Very good tutorial. Checking.=)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •