Sei sulla pagina 1di 10

3/22/2016

NagiosforWindowsNagwintutorial4sysops

FREE: Nagwin Nagios for Windows


Home (https://4sysops.com) / Blog (https://4sysops.com/archives/) / FREE: Nagwin Nagios for Windows
4sysops - The online community for SysAdmins and DevOps

Justin Shin

Nagwin allows you to run Nagios, a popluar moniting software, on Windows hosts. In th

(https://4sysops.com/members/justin-

shin/)

FREE:VeeamHyperVBackup

(https://4sysops.com/members/justin-

Easytouse
(messages/compose/?
Imagebasedbackups
r=justinRestoreVMs,filesorapps
shin&_wpnonce=20dc4aae40),
Dedupliationandcompression
October 24, 2011
Swapfileexclusion
shin/)

(https://4sysops.com/archives/freenagwin-nagios-forwindows/), 9

DownloadFREEversionnow!
Advertisement

(https://4sysops.com/archives/freenagwin-nagios-forwindows/#comments)

Nagios is one of the most popular Open Source IT infrastructure monitoring tools avail
(https://www.itex.no/i2/nagwin-get) to allow a Windows host to run the Nagios proce

https://4sysops.com/archives/freenagwinnagiosforwindows/#Contentbaltitle

1/10

3/22/2016

NagiosforWindowsNagwintutorial4sysops

(http://4sysops.com/wp-content/uploads/2011/10/Nagios-for-Windows-Nagwin.png)

Nagwin A complete Nagios implementation for Windows

Installing Nagwin ^

Nagwin uses several packages to acheive Nagios functionality on Windows, including lig

Once you download the installer, unzip and run the resultant Nagwin_1.2.0_Installer ex
unless you would rather use an existing service account. The password that is prepopu

Conguring the Nagios process ^

Assuming you want Nagios to start automatically when your server starts, you should r

ADAXESPremiumAllinOne
ActiveDirectorySolution
ActiveDirectoryautomation
ExchangeandOffice365automation
Userselfserviceincludingselfpasswordreset
ActiveDirectoryreports
Modernandflexiblewebinterface
Freeevaluationandstartupassistance

FreeDownload
Advertisement

By default, the Nagios admin account (nagiosadmin) has the password nagios and tha
1 htpasswd2 -b /etc/nginx/htpasswd nagiosadmin <em>your_password_here</em>

You can create additional accounts but thats what we will use for now. You can also ch
server block. Now change the listen directive from 80 to whatever you desire.

Conguring Nagios to monitor a host ^

Now the real work begins. Lets assume that our Nagios server is located at 10.1.1.14 in
the hosts.cfg le in the \etc\nagios\nagwin directory). Using our example above, the h
1 # Define a host for the local machine
2 define host{
3 use windows-server,host-pnp
4 host_name fileserver

https://4sysops.com/archives/freenagwinnagiosforwindows/#Contentbaltitle

2/10

3/22/2016

NagiosforWindowsNagwintutorial4sysops

5 alias fileserver
6 address 10.1.1.10
7 }

Note: alias is simply what Nagios calls the host, and in many cases it is appropriate to h

Thats it! Now we need to start all of our Nagwin services (there are four) in services.ms

Once you have started these services, navigate to http://localhost:PORT_NUMBER and l


allows systems administrators to check the health of hosts as well as connectivity.

(http://4sysops.com/wp-content/uploads/2011/10/Nagios-for-Windows-Nagwin-Connec

Nagwin Connectivity

In the next guide we will learn about Winrpe (http://4sysops.com/archives/free-winrpe-

Nagwin (https://www.itex.no/i2/nagwin-get) ^

1
Share
(https://www.addtoany.com/share#url=https%3A%2F%2F4
windows%2F&title=FREE%3A%20Nagwin%20%E2%80%93%20Nagios%20
(+20 rating, 7 votes)

About

LatestPosts

Justin Shin (Http://4sysops.Com/Forums/Users/Justin-Shin)

I have been a Windows administrator for eight years and currently foc

(http://4sysops.com/forums/users/JustinShin)

(https://4sysops.com/archives/free-sysadmin-anywhere-active-directory-management/)(https://4sysops.com/archives/ediscovery-in-excha

Anon
4 years ago

It looks as if the Nagwin project has been discontinued. Or at least the installers and the source
REPLY (HTTPS://4SYSOPS.COM/ARCHIVES/FREE-NAGWIN-NAGIOS-FOR-WINDOWS/?REPLYTOCOM=241955#RESPOND)

Michael Pietroforte (https://4sysops.com/members/michael-pietroforte/)


4 years ago

https://4sysops.com/archives/freenagwinnagiosforwindows/#Contentbaltitle

3/10

3/22/2016

NagiosforWindowsNagwintutorial4sysops

Anon, the Nagwin project still exists. The tool isnt just free anymore.
REPLY (HTTPS://4SYSOPS.COM/ARCHIVES/FREE-NAGWIN-NAGIOS-FOR-WINDOWS/?REPLYTOCOM=241965#RESPOND)

John (http://www.complex.ie)
4 years ago

You may nd it better o building a centos VMware to host the ocial nagios server platform a

The beauty of Nagios is that you can write your own plug-in to monitoring anything we have a
REPLY (HTTPS://4SYSOPS.COM/ARCHIVES/FREE-NAGWIN-NAGIOS-FOR-WINDOWS/?REPLYTOCOM=242467#RESPOND)

Bill Campbell
4 years ago

But no trial option? Ive heard all about Nagios but always on Linux. We are a windows only sho
REPLY (HTTPS://4SYSOPS.COM/ARCHIVES/FREE-NAGWIN-NAGIOS-FOR-WINDOWS/?REPLYTOCOM=242833#RESPOND)

vgupta75atgmail
4 years ago

Dear All,

I could not nd NAGWIN Installation les. Does anybody has an access to them. I am looking fo
All help is highly appreciated..
REPLY (HTTPS://4SYSOPS.COM/ARCHIVES/FREE-NAGWIN-NAGIOS-FOR-WINDOWS/?REPLYTOCOM=243722#RESPOND)

romulus
4 years ago

you can nd it here

http://mirror.transact.net.au/sourceforge/s/project/se/sereds/Nagios/ (http://mirror.transact.n
REPLY (HTTPS://4SYSOPS.COM/ARCHIVES/FREE-NAGWIN-NAGIOS-FOR-WINDOWS/?REPLYTOCOM=243793#RESPOND)

Itex (https://www.itex.no)
4 years ago

A free version of Nagwin with Nagios Core, PNP4Nagios and RRDTool is now available: https://w

https://4sysops.com/archives/freenagwinnagiosforwindows/#Contentbaltitle

4/10

3/22/2016

NagiosforWindowsNagwintutorial4sysops

REPLY (HTTPS://4SYSOPS.COM/ARCHIVES/FREE-NAGWIN-NAGIOS-FOR-WINDOWS/?REPLYTOCOM=250851#RESPOND)

Kent C.
2 years ago

Excellent Guide! I have used this and was able to quickly get online and setup a basic SNMP usi
Im using the free one and this worked pretty well, easy to follow. Keep up the great work.
REPLY (HTTPS://4SYSOPS.COM/ARCHIVES/FREE-NAGWIN-NAGIOS-FOR-WINDOWS/?REPLYTOCOM=288244#RESPOND)

EPMD
2 months ago

Hi;

Ive managed to add the jmxeval.bat for the jmx checks. But I am getting an exception when I
C:\Nagwin_x64\plugins>check_jmxeval.bat C:\Nagwin_x64\etc\jmxeval-threadcount.xm
l
Exception in thread main java.lang.ClassCastException: com.adahas.tools.jmxeva
l.model.impl.Eval cannot be cast to com.adahas.tools.jmxeval.model.impl.JMXEval
at com.adahas.tools.jmxeval.App.execute(App.java:50)
at com.adahas.tools.jmxeval.App.main(App.java:110)
If there is a better way to add the jmx checks to Nagwin please share.
Thanks and regards.
REPLY (HTTPS://4SYSOPS.COM/ARCHIVES/FREE-NAGWIN-NAGIOS-FOR-WINDOWS/?REPLYTOCOM=293834#RESPOND)

Leave a reply
Your email address will not be published. Required elds are marked *

https://4sysops.com/archives/freenagwinnagiosforwindows/#Contentbaltitle

5/10

3/22/2016

NagiosforWindowsNagwintutorial4sysops

p
Notify me of followup comments via e-mail

Name *

Email *

Website

POST COMMENT

Blog Authors (random selection)

https://4sysops.com/archives/freenagwinnagiosforwindows/#Contentbaltitle

6/10

3/22/2016

NagiosforWindowsNagwintutorial4sysops

Michael Pietroforte
(https://4sysops.com/archives/author/michael-pietroforte/)

Wolfgang Sommergut
(https://4sysops.com/archives/author/wolfgang-sommergut/)

Joseph Moody
(https://4sysops.com/archives/author/joseph-moody/)

Timothy Warner
(https://4sysops.com/archives/author/timothy-warner/)

Paul Schnackenburg
(https://4sysops.com/archives/author/paul-schnackenburg/)

Kyle Beckman
(https://4sysops.com/archives/author/kyle-beckman/)

Reviews
Veeam releases free Endpoint Backup 1.5
March 18, 2016

(https://4sysops.com/archives/veeam-releases-free-endpoint-backup-1-5/)

https://4sysops.com/archives/freenagwinnagiosforwindows/#Contentbaltitle

7/10

3/22/2016

NagiosforWindowsNagwintutorial4sysops

ManageEngine Mobile Device Manager Plus Cloud-based MDM Solution


February 16, 2016

(https://4sysops.com/archives/manageengine-mobile-device-manager-plus-cloud-based-mdmsolution/)
Convert EXE to MSI with EMCO MSI Package Builder 6
December 15, 2015

(https://4sysops.com/archives/convert-exe-to-msi-with-emco-msi-package-builder-6/)
Free RDP Client Remote Desktop Manager 11
December 8, 2015

(https://4sysops.com/archives/free-rdp-client-remote-desktop-manager-11/)
NetCrunch 9 Monitoring servers, devices, and apps
December 3, 2015

(https://4sysops.com/archives/netcrunch-9-monitoring-servers-devices-and-apps/)
Adaxes makes Active Directory easier in education
November 24, 2015

(https://4sysops.com/archives/adaxes-makes-active-directory-easier-in-education/)
ManageEngine Desktop Central 9 Powerful desktop & mobile device management
October 28, 2015

(https://4sysops.com/archives/review-manageengine-desktop-central-9/)

Popular Posts
Oce 2016 installation
November 10, 2015

(https://4sysops.com/archives/oce-2016-installation-customize-and-deploy/)
Disable Windows 10 Update in the Registry and with PowerShell
August 17, 2015

(https://4sysops.com/archives/disable-windows-10-update-in-the-registry-and-with-powershell/)
Automatically log o idle users in Windows
March 26, 2015

(https://4sysops.com/archives/automatically-log-o-idle-users-in-windows/)
The PowerShell function Parameters, data types, return values
February 12, 2015

(https://4sysops.com/archives/the-powershell-function-parameters-data-types-return-values/)

https://4sysops.com/archives/freenagwinnagiosforwindows/#Contentbaltitle

8/10

3/22/2016

NagiosforWindowsNagwintutorial4sysops

Reset a Windows 10 password


October 30, 2014

(https://4sysops.com/archives/reset-a-windows-10-password/)
Disable Windows Update in Windows 10
October 13, 2014

(https://4sysops.com/archives/disable-windows-update-in-windows-10/)
Use DISM to slipstream updates
March 21, 2014

(https://4sysops.com/archives/use-dism-to-slipstream-updates/)
Managing inactive clients in SCCM 2012
October 16, 2013

(https://4sysops.com/archives/managing-inactive-clients-in-sccm-2012/)

Forum Topics
Sharepoint Internal Job Posting
March 15, 2016

(https://4sysops.com/forums/topic/sharepoint-internal-job-posting/)
Get-WindowsUpdateLog on Windows 10: Unknown GUID
March 15, 2016

(https://4sysops.com/forums/topic/get-windowsupdatelog-on-win10/)
Advanced troubleshooting of Oce/Outlook 2016 (Click-to-Run in particular)
March 14, 2016

(https://4sysops.com/forums/topic/advanced-troubleshooting-of-oceoutlook-2016-click-to-runin-particular/)
Connecting two Active Directory sites
March 5, 2016

(https://4sysops.com/forums/topic/site-to-site/)
Reset Windows 10 password on MacBook
March 4, 2016

(https://4sysops.com/forums/topic/reset-windows-10-password-on-macbook/)
One of my DC's has no 4662 events recorded.
March 2, 2016

(https://4sysops.com/forums/topic/one-of-my-dcs-has-no-4662-events-recorded/)

https://4sysops.com/archives/freenagwinnagiosforwindows/#Contentbaltitle

9/10

3/22/2016

NagiosforWindowsNagwintutorial4sysops

ICS sharing with >1 network to


February 26, 2016

(https://4sysops.com/forums/topic/ics-sharing-with-1-network-to/)
Powershell script to get the size of all folders within C:\Users
January 19, 2016

(https://4sysops.com/forums/topic/powershell-script-to-get-the-size-of-all-folders-within-cusers/)
VNET-to-VNET and ExpressRoute in Azure
December 30, 2015

(https://4sysops.com/forums/topic/vnet-to-vnet-and-expressroute-in-azure/)

4sysops 2006 - 2016

https://4sysops.com/archives/freenagwinnagiosforwindows/#Contentbaltitle

10/10

Potrebbero piacerti anche