# Newbie question...How to add Sensu Checks on Windows

**URL:** <https://discourse.sensu.io/t/newbie-question-how-to-add-sensu-checks-on-windows/546>\
**Category:** Sensu Classic (EOL)\
**Created:** [February 21, 2016, 5:10am UTC](https://discourse.sensu.io/t/newbie-question-how-to-add-sensu-checks-on-windows/546 "2016-02-21T05:10:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jojobar](https://avatars.discourse-cdn.com/v4/letter/j/bbce88/32.png) [@jojobar](https://discourse.sensu.io/u/jojobar)\
**Post date:** [February 21, 2016, 5:10am UTC](https://discourse.sensu.io/t/newbie-question-how-to-add-sensu-checks-on-windows/546/1 "2016-02-21T05:10:29Z")

</div>

I am a windows user and trying various monitoring systems. I found sensu as a good alternative to try out. So I installed the server on a VM and installed the windows client on my local mahcine (windows 10) according to this document:[https://sensuapp.org/docs/latest/windows-service-configuration](https://sensuapp.org/docs/latest/windows-service-configuration)

On the sensu terminal (port 3000) I am getting this error:

_/opt/sensu/embedded/bin/ruby.exe /etc/sensu/plugins/check-disk-windows.rb - No such file or directory_

Which is true as I guess as I did not install any checks or plug-ins.

I looked into [https://github.com/sensu-plugins/sensu-plugins-windows](https://github.com/sensu-plugins/sensu-plugins-windows) but I am not sure how to install it. Is there any windows installer for the plug-ins? if not, can someone point me to a document that will explain how to do it. I google around but could not find good instructions to install plugins for windows. I have basic knowledge of unix but do not have experience in writing Ruby code.

---

<div class="post-metadata">

**Author:** ![Victor\_Merino](https://avatars.discourse-cdn.com/v4/letter/v/dbc845/32.png) [@Victor\_Merino](https://discourse.sensu.io/u/Victor_Merino)\
**Post date:** [February 21, 2016, 10:02pm UTC](https://discourse.sensu.io/t/newbie-question-how-to-add-sensu-checks-on-windows/546/2 "2016-02-21T22:02:23Z")

</div>

Hello

Checks should be in all client machines, that means you need to install that check into your windows machine

Regards

> **···**
>
> On Sunday, February 21, 2016 at 6:10:29 AM UTC+1, jojobar wrote:
> 
> > I am a windows user and trying various monitoring systems. I found sensu as a good alternative to try out. So I installed the server on a VM and installed the windows client on my local mahcine (windows 10) according to this document:[https://sensuapp.org/docs/latest/windows-service-configuration](https://sensuapp.org/docs/latest/windows-service-configuration)
> 
> > On the sensu terminal (port 3000) I am getting this error:
> 
> > 
> 
> > _/opt/sensu/embedded/bin/ruby.exe /etc/sensu/plugins/check-disk-windows.rb - No such file or directory_
> 
> > 
> 
> > Which is true as I guess as I did not install any checks or plug-ins.
> 
> > 
> 
> > I looked into [https://github.com/sensu-plugins/sensu-plugins-windows](https://github.com/sensu-plugins/sensu-plugins-windows) but I am not sure how to install it. Is there any windows installer for the plug-ins? if not, can someone point me to a document that will explain how to do it. I google around but could not find good instructions to install plugins for windows. I have basic knowledge of unix but do not have experience in writing Ruby code.
> 
> > 
> 
> > 
> 
> > 
> 
> >

---

<div class="post-metadata">

**Author:** ![Michael\_Worsham](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@Michael\_Worsham](https://discourse.sensu.io/u/Michael_Worsham)\
**Post date:** [March 10, 2016, 1:48am UTC](https://discourse.sensu.io/t/newbie-question-how-to-add-sensu-checks-on-windows/546/3 "2016-03-10T01:48:30Z")

</div>

Actually, I have found that there is a bug when you attempt to install the windows-plugins:

C:\opt\sensu\bin\>sensu-install.bat --verbose -p sensu-plugins-windows

C:\opt\sensu\bin\>C:\opt\sensu\embedded\bin\ruby C:\opt\sensu\embedded\bin\sensu-install --verbose -p sensu-plugins-windows

[SENSU-INSTALL] installing Sensu plugins …

[SENSU-INSTALL] provided Sensu plugins: [“sensu-plugins-windows”]

[SENSU-INSTALL] Sensu plugin gems to be installed: [“sensu-plugins-windows”]

[SENSU-INSTALL] installing Sensu plugin gem: sensu-plugins-windows

[SENSU-INSTALL] gem install sensu-plugins-windows --no-ri --no-rdoc --verbose

[SENSU-INSTALL] failed to install Sensu plugin gem: sensu-plugins-windows

[SENSU-INSTALL] please take note of any failure messages above

[SENSU-INSTALL] make sure you have build tools installed (e.g. gcc)

[SENSU-INSTALL] trying to determine Sensu plugin homepage for sensu-plugins-windows …

‘gem’ is not recognized as an internal or external command,

operable program or batch file.

So it seems there is something missing in the actual instructions for supporting Windows systems.

> **···**
>
> >

---

<div class="post-metadata">

**Author:** ![111](https://avatars.discourse-cdn.com/v4/letter/1/0ea827/32.png) [@111](https://discourse.sensu.io/u/111)\
**Post date:** [July 18, 2016, 12:50pm UTC](https://discourse.sensu.io/t/newbie-question-how-to-add-sensu-checks-on-windows/546/4 "2016-07-18T12:50:37Z")

</div>

Yes , I have the same problem…

> **···**
>
> четверг, 10 марта 2016 г., 4:48:30 UTC+3 пользователь Michael Worsham написал:
> 
> > Actually, I have found that there is a bug when you attempt to install the windows-plugins:
> 
> > C:\opt\sensu\bin\>sensu-install.bat --verbose -p sensu-plugins-windows
> 
> > 
> 
> > C:\opt\sensu\bin\>C:\opt\sensu\embedded\bin\ruby C:\opt\sensu\embedded\bin\sensu-install --verbose -p sensu-plugins-windows
> 
> > [SENSU-INSTALL] installing Sensu plugins …
> 
> > [SENSU-INSTALL] provided Sensu plugins: [“sensu-plugins-windows”]
> 
> > [SENSU-INSTALL] Sensu plugin gems to be installed: [“sensu-plugins-windows”]
> 
> > [SENSU-INSTALL] installing Sensu plugin gem: sensu-plugins-windows
> 
> > [SENSU-INSTALL] gem install sensu-plugins-windows --no-ri --no-rdoc --verbose
> 
> > [SENSU-INSTALL] failed to install Sensu plugin gem: sensu-plugins-windows
> 
> > [SENSU-INSTALL] please take note of any failure messages above
> 
> > [SENSU-INSTALL] make sure you have build tools installed (e.g. gcc)
> 
> > [SENSU-INSTALL] trying to determine Sensu plugin homepage for sensu-plugins-windows …
> 
> > ‘gem’ is not recognized as an internal or external command,
> 
> > operable program or batch file.
> 
> > 
> 
> > So it seems there is something missing in the actual instructions for supporting Windows systems.
> 
> > >

---

<div class="post-metadata">

**Author:** ![Smith\_Joel\_HEALTH\_AN](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Smith\_Joel\_HEALTH\_AN](https://discourse.sensu.io/u/Smith_Joel_HEALTH_AN)\
**Post date:** [July 20, 2016, 4:25pm UTC](https://discourse.sensu.io/t/newbie-question-how-to-add-sensu-checks-on-windows/546/5 "2016-07-20T16:25:34Z")

</div>

We install the plugins using:

E:\Applications\sensu\embedded\bin\gem install sensu-plugin --no-rdoc --no-ri  
E:\Applications\sensu\embedded\bin\gem install sensu-plugins-windows --no-rdoc --no-ri

``

It might be because gem isn’t in your path. Specifically referencing it seems to do the trick (obviously changing for your particular locations).
