How to configure Nagios to Monitor Windows 2003 server via SNMP

HI

I am new employee in my company and I was tasked to set up nagios 3 to monitor windows 2003 server with SNMP. Nagios is installed on the openSUSe 11.3 version. My boss wants to set up monitoring for the partitions in percentages as well as memory usage. Any idea how to do that
cer113Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

liddlerCommented:
Do you need to do it via SNMP?  The Nsclient for Nagios works fine on Windows 2003 and will monitor partitions and memory.  I only normally use SNMP for devices that cannot run a client.

If you are using SNMP, you'll need the check_snmp_win.pl script, if it's not in the default you can get it here (http://nagios.manubulon.com/snmp_windows.html), you'll need perl installed and Net::SNMP module
0
cer113Author Commented:
hi thanks for your response

Yes I have perl installed and net_snmp as well but I would like to use following plug in
http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/Check-Disk-Win2k3-%252D-SNMP/details

but when i try to download it it doesnt download.

How i can download this plug in and give it a shoot
0
cer113Author Commented:
also I need only to monitor Disk usage for 3 partitions as well as memory usage on that particular windows 2003 server so i think above mentioned script will just do the job if i can get it
0
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

liddlerCommented:
Right click on the check_disk_snmp and select Save Link As....
0
cer113Author Commented:
yes but can i download that to my Linux box
i am trying to test some plug ins and this one seems worth to try
0
liddlerCommented:
If you've downloaded it to a PC you need to transfer it to your linux box - use sftp, ftp or SAMBA
0
cer113Author Commented:
it cannot be downloaded to Linux box directly with wget
0
liddlerCommented:
0
cer113Author Commented:
Ok I got the script now how do I add that as a service in nagios and configure disk usage monitoring in I believe i have to add it to windows.cfg and commands.cfg.
0
liddlerCommented:
So,
You need to make sure your script is in the libexec directory and is executable

Add a line to commands.cfg similar to that below (this example is for a different snmp script for monitoring a Bluecoat device)

# 'check_snmp_env' command definition
define command{
        command_name    check_snmp_env
        command_line    $USER1$/check_snmp_env.pl -H $HOSTADDRESS$ -c $ARG1$
}


Then in your windows.cfg something like:
define service{
        use                     generic-service
        host_name               BLUECOAT
        service_description     Check Bluecoat
        check_interval          1
        check_command           check_snmp_env!-C <password> -2 -T bc!

        }







0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cer113Author Commented:
it is good tip now I just have to adjust my own plug ins to make sure they work properly
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.