Search found 13 matches

by andresrinaldi_uy
Thu Jan 12, 2017 10:10 am
Forum: Open Source Nagios Projects
Topic: Bad result code in a PERL plugin
Replies: 13
Views: 7126

Re: Bad result code in a PERL plugin

I did this but the result was worst. With this in mind I did some research and I found this article: https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/embeddedperl.html Change this setting from 1 to 0 for testing purpose use_embedded_perl_implicitly=0 And it worked, but CPU consump...
by andresrinaldi_uy
Tue Jan 10, 2017 10:00 am
Forum: Open Source Nagios Projects
Topic: Bad result code in a PERL plugin
Replies: 13
Views: 7126

Re: Bad result code in a PERL plugin

It's the number of interface, doesn't matter which interface I check, the result (OK, CRITICAL or WARNING), always shows orange (UNKNOWN).
by andresrinaldi_uy
Mon Jan 09, 2017 8:09 pm
Forum: Open Source Nagios Projects
Topic: Bad result code in a PERL plugin
Replies: 13
Views: 7126

Re: Bad result code in a PERL plugin

I've already checked it, the same permissions that other plugins.

Code: Select all

-rwxr-xr-x 1 root root  39175 ene  9 18:07 check_iftraffic64.pl
by andresrinaldi_uy
Mon Jan 09, 2017 1:46 pm
Forum: Open Source Nagios Projects
Topic: Bad result code in a PERL plugin
Replies: 13
Views: 7126

Re: Bad result code in a PERL plugin

I have done this while I was testing and all seems to work fine, but in the WEB-GUI still orange it does not matter if OK or CRITICAL, the return code is always 3

Image
by andresrinaldi_uy
Mon Jan 09, 2017 1:03 pm
Forum: Open Source Nagios Projects
Topic: Bad result code in a PERL plugin
Replies: 13
Views: 7126

Re: Bad result code in a PERL plugin

It was not installed

Code: Select all

SELinux status:     disabled
/etc/selinux/config

Code: Select all

SELINUX=permissive
SELINUXTPE=default
SETLOCALDEFS=0
by andresrinaldi_uy
Mon Jan 09, 2017 12:41 pm
Forum: Open Source Nagios Projects
Topic: Bad result code in a PERL plugin
Replies: 13
Views: 7126

Re: Bad result code in a PERL plugin

Hi, thanks for your help, It never worked.

I am using this version of Nagios because it was in the Debian repositories when I installed it two years ago, I am thinking migrate to Nagios 4 as soon as can.

Could you explainme how I can see the output of setstatus?
by andresrinaldi_uy
Mon Jan 09, 2017 11:53 am
Forum: Open Source Nagios Projects
Topic: Bad result code in a PERL plugin
Replies: 13
Views: 7126

Bad result code in a PERL plugin

Hello, I am having a extrange problem with a perl plugin: check_iftraffic64.pl https://exchange.nagios.org/directory/Plugins/Network-Connections%2C-Stats-and-Bandwidth/check_iftraffic64/details This plugin checks the traffic using SNMP, and do the job fine but I have a problem when shows the results...
by andresrinaldi_uy
Tue Nov 03, 2015 1:16 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core doen't show all services on page
Replies: 9
Views: 4067

Re: Nagios Core doen't show all services on page

Yes, this solved my issue. Tanks.
by andresrinaldi_uy
Fri Oct 30, 2015 1:32 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core doen't show all services on page
Replies: 9
Views: 4067

Re: Nagios Core doen't show all services on page

Meanwhile i have found a workaround. It consist on use of "sed" command. The problem was in the output of the services so in the "commands.cfg" file added to the "command_line". ie: command_line ($USER6$/check_wmi_plus.pl -H $HOSTADDRESS$ -m checkservice -u $USER8$ -p $...
by andresrinaldi_uy
Thu Oct 29, 2015 8:03 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core doen't show all services on page
Replies: 9
Views: 4067

Re: Nagios Core doen't show all services on page

I would appreciate a lot. Thanks for your anwser.