Search found 12 matches

by dlambeth
Tue Oct 25, 2016 1:39 pm
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output [check_temp] Watchport/H Sensor
Replies: 9
Views: 3557

Re: NRPE: Unable to read output [check_temp] Watchport/H Sen

[SOLVED!]

tgriep, your questions led me where I needed to look. I simply added nagios to the (UUCP) linux group and Bam!, it's all working now. I've been on this for days (off and on) and you just saved me a lot of grief.

Nagios did not have access to /dev/ttsUSB0

Extremely Grateful,
Darwin :D
by dlambeth
Tue Oct 25, 2016 1:31 pm
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output [check_temp] Watchport/H Sensor
Replies: 9
Views: 3557

Re: NRPE: Unable to read output [check_temp] Watchport/H Sen

/dev/ttyUSB0 ls -l /usr/lib/nagios/plugins/check_watchptTemp_linux.pl -r-xr-xr-x 1 nagios nagios 2634 Oct 25 08:06 /usr/lib/nagios/plugins/check_watchptTemp_linux.pl /usr/bin/perl /usr/lib/nagios/plugins/check_watchptTemp_linux.pl -w 82 -c 87 CRITICAL, can't open serial port! Permission denied at /u...
by dlambeth
Tue Oct 25, 2016 8:03 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output [check_temp] Watchport/H Sensor
Replies: 9
Views: 3557

Re: NRPE: Unable to read output [check_temp] Watchport/H Sen

Here is the plugin just to be complete. -------------------------check_watchptTemp_linux.pl------------------------------------------------------- #!/usr/bin/perl -w # check_watchptTemp_linux.pl # Copyright 2010,2011 Julius Schlosburg # # This script gets the temperature from a Digi Watchport Temper...
by dlambeth
Tue Oct 25, 2016 7:15 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output [check_temp] Watchport/H Sensor
Replies: 9
Views: 3557

Re: NRPE: Unable to read output [check_temp] Watchport/H Sen

Interestingly I'm now getting this return error in Nagios:

"Warning: Return code of 13 for check of service 'Temperature' on host 'nagios' was out of bounds."
by dlambeth
Tue Oct 25, 2016 7:00 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output [check_temp] Watchport/H Sensor
Replies: 9
Views: 3557

Re: NRPE: Unable to read output [check_temp] Watchport/H Sen

I am trying to run it directly from the local linux host. I have NRPE installed on the localhost as well and tried to call it up that way with the same problem.

Thanks,
by dlambeth
Mon Oct 24, 2016 3:37 pm
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output [check_temp] Watchport/H Sensor
Replies: 9
Views: 3557

NRPE: Unable to read output [check_temp] Watchport/H Sensor

I have a plugin [check_temp] and a Watchport Thermal sensor that I just cannot get the plug-in working. This plug-in uses Perl and this may be the issue. When I run the command in the Linux shell, it works and I get the expected output. Command Line: /usr/bin/perl /usr/lib/nagios/plugins/check_watch...
by dlambeth
Fri Mar 04, 2016 4:02 pm
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output / check_qmaiq
Replies: 6
Views: 2174

SOLVED!!!!! NRPE: Unable to read output / check_qmaiq

SOLVED:!! The Getopt.pm file did not have "nagios" permissions on it. I did a search for "Getopt.pm" and once I determined the location I add nagios group to the permission of that folder and BAM! it works. Thank you so much for pointing me in the right direction, you rock. :mrgr...
by dlambeth
Fri Mar 04, 2016 3:53 pm
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output / check_qmaiq
Replies: 6
Views: 2174

Re: NRPE: Unable to read output / check_qmaiq

Permissions for that file are:

-rwxr-xr-x 1 nagios nagios 3076 Jul 2 2014 /usr/lib/nagios/plugins/check_qmailq
by dlambeth
Fri Mar 04, 2016 3:51 pm
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output / check_qmaiq
Replies: 6
Views: 2174

Re: NRPE: Unable to read output / check_qmaiq

Hmm, when I try to run that command logged in as Nagios I get the following error, I think you pointed me in the right direction. I was running as root previously. "Can't locate Nagios/Plugin/Getopt.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl5/5.16.3/i686-linux /usr/local/lib/perl5...