Search found 32 matches
- Tue Jun 16, 2020 11:26 am
- Forum: Nagios XI
- Topic: Nagios XI not returning correct State Status
- Replies: 5
- Views: 457
Re: Nagios XI not returning correct State Status
I have already added the line #!/usr/bin/sh at the top of the script but it still doesn't work. BTW, we did some investigations on the codes and came out with some probably issues. Will the following work with Nagios XI ? Thanks. #loop throuh the count file while IFS= read -r line; do #echo "$l...
- Thu Jun 11, 2020 10:07 pm
- Forum: Nagios XI
- Topic: Nagios XI not returning correct State Status
- Replies: 5
- Views: 457
Re: Nagios XI not returning correct State Status
Hi Ssax, Sure. Tried doing it with the -v parameter and this is output below. The permissions of the log file is fine as I am able to obtain the correct state status with simplified if-else statements and not nested. Warning Command: /usr/bin/ssh Argument 1: 192.168.184.62 Argument 2: /app/abt2/pg-s...
- Thu Jun 11, 2020 3:26 am
- Forum: Nagios XI
- Topic: Nagios XI not returning correct State Status
- Replies: 5
- Views: 457
Nagios XI not returning correct State Status
Hi Nagios Support, Lately, we added a new shell script to our environment to monitor for a specific pattern in a log file. The script will only return 2 state types whenever there is "Exception' keyword found, namely, State_OK and State_Critical. So it means if exception is in place, State_Crit...
- Thu Jun 11, 2020 3:18 am
- Forum: Nagios XI
- Topic: Unable to send emails via Nagios Xi
- Replies: 6
- Views: 504
Re: Unable to send emails via Nagios Xi
Thanks Ben for shedding some light.
Managed to resolve the issue. Problem due to the mail routing has been disabled at the
Exchange Server accidentally by mail admin. What a relief !
Regards,
Louis
Managed to resolve the issue. Problem due to the mail routing has been disabled at the
Exchange Server accidentally by mail admin. What a relief !
Regards,
Louis
- Mon Jun 08, 2020 10:05 pm
- Forum: Nagios XI
- Topic: Unable to send emails via Nagios Xi
- Replies: 6
- Views: 504
Re: Unable to send emails via Nagios Xi
2020-06-09 03:04:07 Connection: opening to 192.168.131.171:25, timeout=300, options=array () 2020-06-09 03:04:07 Connection: opened 2020-06-09 03:04:07 SMTP -> get_lines(): $data is "" 2020-06-09 03:04:07 SMTP -> get_lines(): $str is "220 abft1smtsvr01.ABTNP.int Microsoft ESMTP MAIL S...
- Mon Jun 08, 2020 10:00 pm
- Forum: Nagios XI
- Topic: Unable to send emails via Nagios Xi
- Replies: 6
- Views: 504
Re: Unable to send emails via Nagios Xi
Hi Ben, Thanks for your prompt reply. I managed to turn on the phpmailer debug logging. From the test result, it seems a test email was send out successfully but I was unable to receive anything at my end. What could this be due to ? Please revert. Thanks. Attached are the screenshots. Regards, Louis
- Mon Jun 08, 2020 10:26 am
- Forum: Nagios XI
- Topic: Unable to send emails via Nagios Xi
- Replies: 6
- Views: 504
Unable to send emails via Nagios Xi
Hi Nagios Support, Over the last few days, we have been experiencing issues with sending out emails via Nagios XI. All alerts as seemed not able to send out notifications. Error message received is as follows : SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting (metho...
- Fri Mar 06, 2020 4:26 am
- Forum: Nagios XI
- Topic: Transaction Timeout Anomalies for SSH Access
- Replies: 30
- Views: 4223
Re: Transaction Timeout Anomalies for SSH Access
Ok. Tested still not working.
Does the service status variable need to be added first ?
Does the service status variable need to be added first ?
- Mon Mar 02, 2020 1:11 am
- Forum: Nagios XI
- Topic: Transaction Timeout Anomalies for SSH Access
- Replies: 30
- Views: 4223
Re: Transaction Timeout Anomalies for SSH Access
Sure, thanks. Here u go. Is there any Nagios XI built in functions to use ? #!/usr/bin/sh RUNMQSC="/usr/bin/runmqsc" # NAGIOS EXIT STATES STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 USAGE="Usage `basename $0` <QMANAGER> <CHANNEL>." NOTE="check channel status ...
- Wed Feb 26, 2020 11:51 pm
- Forum: Nagios XI
- Topic: Transaction Timeout Anomalies for SSH Access
- Replies: 30
- Views: 4223
Re: Transaction Timeout Anomalies for SSH Access
Hi Michael, any update on the case ? Thanks.