Search found 12 matches

by Jenkins
Thu Sep 26, 2024 8:29 am
Forum: Nagios XI
Topic: upgrade failed: Nagios XI is 2024R1.2.2
Replies: 4
Views: 1890

Re: upgrade failed: Nagios XI is 2024R1.2.2

I created the file and my test server has upgraded. /usr/local/nagiosxi/var/xi-itype I don't recall the specific install method, but it was restored from a Centos backup. The upgrade completed successfully. I can only connect with IP because DNS give "Invalid Host Header", because it has t...
by Jenkins
Wed Sep 25, 2024 1:46 pm
Forum: Nagios XI
Topic: upgrade failed: Nagios XI is 2024R1.2.2
Replies: 4
Views: 1890

upgrade failed: Nagios XI is 2024R1.2.2

Current Version: Nagios XI 2024R1.2
The latest version of Nagios XI is 2024R1.2.2

Oracle Linux 8 test server.

upgrade
Checking install type...
./upgrade: line 190: /usr/local/nagiosxi/var/xi-itype: No such file or directory
by Jenkins
Fri May 10, 2024 8:53 am
Forum: Nagios XI
Topic: wrapper for check_nrpe Check_OS_Version.
Replies: 3
Views: 824

Re: wrapper for check_nrpe Check_OS_Version.

Resolved: Command definition was defined to run remote. It needed to run local. # runs on local host $USER1$/check_nrpe_wrapper_check_os.sh -H $HOSTADDRESS$ -t 60 -c $ARG1$ $ARG2$ # runs on remote host $USER1/check_nrpe_wrapper_check_os.sh -H $HOSTADDRESS$ -t 60 -c $ARG1$ $ARG2$ I had not seen this ...
by Jenkins
Fri May 10, 2024 8:27 am
Forum: Nagios XI
Topic: wrapper for check_nrpe Check_OS_Version.
Replies: 3
Views: 824

Re: wrapper for check_nrpe Check_OS_Version.

# full script with string replacement # sorry it is ugly code [root@nagiosxiorcl libexec]# vi check_nrpe_wrapper_check_os.sh #!/bin/bash cmd='/usr/local/nagios/libexec/check_nrpe' # run command output=`$cmd $1 $2 $3 $4 $5 $6 $7 $8 $9 ` exittrap=$? # length=${#output} #echo $length # remove special c...
by Jenkins
Fri May 10, 2024 8:01 am
Forum: Nagios XI
Topic: wrapper for check_nrpe Check_OS_Version.
Replies: 3
Views: 824

wrapper for check_nrpe Check_OS_Version.

The purpose of the wrapper is to decode the results for the version 2019, 2022, but the simple command returns (Return code of 127 is out of bounds. Check if plugin exists) Running from service returns no results. Running from command line: [root@nagiosxiorcl libexec]# ./check_nrpe -H 10.100.32.15 -...
by Jenkins
Wed May 08, 2024 12:23 pm
Forum: Nagios XI
Topic: check_mssql_server.php error
Replies: 3
Views: 9344

Re: check_mssql_server.php error

I have updated odbcinst.ini from /usr/share/doc/freetds-libs/samples-odbc/unixodbc.freetds.driver.template-64 [FreeTDS] Description = FreeTDS unixODBC Driver Driver = /usr/lib64/libtdsodbc.so Setup = /usr/lib64/libtdsodbc.so Still getting same error ERROR: [run_check] CRITICAL: Could not connect to ...
by Jenkins
Wed May 08, 2024 9:40 am
Forum: Nagios XI
Topic: check_mssql_server.php error
Replies: 3
Views: 9344

Re: check_mssql_server.php error

I have these installed [root@nagiosxiorcl etc]# rpm -qa | grep -i freetds freetds-libs-1.3.3-1.el8.x86_64 freetds-1.3.3-1.el8.x86_64 freetds-devel-1.3.3-1.el8.x86_64 [root@nagiosxiorcl etc]# locate libtdsodbc /usr/lib64/libtdsodbc.so /usr/lib64/libtdsodbc.so.0 /usr/lib64/libtdsodbc.so.0.0.0 I am not...
by Jenkins
Wed May 08, 2024 8:06 am
Forum: Nagios XI
Topic: check_mssql_server.php error
Replies: 3
Views: 9344

check_mssql_server.php error

Trying to connect to MSSQL --mode time2connect /usr/local/nagios/libexec/check_mssql_server.php -H etc... ERROR: [run_check] CRITICAL: Could not connect to odbc:Driver=FreeTDS;S (Exception: SQLSTATE[01000] SQLDriverConnect: 0 [unixODBC][Driver Manager]Can't open lib 'FreeTDS' : file not found). [roo...
by Jenkins
Tue Mar 23, 2021 3:14 pm
Forum: Nagios XI
Topic: Service Duration Reports time Plus 3 hours.
Replies: 3
Views: 549

Re: Service Duration Reports time Plus 3 hours.

Duration
6h 8m 25s

But it has only been
3h 8m 25s

seems to have happen after Daylight Savings Time.
by Jenkins
Wed Mar 17, 2021 3:51 pm
Forum: Nagios XI
Topic: Service Duration Reports time Plus 3 hours.
Replies: 3
Views: 549

Service Duration Reports time Plus 3 hours.

If a service is in warning or critical it report the Duration incorrectly.

20 minutes shows up as 3 hours 20 minutes.