Search found 7 matches

by agutierrezps
Thu Dec 11, 2014 5:08 pm
Forum: Open Source Nagios Projects
Topic: Timeout while attempting connection
Replies: 5
Views: 4178

Re: Timeout while attempting connection

Hello,

Here it is:

command_timeout=240

command[check_test]=/home/agutierrezps/test.sh
by agutierrezps
Wed Dec 10, 2014 6:06 pm
Forum: Open Source Nagios Projects
Topic: Timeout while attempting connection
Replies: 5
Views: 4178

Re: Timeout while attempting connection

Hello, This is my service definition, i use it for all my alarms definition. define service{ host_name Test1 service_description Test1 check_period 24x7 check_command check_nrpe3!check_test notification_period 24x7 normal_check_interval 15 retry_check_interval 5 max_check_attempts 3 notification_opt...
by agutierrezps
Wed Dec 10, 2014 5:20 pm
Forum: Open Source Nagios Projects
Topic: Timeout while attempting connection
Replies: 5
Views: 4178

Timeout while attempting connection

Hello everyone, I been kinda stressed these last weeks due to some Nagios Issues. You see. I have been recieving this "Timeout while attempting connection" or "Service check timed out after 240.01 seconds". As you may see i have set the timeout to 240 (nagios.cfg, nrpe.cfg, comma...
by agutierrezps
Wed Jul 31, 2013 2:51 pm
Forum: Open Source Nagios Projects
Topic: Notification Command Failing
Replies: 7
Views: 2648

Re: Notification Command Failing

Yes, that is correct.

Those libraries are installed.

Greetings
by agutierrezps
Wed Jul 31, 2013 11:39 am
Forum: Open Source Nagios Projects
Topic: Notification Command Failing
Replies: 7
Views: 2648

Re: Notification Command Failing

I already have the lib's needed for Twitter.

My question was about the "use lib".

scottwilkerson said this
Doe twitter.pl have any use lib lines in the script?
Greetings.
by agutierrezps
Wed Jul 31, 2013 10:03 am
Forum: Open Source Nagios Projects
Topic: Notification Command Failing
Replies: 7
Views: 2648

Re: Notification Command Failing

Hello, Thanks for you answer. Yes i have added the notification command to a contact. The permissions of the files are the following -rwxr-xr-x 1 twitter.pl -rw-rw-r-- 1 debug_twitter.log This is the content of the script in perl use Net::Twitter::Lite::WithAPIv1_1; use Switch; my $consumer_key = &q...
by agutierrezps
Tue Jul 30, 2013 5:18 pm
Forum: Open Source Nagios Projects
Topic: Notification Command Failing
Replies: 7
Views: 2648

Notification Command Failing

Hello everyone, I'm having a problem when it comes to the notification commands. You see i have a script made in perl which sends tweets as alarms, if i execute it manually it works but it doesnt works when an alarm is activacted and sends the notification. Here is my command definition: define comm...