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.

Nagios is a powerful monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes.

Nagios watches hosts and services that you specify, alerting you when things go bad and when they get better. Some of its many features include monitoring of network services (SMTP, POP3, HTTP, NNTP, ICMP, etc.), monitoring of host resources (processor load, disk usage, etc.), and contact notifications when service or host problems occur and get resolved (via email, pager, or user-defined method).

1227 questions
2
votes
1 answer

My sendmail log get TLS setup failed

I setup my nagios in docker container,and It working.and sendmail can send mail to me. I find it can't send message to me one day,and I see the Log of sendmail,I get this error nagios sendEmail.pl[15471]: ERROR => TLS setup failed: SSL connect…
Richard wei
  • 73
  • 3
  • 11
2
votes
2 answers

Perl TIMEOUT output message

I'm programming a perl script to monitorize a DB with Nagios. I'm using alarm function from Time::HiRes library for the timeout. use Time::HiRes qw[ time alarm ]; alarm $timeout; Everything works fine. The thing is I want to change the output…
2
votes
0 answers

Sorting list of lists by two columns

I have a list of lists that were pulled from a MySQL query from nagios. I am trying to SORT by descending order in the 3rd column but also GROUP the 2nd column. [['', 'All Events', 73], ['', 'check_asterisk_calls2-TEL', 1], ['pteln002',…
tynick
  • 33
  • 6
2
votes
1 answer

Can we write an custom check for monitoring a process with Data Dog

I want to write an DataDog Check to monitor some process like Puma, delayed_job etc, I can see there are ready plugins available for these for nagios and Sensu but not for DataDog, But can I write my own check/plugin for this services in datadog ?…
slashRahul
  • 555
  • 5
  • 18
2
votes
1 answer

Nagios check_mssql_health with perl DBD::Sybase without FreeTds

I usually ask for help on forums as a last resort, and I am well and truly stuck... BTW: I don't know if this should go on StackOverflow or ServerFault... Anyhoo I have been working on this problem for about 18 hours... straight... I have a…
Hickory420
  • 131
  • 10
2
votes
1 answer

How to make nagios not send messages during the night and morning to send all the remaining errors

I have Nagios checking service status and sending SMS messages about service status. Some problems are not important at night and prefer to not send them at night. define timeperiod{ timeperiod_name non_work alias Non work hours …
Liutas
  • 5,547
  • 4
  • 23
  • 22
2
votes
1 answer

Check Windows last backup with Linux Nagios

How can I check a Windows Server latest backup date from a Unix system and monitor it through Nagios? Basically I want to throw an Alert if the last backup was over a day ago I thought I could use check_file_age but it didn't work and there's…
Forget
  • 142
  • 4
  • 14
2
votes
1 answer

nagios send sms notification by twilio

I want nagios to send sms message by twilio to more than one [person]. How can I do this? I have used this code but it sends the sms to only one phone number: define command { command_name notify-by-page command_line curl…
2
votes
1 answer

How to set logarithmic scaling in Nagiosgraph within Nagios?

I have graphs, I have data, but I need it in a logarithmic scale, as we're going from tens to 200K items, and variations are next to impossible to identify. I do not see where/how to edit the proper configuration file(s) to get this set of rrd…
Bee Kay
  • 319
  • 3
  • 11
2
votes
1 answer

selinux prevents nagios config from being accessed

I'm running nagios 4 under centos 7. And everything works fine with SELinux disabled. But when I enable it, I am getting this error in the interface: Whoops! Error: Could not open CGI config file '/etc/nagios/cgi.cfg' for reading! Here are some…
bluethundr
  • 1,005
  • 17
  • 68
  • 141
2
votes
1 answer

Nagios - Hipchat integration through Hipsaint

We are trying to integrate nagios (4.1.1) notifications with Hipchat using Hipsaint. We followed the instructions posted here (keep in mind that the instructions mention nagios 3). We filled in the Token and Room_ID. We get the following output: :~#…
ASPR
  • 75
  • 1
  • 9
2
votes
1 answer

Preserving whitespace in multiline nagios plugin output

I have a nagios plugin which puts out JSON in it's mutliline output. For example: Thresholds: { "crit": [ "and", [ "<", "blah", [ "*", "blah_avg", 0.5 ] ], [ ">", "hour_of_day", 7 ] ] } Renders in the check_mk UI as Thresholds:…
Ramfjord
  • 872
  • 8
  • 14
2
votes
2 answers

Netcat communication in Java

I am trying to to get a connection from an Java application to a server. I am able to get data from the server by typing in the shell: cat query.txt | nc server port Now, I am trying to do the same in Java. I already tried some third party APIs…
zFr3eak
  • 235
  • 1
  • 6
  • 21
2
votes
1 answer

configure nagios riemann integration for monitoring

Hi i want to know how can i configure Riemann to forward events to nagios Server This gives the API for Riemann nagios integration but there is not enough info of doing it.I am new to Riemann and i am unable to figure out a way.
hitesh
  • 55
  • 1
  • 8
2
votes
1 answer

CHECK_NRPE: Error - Could not complete SSL handshake (web)

I have a local Nagios Server and I'm trying to configure it to monitor my tomcat8 server with check_jvm, so I can control the memory and classes used by Java. To do so I installed the check_nrpe plugin on the client, and configured it but I'm…
vasher85
  • 21
  • 6