Questions tagged [nagios]

Nagios (now known as Nagios Core) is a open source monitoring solution. It offers monitoring and alerting services for servers, switches, applications and services.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Send_nsca not working from remote host to Nagios Server

I'm trying to use passive checks and trying to send a notification from a remote host to the Nagios server (on 192.168.33.10), but the Nagios server doesn't seem to get the notifications, on the logs /...
0 votes
0 answers
13 views

Nagios pluging don't work but shell script work fine

i want to write a nagio pluging that check if php-fpm version is dead or killed. I have 3 php version in my pc. 7.0,7.1,7.2. I want to check if one of them is dead. I created this script in nagios ...
0 votes
0 answers
23 views

How to send text file data to datadog dashboard

How to send text file data to datadog dashboard for monitoring My requirement : have text file. it’s updating the status of job with job names every 1 minutes . This result generating via script and ...
  • 15
0 votes
1 answer
31 views

ORA-12154: Nagios checks

I have got Oracle DB's version 18 and version 19 and they all work fine but the Nagios monitoring checks for v19 all give me: CRITICAL - ORA-12154: TNS:could not resolve the connect identifier ...
  • 1
-1 votes
1 answer
47 views

Nmap with packet statistics

I am creating that supposed to ping cloud instances and collect packets data, so to avoid ping and having to open ICMP we decided to use NMAP, but the challenge is that with NMAP I am not sure which ...
0 votes
0 answers
25 views

Nagios web interface does not ask for credentials. Says "Unauthorized" instead

I installed nagios 4.4.10 according to the guide on Nagios pages. But I am unable to log in to it. When I open webpage it automatically says "Unauthorized", without any prompt to add user ...
0 votes
1 answer
24 views

datadog local check setup same as check_mk local check for monitoring

I would like to setup datadog local check ( same as check_mk local check ) https://docs.checkmk.com/latest/en/localchecks.html As example when i echo out the result in shell script as parameter fist ...
  • 15
-1 votes
1 answer
48 views

Web UI for Nagios says "Not Running" although it is

Been sorting through this on my own for a few days so looking for a pointer or two. I was running Nagios 4.4.6 and decided to upgrade to 4.4.9. I downloaded the source and built and installed the ...
0 votes
0 answers
49 views

influx db 2.x compatible with OMD 2.90?

I'm using OMD version 2.90 with nagios version 3.5.1 and influxDB 1.6. Now am I able to update influxDB to 2.x with out losing any existing data on current influx DB ?. will this OMD version support ...
  • 5
0 votes
0 answers
18 views

How do I check a website http connectivity by using NSCP in NSClient++?

I tried check-network command but I'm unsure how to use it to insert a http or is it possible to do so? NSCP command to check http connectivity in Windows Command Prompt.
0 votes
0 answers
24 views

How to execute script in compute nodes using nrpe?

I want to execute script using nrpe in selected compute nodes and output the result I want to run scripts on compute nodes. I can select the compute nodes and input command to execute. Executed result ...
0 votes
0 answers
23 views

Nagios Auto Rescheduling Feature Default Values Wrong?

I am trying to understand how the auto rescheduling logic is supposed to work. The recommended values in nagios.cfg are: auto_reschedule_checks=1 auto_rescheduling_interval=30 auto_rescheduling_window=...
-1 votes
1 answer
37 views

Centreon not printing output from bash script

I have a bash script that do checks and show result correctly in local server but when using graphic web of Centreon the message is empty I use echo as output of function called from main
0 votes
1 answer
51 views

Nagios Custom Script for finding defunct processes

Objective: Check for zombie processes, but if any are found to be owned by the account nagios, ignore them. If a zombie process is found to be owned by an account other than the nagios account, then ...
0 votes
0 answers
15 views

Nagios - CRITICAL - unable to connect to Kubernetes via kubectl

The Nagios monitoring system shows my this and I am not really good in Kubernetes so if someone can explain it to me what is the problem and how to fix it will be really nice for me. Thanks in advance!...
  • 1
0 votes
0 answers
58 views

Problem Nagios check_postgres.pl custom query

I have a problem, I launch the query from the local nagios server and I get an invalid format error, can you tell me the reason for this error? /check_postgres.pl -H lab --p 5432 -db test --action=...
0 votes
0 answers
27 views

Nagios graphs solutions

I am looking to show graphs inside my nagios based on the data gathered from the various checks I have for a host/service. I checked on the internet and the 2 that are mostly suggested are pnp4nagois ...
0 votes
0 answers
13 views

How to send mails on Nagios ? Please read the example for clarification

How to send mails to high position persons if the service is down up to certain time ? For example; If a service is down, then first level mail should be sent to employee@domain.com If the service is ...
0 votes
1 answer
42 views

Centreon - missing part of output in Resource Status Information column

i have created simple script that uses nmap to collect data from host. here is the script: #!/bin/bash # Return codes: STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 while test $# -ne 0;...
0 votes
0 answers
94 views

Adjust priority of alerts coming from Nagios

We're using opsgenie and Nagios for monitoring and incident notifications. I'm looking to set priority of incidents based on the environment they come from (staging/dev P3 or lower, production P2 or ...
0 votes
0 answers
37 views

Can I change the regex on NagVis and if yes, how can I do this?

I have a problem with Nagvis. There I created several maps with the locations of hosts and used the service lines to display the bandwidth and utilization of individual interfaces. It all worked well ...
  • 1
0 votes
0 answers
392 views

(Nagios) 500 Internal Server Error and CGI:error

Yesterday my nagios was working fine, but then, the nagios interface is shown but when i clicked on the other menu it shows this error : Internal Server Error The server encountered an internal error ...
0 votes
1 answer
216 views

No output returned from plugin in centreon when using Python PyRfc library

I have written a skeleton for python script for centreon. The problem is that the script works fine until I import the pyrfc library, which is the key for this script. Without this library, centreon ...
  • 163
0 votes
1 answer
41 views

Include hostgroups in nagios notifications

Im trying to include the hostgroups in my nagios notification. I modified the commands.cfg notify_host_by_email command to include ... Host: $HOSTNAME$\nHostgroups: $HOSTGROUPS$\nState: $HOSTSTATE$ ......
0 votes
0 answers
102 views

NT AUTHORITY\SYSTEM Cannot find SqlServer:\SQL\Listerner\...\DatabaseReplicaStates

Test-SqlDatabaseReplicaState is a command in SqlServer module, which can be used to evaluate the health of all availability databases. Example: PS C:\> Get-ChildItem "SQLSERVER:\Sql\<...
0 votes
0 answers
49 views

Nagios dashboard not refreshing for added hosts

I have added host in the Nagios Core dashboard but the status of host is always showing up even if the host is down, Can somebody help me in this?
0 votes
1 answer
95 views

nagios - nsclient - nsca - host_check message

I’ve configured some clients to use the nsca to send data to Nagios since I’m not able to connect from server to the client. I was able to achieve like everything I wanted, but one last thing is not ...
-2 votes
1 answer
83 views

Nagios - adding spaces/tabs/newline Between arguments of Service Check Command

For more readability I would like to add spaces around the arguments in a service's check command. Running a nagios check outputs an error as it seems to want everything on one likeso: One line ...
0 votes
0 answers
85 views

MegaRAID nagios monitoring

I have been beating my head against the wall, trying to figure out what is wrong with the following nagios plugin I wrote. When I run the following code: #!/usr/bin/env python3 import paramiko import ...
0 votes
1 answer
128 views

NagiosXI docker container: return code of 13 is out of bounds

I continually receive error in title. (see picture) nagios image However, I have given my sh script all permissions (chmod 777 with nagios as owner). My script also works fine on a nagios core ...
1 vote
1 answer
263 views

Opentelemetry integration with Nagios or PRTG

To monitor services and software we would like to start using Opentelemetry. We saw that there are many tools for visualizing the results of such controls. Is it possible to get information from ...
0 votes
0 answers
43 views

getting npm error while installing nagios redis

im trying to configure redis on ubuntu to monitoring on nagios from this site https://github.com/mdahiemstra/nagios-check-redis but when i run $sudo npm install -g nagios-redis im getting this error ...
0 votes
1 answer
115 views

Remote execution of command in Python

By no means do I write scripts very often, but I am trying to write a Nagios plugin to check the status of a RAID controller on a remote host. The issue is that the command to get the output requires ...
0 votes
0 answers
68 views

Consume .NET API healthcheck from Nagios

I have a question about Nagios. Is there an existing plugin capable of consuming standard .NET health check response? The response looks like this: { "status": "Healthy", &...
0 votes
0 answers
47 views

Thruk Availability report not matching

I am using Thruk Version 2.46.3 and pulling the availability report for one of the servicegroup (last Month Report). It shows 100% for one the devices, which is not correct as the device was down for ...
0 votes
0 answers
88 views

Thruk (Version 2.40.3) and Backend Nagios (4.4.6) Availability report not matching

I am using Thruk Version 2.46.3 and pulling the availability report for one of the service group(last Month Report). It shows 100% for one the device which is not correct as the device was down for ...
  • 1
0 votes
1 answer
851 views

SSL Handshake error on Nagios NRPE server

I have nrpe(NRPE v4.0.3) on my centos server. I was using prometheus to monitor nrpe checks. Nrpe-exporter is running as a docker container but I see the below error in nrpe-exporter container logs ...
  • 23
0 votes
1 answer
241 views

How to decide warning and critical levels in nagios?

Can someone please tell on what basis should I decide warning and critical level for a check in nagios . I want to have notification for warning state before the check sends out critical . The check ...
0 votes
0 answers
42 views

Nagios - Prometheus value changed withing X minutes / hours

Hello, Im wonderwing, what can be a solution for this: In Prometheus, I can see that one of my K8S workers does have more pod evictions than other workers. The graph shows it well. But the other ...
  • 11
0 votes
1 answer
209 views

Nagios Core - How can I show the graph icons up with pnp4nagios?

My Nagios Core server is an Ubuntu 20.04 LTS device, I installed pnp4nagios plugins and it works well, the graphs are displaying on the "http://@IP/pnp4nagios/" page. However, I'm trying to ...
0 votes
1 answer
46 views

pynag with python3.6 TypeError

I'm trying to read my nagios config data as follows: pynag.Model.cfg_file = "path_to_nagios.cfg" all_hosts = pynag.Model.Host.objects.all" This returns an error TypeError: endswith ...
  • 23
0 votes
0 answers
81 views

Ingest metrics data from Nagios to Prometheus

We are trying to expose the metrics Nagios collects to ingest into another system. That system would primarily comprise of prometheus as a historical data repository of all Nagios data collected so ...
0 votes
1 answer
149 views

Perl Unescaped left brace in regex issue - nagios check_multi

I'm trying to run a nagios check script called check_multi that runs fine under older versions of Perl but not newer. I get the message Unescaped left brace in regex is deprecated here (and will be ...
0 votes
0 answers
69 views

ERROR: Invalid psql argument: must be full path to a file named psql

i try to monitor postgres 13 on windows 10 with the script check_postgres.pl of https://bucardo.org/downloads/check_postgres.pl.html#development. I have this error ERROR: Invalid argument: must be ...
  • 1
0 votes
1 answer
888 views

nrpe[xxxxx]: Warning: Could not set effective GID

I could not get reason of Warning messages I am getting in /var/log/messages: Apr 10 03:41:23 lsv-vm203 nrpe[85287]: Warning: Could not set effective GID=994 Apr 10 03:41:23 lsv-vm203 nrpe[85287]: ...
0 votes
0 answers
66 views

Change url thruk

following the steps in the thruk documentation, I have changed the url_prefix, and modified the corresponding aliases, but when restarting Apache it appears that the page does not exist. Has anyone ...
0 votes
0 answers
98 views

Can you add a Nagios Acknowledgment URL to Slack messages

I'm new to nagios and my first task has been slack integration. I am using the Nagios created plugin for Slack and everything is working correctly as far as posting the message in the channels for ...
0 votes
2 answers
146 views

Use of uninitialized value $5 and argument isn't numeric in numeric lt (<)

I'm discovering the language Perl. I try to create a script to integrate inside my Nagios server, but i got two errors that I'm not able to resolve. Can you help me? The errors are the following: Use ...
1 vote
1 answer
53 views

CHANGE_SVC_EVENT_HANDLER External Command Failed

Im having no luck with this external command: /usr/bin/printf "[%lu] CHANGE_SVC_EVENT_HANDLER;<HOST>;<SERVICE>;ack_service\n" >> /usr/local/nagios/var/rw/nagios.cmd Nagios....
0 votes
0 answers
714 views

how to & where to provide port 5666 in nagios

Do I have to add port 5666 on the server-side or client-side??? ankush@Backend-VM:~$ sudo systemctl status nagios-nrpe-server.service Loaded: loaded (/lib/systemd/system/nagios-nrpe-server.service; ...

1
2 3 4 5
25