Page 1 of 1

Monitoring ESensor EM08

Posted: Wed Sep 28, 2011 1:00 pm
by cwscribner
Hi all.

I installed the monitoring wizard for the ESensors and used the wizard to input 3 EM08 sensors. I'm getting a ping response but the illumination, humidity, and temp services are showing "Error 127 out of bounds. Plugin may be missing". Is there a plugin that I need in addition to the wizard?

Re: Monitoring ESensor EM08

Posted: Thu Sep 29, 2011 5:33 pm
by lmiltchev
Did you follow the steps described in our documentation?
This assumes that your Websensor has already been configured for
connection to your network with either a manually-assigned static IP address or
an automatically assigned address from a DHCP server.
Read the documentation that came with your Websensor unit for initial network
configuration instructions.
http://assets.nagios.com/downloads/nagi ... r_EM08.pdf

Re: Monitoring ESensor EM08

Posted: Fri Sep 30, 2011 8:59 am
by cwscribner
Yes. There are 3 EM08 sensors that were all configured with static IPs using the manual that came with them.

Re: Monitoring ESensor EM08

Posted: Fri Sep 30, 2011 9:53 am
by agriffin
Can you try running the plugin from the command line and posting it output? You can find instructions on how to do this in this document, although you might have to work through it backwards a little bit since the wizard already created the command definition.

Re: Monitoring ESensor EM08

Posted: Fri Sep 30, 2011 12:04 pm
by cwscribner
Out of curiosity, I checked the config wizard for the ESensors that I uploaded. It only complied and installed the plugin for the em01 model. So I went to the plugins folder of the wizard, manually compiled the check_em08.c file and moved it to /libexec. That was all that needed to be done. All three sensors immediately updated their service status with proper values. So it looks like the problem is that the wizard doesn't compile all of the needed plugins when it gets uploaded.

Re: Monitoring ESensor EM08

Posted: Fri Sep 30, 2011 12:21 pm
by nscott
The C module would require compilation and thats why it isn't moved, the wizard won't move .c, .h etc to the plugin directory.

Re: Monitoring ESensor EM08

Posted: Fri Sep 30, 2011 12:23 pm
by agriffin
Glad to hear your issue was resolved! We'll look into fixing any issues that are present in the wizard. I've opened a bug report here based on the text of your post; if you have any additional information to add we'd be grateful to hear it.

Re: Monitoring ESensor EM08

Posted: Fri Sep 30, 2011 12:31 pm
by cwscribner
The C module would require compilation and thats why it isn't moved, the wizard won't move .c, .h etc to the plugin directory.
Ah okay. That makes sense. In the documentation it says all you need is to upload the wizard (unless I missed something). That's why I assumed it would just work upon uploading. Did I miss something in the documentation or is some instruction actually missing?

Re: Monitoring ESensor EM08

Posted: Fri Sep 30, 2011 2:13 pm
by nscott
No, you didn't, the documenation is missing that part, thanks for pointing that out, I will amend that. :)