error on service check

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: error on service check

Post by abrist »

If the Security Panel check is a ping check, it should just work. I wonder if there is a syntax issue. Could you post the service config for the Security Panel check?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
nix
Posts: 2
Joined: Thu Oct 10, 2013 1:02 am

Re: error on service check

Post by nix »

Its same for me, I have upgraded the version 3.3.1 to 4.0.0 and its giving me the same error message on checks and this is random.

Sometime its showing error message some time showing correct values. I ran those commands locally from shell and output is correct.

ran same check from nagios Server from NRPE and gicing me correct values but not on the WebUI of nagios.

Nagios WebUI :

Image

Shell output from Nagios Server

Code: Select all

[nagios-server]# /opt/nagios/libexec/check_nrpe -H HOST-IPADDRESS -c check_load
OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;
Attachments
Capture1.PNG
steve.gregory
Posts: 3
Joined: Thu Oct 10, 2013 3:41 am

Re: error on service check

Post by steve.gregory »

DeanM wrote:Yes, The commands work and have the proper output from the command line.
Hi Dean/everyone... I've also just updated to the latest stable release. Now I'm getting the same problem also! Each command works from the commandline but not from within Nagios itself. I get the same error under Status Information ((No output on stdout) stderr:)
Now some checks are working... and some aren't... I'm going to watch this topic as i'm at a loss as to why the check works from the command line but not from within nagios. Very confused :(

Steve
prasanth
Posts: 1
Joined: Wed Oct 09, 2013 4:20 am

Re: Nagios (Check_sftp)

Post by prasanth »

We are unable to find any files in check_sftp_bin.tar and check_sftp_source.tar from this URL
http://exchange.nagios.org/directory/Pl ... tp/details

Can you please suggest any alternate links from which we can download these files?
steve.gregory
Posts: 3
Joined: Thu Oct 10, 2013 3:41 am

Re: error on service check

Post by steve.gregory »

Update: fwiw guys, I've just downloaded the last release of stable v3 and installed this. All is back to normal again. I'll leave v4 for now ;) but i'll follow this stream here still. Thanks, Steve.
DeanM
Posts: 17
Joined: Wed Sep 25, 2013 7:38 am

Re: error on service check

Post by DeanM »

define service{
use generic-service
host_name pal
service_description pal Security Panel ;
check_command trace!10.22.16.90!4000.0,80%!5000.0,100%
normal_check_interval 30
retry_check_interval 3
notification_interval 0
first_notification_delay 0
max_check_attempts 2
}
DeanM
Posts: 17
Joined: Wed Sep 25, 2013 7:38 am

Re: error on service check

Post by DeanM »

steve.gregory wrote:Update: fwiw guys, I've just downloaded the last release of stable v3 and installed this. All is back to normal again. I'll leave v4 for now ;) but i'll follow this stream here still. Thanks, Steve.
I did also and all is working. I am going to have to try 4.0 in test.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: error on service check

Post by abrist »

Please do try it in a testing environment first. It has only been available for less than two weeks.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
nix
Posts: 2
Joined: Thu Oct 10, 2013 1:02 am

Re: error on service check

Post by nix »

Downgraded to 3.5.1 and all works fine again.

-
Nix
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: error on service check

Post by abrist »

If you have not done so already, open a bug report at http://tracker.nagios.org
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked