Search found 13 matches

by disarm76
Tue Dec 29, 2015 10:28 am
Forum: Nagios XI
Topic: negate plug-in - No data returned from command
Replies: 11
Views: 2211

Re: negate plug-in - No data returned from command

No, I think it'll work like this. You can close this thread out. Again, thank you for the support.
by disarm76
Tue Dec 29, 2015 5:25 am
Forum: Nagios XI
Topic: negate plug-in - No data returned from command
Replies: 11
Views: 2211

Re: negate plug-in - No data returned from command

OK, it's working! Well, it's one script for one alert but these kind of alerts are rare. Thank you for your help! [root@nagios libexec]# ./check_as400 -H trqvida -u nagiosc -p ******** -v CJ TEMPBATCH CRITICAL - job(TEMPBATCH) NOT IN SYSTEM [root@nagios libexec]# ./check_as400_job_TEMPBATCH_negated....
by disarm76
Mon Dec 28, 2015 11:26 am
Forum: Nagios XI
Topic: negate plug-in - No data returned from command
Replies: 11
Views: 2211

Re: negate plug-in - No data returned from command

[nagios@nagios libexec]$ ./check_as400 -d -H trqvida -u nagiosc -p ******** -v CJ TEMPBATCH Establishing connection to server...done. Logging in... waiting for screen... waiting for token IBM CORP... token received. sending login information for nagiosc... waiting for login to process... waiting fo...
by disarm76
Mon Dec 28, 2015 5:28 am
Forum: Nagios XI
Topic: negate plug-in - No data returned from command
Replies: 11
Views: 2211

Re: negate plug-in - No data returned from command

OK, so the check_as400 connects via telnet and with verbose active: [root@nagios libexec]# ./check_as400 -d -H trqvida -u nagiosc -p ********** -v CJ TEMPBATCH Establishing connection to server...done. Logging in... waiting for screen... waiting for token IBM CORP... token received. sending login in...
by disarm76
Wed Dec 23, 2015 10:19 am
Forum: Nagios XI
Topic: negate plug-in - No data returned from command
Replies: 11
Views: 2211

Re: negate plug-in - No data returned from command

Thanks for helping!

OK the first:

Code: Select all

[root@nagios libexec]# /usr/local/nagios/libexec/negate /usr/local/nagios/libexec/check_dummy 0 OK
OK: OK
[root@nagios libexec]# echo $?
2
The password is alphanumeric but tried the quotes getting the same result.
by disarm76
Wed Dec 23, 2015 6:57 am
Forum: Nagios XI
Topic: negate plug-in - No data returned from command
Replies: 11
Views: 2211

negate plug-in - No data returned from command

Hi, I'm trying to use the negate plug-in to change CRITICAL to OK. It is, according to the plug-in help, a default feature so no need to specify. However, as you can see below, I can run the plug-in I need (check_as400) and it works fine, but not with negate. [root@nagios libexec]# ./check_as400 -H ...
by disarm76
Fri Apr 24, 2015 9:25 am
Forum: Nagios XI
Topic: Host and service time periods
Replies: 3
Views: 720

Re: Host and service time periods

I'll try that, thank you.
by disarm76
Fri Apr 24, 2015 8:35 am
Forum: Nagios XI
Topic: Host and service time periods
Replies: 3
Views: 720

Host and service time periods

Hi, if I set a timeperiod to a host does it affect its services? Or do I have to set the timeperiod to every service? If so, is there a way automate it without having to manually set it to every service? Thank you.
by disarm76
Fri Jan 23, 2015 1:35 pm
Forum: Nagios XI
Topic: Nagios doen't display backups and localdomain email
Replies: 5
Views: 1103

Re: Nagios doen't display backups and localdomain email

I think I figures it out with your help. I checked the contact that send us email and it had 2 contact templates assigned:

xi_contact_generic
generic-contact

After I removed one of them I started getting emails only from [email protected]. Thank you for your help.
by disarm76
Wed Jan 21, 2015 4:19 am
Forum: Nagios XI
Topic: Nagios doen't display backups and localdomain email
Replies: 5
Views: 1103

Re: Nagios doen't display backups and localdomain email

abrist, The first issue was solved in the meantime. There was a database error and after a repair it worked normally. On the second issue, I have the email I want nagios to send (nagios@ mydomain ) under 'send email from' on Admin --> Manage email settings. It sends some email from this address, but...