Search found 12 matches

by Quim
Tue Feb 23, 2021 7:48 am
Forum: Open Source Nagios Projects
Topic: Check PostgreSQL error relation
Replies: 2
Views: 2388

Re: Check PostgreSQL error relation

Hi to solve it, it,s put simple quotes in parameter: --query='i Example: define command { command_name check_postgres_num_notifications_psql01 command_line $USER1$/check_postgres.pl -H $HOSTADDRESS$ -u admin_name -db db_name --action custom_query --query='SELECT count(*) FROM public."table_name...
by Quim
Tue Feb 23, 2021 7:27 am
Forum: Open Source Nagios Projects
Topic: Check PostgreSQL error relation
Replies: 2
Views: 2388

Check PostgreSQL error relation

Hello I have a check for PostgreSQL but I get next error: ERROR: relation public."table_name" does not exist Command is defined: define command { command_name check_postgres_num_notifications_psql01 command_line $USER1$/check_postgres.pl -H $HOSTADDRESS$ -u admin_name -db db_name --action ...
by Quim
Fri Aug 28, 2020 5:23 am
Forum: Open Source Nagios Projects
Topic: Check doesn't show graphic results
Replies: 0
Views: 855

Check doesn't show graphic results

Hello I have a check that doesn't show any data in graphic. This check gets info from a VBS script (script.vbs). I added the next screenshots: Nagios_graph.png -> graphic results in Nagios check_results.png -> script results I guess that add something to script results, but what? Thanks in advance
by Quim
Tue Feb 18, 2020 9:39 am
Forum: Open Source Nagios Projects
Topic: Host in check_mssql_sproc
Replies: 2
Views: 1138

Re: Host in check_mssql_sproc

Hi

we find the solution: modifying etc/odbc.ini. In this file you can edit odbc connections. Then you should change, thus is necessary, command and check.

I hope you userful.

thanks
by Quim
Tue Feb 18, 2020 6:34 am
Forum: Open Source Nagios Projects
Topic: Host in check_mssql_sproc
Replies: 2
Views: 1138

Host in check_mssql_sproc

Hello We create a new SQL Server and we need to change host (we have some checks to monitoring Store Procedures) in checks. In this example, Host is DBA6. Where does it define? define service{ use generic-service host_name empbrasrv01 service_description OutOfMemory ATS check_command check_mssql_spr...
by Quim
Thu Dec 05, 2019 8:42 am
Forum: Open Source Nagios Projects
Topic: Solr: check stats of cores
Replies: 6
Views: 3370

Re: Solr: check stats of cores

scottwilkerson wrote:Can we mark this case closed?
You can close this case, please.
Thanks
by Quim
Tue Dec 03, 2019 7:23 am
Forum: Open Source Nagios Projects
Topic: Solr: check stats of cores
Replies: 6
Views: 3370

Re: Solr: check stats of cores

Thanks mcapra ! As you say, endpoint expects a query to be passed to it. This is the issue. Url (query): core:port/solr/#/vacancy/plugins?type=queryhandler&entry=%2F select I check: https://github.com/alxgomz/nagios-plugin-alfresco-search-services/blob/master/check_alfresco_solr.py I should to c...
by Quim
Mon Dec 02, 2019 7:28 am
Forum: Open Source Nagios Projects
Topic: Solr: check stats of cores
Replies: 6
Views: 3370

Solr: check stats of cores

Hello I am trying to monitoring our internal Solr system with Nagios, especially stats of cores (add screenshot). Actually I have a script (.sh) with some checks like ping, num_docs,.. Works fine. Sample for ping check : # Get ping status of specified core solr_core_ping() { # Check if core actually...
by Quim
Tue Nov 12, 2019 11:35 am
Forum: Open Source Nagios Projects
Topic: check_http: Invalid certificate expiration period - -H
Replies: 6
Views: 2554

Re: check_http: Invalid certificate expiration period - -H

Hello Nagios host: Static hostname: empbranagios Icon name: computer-vm Chassis: vm Machine ID: Boot ID: Virtualization: microsoft Operating System: Ubuntu 18.04.3 LTS Kernel: Linux 5.0.0-1022-azure Architecture: x86-64 Nagios version: Nagios® Core™ 4.4.5 Service: define service{ use generic-service...