Questions tagged [nagios]

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

Filter by
Sorted by
Tagged with
3 votes
4 answers
5k views

Nagios check whether at least one out of two services is OK

I have two following passive services: ServiceA, ServiceB on one machine. I would like to have a sittuation when the OK state is satisfied by following conditions: ServiceA is OK or ServiceB is OK ...
wojciechz's user avatar
  • 538
31 votes
6 answers
57k views

Network port open, but no process attached?

I have a weird situation going on with an open network port. My main question is, why would there not be a program associated with an open TCP port: netstat -ln --program Active Internet connections (...
Gary Richardson's user avatar
27 votes
20 answers
144k views

NRPE unable to read output, but why?

I have this problem with NRPE, all the stuff I've found so far on the net seems to point me at things I've already tried. # /usr/local/nagios/plugins/check_nrpe -H nrpeclient gives NRPE v2.12 as ...
ticktockhouse's user avatar
18 votes
4 answers
3k views

Monitoring production server [closed]

We have 3 dedicated server, splitted in several VPS using openVZ. We're using munin to monitor the VPS with the production sites, and monit on some one of the VPS to make sure it restarts the service ...
Adam Benayoun's user avatar
17 votes
8 answers
11k views

There is any monitoring hosted solution? [closed]

I know Zabbix and Nagios, but I don't know any company that host those services for others to use. I would like to find a solution that monitored at least some of my public URLs (if they are ...
Jader Dias's user avatar
  • 4,755
1 vote
1 answer
3k views

nagios - Web interface: authentication through kerberos OK, what about authorization on cgi.cfg?

I have successfully installed nagios, and it provides authentication through apache2 which contacts a kerberos authentication server to authenticate users. Now, users are authenticated, but they don'...
philippe's user avatar
  • 2,403
19 votes
8 answers
46k views

Defining the email address which Nagios sends emails from

Hi currently Nagios sends notifications from [email protected], How do I go about configuring this? Thanks
user avatar
15 votes
7 answers
93k views

What Warning and Critical values to use for check_load?

Right now I am using these values: # y = c * p / 100 # y: nagios value # c: number of cores # p: wanted load procent # 4 cores # time 5 minutes 10 minutes 15 minutes # warning: 90% ...
Sandra's user avatar
  • 10.6k
12 votes
4 answers
10k views

Send all outgoing mail to /dev/null

With sendmail, how would you send all outgoing mail to /dev/null or just prevent email from being queued up or sent at all? On a development nagios box I want prevent sending of mail so that ...
cwebber's user avatar
  • 491
10 votes
5 answers
8k views

Nagios server best practices?

I run a medium-sized Nagios server. It monitors roughly 40 servers with 180 services currently and is only growing by the day. I migrated from an old Nagios setup that was configured in a very ...
Michael Pobega's user avatar
9 votes
8 answers
36k views

How do I configure Nagios mobile / SMS alerts? [closed]

How do I send alerts from Nagios monitoring tool to mobile? Any resources or links or tutorials are fine.
Sunil Enugala's user avatar
6 votes
1 answer
7k views

Configure Nagios To Alert Depending On Host Group That Service Alert Originates From

So my setup: Services are shared between all hosts (CPU/RAM/Disk/Services). Hosts are split into two main groups: "Production" and "Development". We have two contact groups: "Production" and "...
StrangeWill's user avatar
5 votes
3 answers
12k views

Monitor ESXi hosts with Nagios

Does anyone recommend any methods for monitoring ESXi 4.1 hosts with Nagios? I have looked into SNMP but it seems to be in a pretty sorry state. Net-SNMP does not seem to be included and there is a ...
Kyle Brandt's user avatar
  • 84.4k
5 votes
3 answers
40k views

nagios nrpe unable to read output

I'm trying to use check_nrpe to check on a remote server, but it's not working and I can't figure out what am I missing... # /usr/lib/nagios/plugins/check_nrpe -H XXX -c check_load -a 6,5,4 8,7,6 ...
alexus's user avatar
  • 13.4k
5 votes
4 answers
12k views

SELinux prevents Nagios plugins from running on RHEL6

After installing Nagios NRPE & Nagios Plugins, I'm getting the following entry in my rsyslog: May 13 14:01:30 wcmisdlin02 kernel: type=1400 audit(1305309690.482:2334): avc: denied { getattr } ...
alexus's user avatar
  • 13.4k
4 votes
2 answers
9k views

Monitoring /proc/sys/fs/inode-nr

As part of a general overhaul of some Nagios scripts, I am adding parameters to the scripts so that the thresholds can be determined on a machine-by-machine basis. As an example, we are specifying ...
Rich's user avatar
  • 1,353
3 votes
6 answers
31k views

Nagios NRPE: Command “my_command” not defined

I have installed Nagios® Core™ 3.5.1 and NRPE v2.14 on my client which running RHEL 6.3 I have this error message on my Nagios NRPE: Command 'check_mysql_connections' not defined On my nrpe.cfg I ...
buzzing_bee's user avatar
2 votes
1 answer
445 views

Can ZenOSS integrate Ganglia smoothly?

I like Ganglia for its Gmetric function, and I like its multi-layer capability. But Ganglia does not have healthiness check, alerting and etc. for the server monitor functionality. So it would be ...
chen's user avatar
  • 339
2 votes
1 answer
8k views

Where are Nagios Availability-Report files stored?

How to access Nagios Availability-Report files to retrieve "UP Time Percent" and so other information about Hosts and Services? I know It can be accessed through Nagios CGI but I want to use it on a ...
Super Mario's user avatar
-1 votes
2 answers
3k views

Check NRPE APT now working through Nagios

I'm able to monitor hosts' package statuses via terminal; but Nagios web ui gives an error like this: (No output returned from plugin) Here's the command that works properly via terminal: /usr/lib/...
talha06's user avatar
  • 111
-2 votes
2 answers
5k views

How to configure nagios realtime SMS alert

I have configured nagios SMS alert and it takes around one minute to send notification. I want to get SMS notification withing one/two second(s) after system/service failure. I could not find any way ...
Jerry's user avatar
  • 179
49 votes
4 answers
30k views

Munin vs Nagios

We're currently using Nagios to monitor about 20 Linux machines (services and functional links). I just find out about Munin and I wonder if this is a Nagios replacement, or it can be used together ...
Milan Babuškov's user avatar
28 votes
5 answers
124k views

How can I manually run a nagios check from the command line?

When defining and testing new services in nagios I have been restarting nagios, then clicking the service, and rescheduling a check for as soon as possible, then waiting until the check happens. Is ...
cwd's user avatar
  • 2,793
28 votes
6 answers
57k views

How to stop/Disable Nagios email notifications

How Can I stop the email notifications. I am setting up a new server and getting tons of notifications. Wants to disable them for time being.
Ramesh Kumar's user avatar
  • 1,780
16 votes
8 answers
12k views

Nagios alerts by telephone?

I have a couple of nagios servers that currently alert me via SMS and email, but I'd like to add outgoing calls to that. The ideal solution would have the nagios machines call my cellphone and play an ...
Matt Simmons's user avatar
  • 20.5k
14 votes
5 answers
1k views

How do you monitor a monitoring server?

So we run Groundworks (with Nagios) on CentOS to monitor our various servers and processes. I have it setup to automatically send emails and SMS texts when things reach a WARNING or CRITICAL state. ...
organicveggie's user avatar
13 votes
2 answers
37k views

How to check HTTP response code of a secured website with Nagios?

I want to create a nagios check of my secure website. All the check needs to do is login to the site with login details that I pass the script. Does anyone know of a plugin or script that will allow ...
Simon Foster's user avatar
  • 2,672
10 votes
1 answer
49k views

Nagios check service frequency based on service status

Am trying to detect disk thrashing by monitoring si, so from the vmstat command. I am monitoring other services using nagios and service check happens after every 5 minutes. For this thrashing service ...
APZ's user avatar
  • 964
9 votes
6 answers
2k views

How to monitor Windows host with Nagios?

How do I use Nagios to monitor Windows clients? Are there any alternative solutions available?
Kumar's user avatar
  • 823
9 votes
3 answers
30k views

Nagios alert by email for WARNING and pager for CRITICAL [duplicate]

I want to set Nagios up to issue warnings (e.g. mildly high load or disk usage) via email, but for critical items to alert by pager. Right now we notify via email and pager simultaneously for all ...
Will Glass's user avatar
9 votes
4 answers
25k views

Change how Nagios determines if server is offline?

I'm new to nagios and my server is on a network which does not allow the server to be pinged. Is it possible for me to check if the server is up another way? e.g via SSH or HTTP? How would I do this ...
Ulkmun's user avatar
  • 275
7 votes
1 answer
9k views

Setting up Dependencies for Nagios

I'm trying to setup dependencies for a router and several servers. What I want to do is setup the router as the Master Host so if the router fails all other services on the servers won't alert. ...
hfranco's user avatar
  • 584
6 votes
2 answers
30k views

Nagios - check_ntp_time - Offset Unknown

I have a local NTP server running on the subnet to keep other subnet nodes in sync, without every node syncing with upstream servers. But, while implementing the check_ntp_time plugin for Nagios I am ...
Mike Purcell's user avatar
  • 1,738
6 votes
5 answers
14k views

Nagios Multiple servers config files

I'm already configuring a Nagios setup to monitor about 30 Windows servers. Now i am adding every servers definition to the Windows.cfg file but i think would be easyly configurable to have one .cfg ...
Juan's user avatar
  • 119
6 votes
2 answers
3k views

How does an administrator generalize alerting when an event doesn't happen?

Often my users require me to be just as responsible for knowing if an event hasn't happened. I've always had to build custom and brittle solutions with cron'ed shell scripts and lots of date edge ...
Dan Garthwaite's user avatar
6 votes
7 answers
21k views

Nagios Woudn't Start, now won't Stop!

I ran an update on a CentOS server running Nagios, after the update, Nagios failed to start. The error in the logs was: Failed to obtain lock on file /var/run/nagios.pid: Permission denied So, I ...
Bart B's user avatar
  • 3,507
6 votes
2 answers
30k views

Nagios "CRITICAL - Socket timeout after 10 seconds" problems with service and host Checks

got a little bit of a problem with a Nagios system we are using in our office, which has only recently started appearing. what i would like to know really is the best solution to resolve this problem ...
Kristiaan's user avatar
  • 442
5 votes
1 answer
12k views

NAGIOS notification command for service/contactgroup

We have 3 templates for services, low-priority, high-priorty and medium-priorty. Low priority services are attached to the contactgroup low, medium priorty services are attached to the contact group ...
user avatar
5 votes
5 answers
7k views

How to send an "Everything is OK" notification from Nagios?

I need to configure Nagios to send a notification that says everything goes well, if there's no problems. Does this sort of setting exist or is there a plugin for that?
Roman Prykhodchenko's user avatar
5 votes
3 answers
4k views

Nagios plugin to take process snapshot when load is high

We have configured Nagios with check_load via NRPE plugin to monitor server load, it reports when load is high, but does not have option to take a snapshot top processes (like top command) at that ...
nitin's user avatar
  • 2,599
5 votes
1 answer
20k views

Nagios not following redirect with check_http

Currently for testing I set the service check as follows: define service{ use generic-service host_name <host> service_description HTTP check_command check_http!-s "blablabla" -f ...
Brandon's user avatar
  • 215
5 votes
2 answers
9k views

Overriding Nagios hostgroup service with host service

I currently am experimenting with defining a set of services to all hosts in a hostgroup, this is working fine. My issue is that I then want to be able to override these service definitions which ...
Geekman's user avatar
  • 451
4 votes
1 answer
1k views

measuring bandwidth per-user used by ssh server-side connections on linux

I'd like to be able to measure the bandwidth used by each user by their inbound ssh connections, into a linux box. I measure most other traffic using iptables and user-matching, but inbound ssh ...
Ben Clifford's user avatar
4 votes
1 answer
1k views

Dynamically setting a new test interval for Nagios checks

Nagios check notification intervals must be >= to a check interval because this prevents Nagios from sending out false alarm notifications should a service return to an UP status between checks. I ...
Kev's user avatar
  • 7,907
4 votes
2 answers
528 views

Nagios alerts using twitter (with twurl) not firing

We've been using nagios for some time and have recently decided to change how we receive alerts. To this end, we've installed twurl ( https://github.com/marcel/twurl ) and are using it to send alerts. ...
jhackett's user avatar
3 votes
3 answers
3k views

DELL OpenManage 7.3 on ESXi5.1

I installed Dell OpenManage 7.3 VIB on ESXi5.1 host. I assumed that VIB will load all DELL specific MIBs into OS. I enabled snmpd on that host as well, but when I am doing "snmpwalk" or "snmpget" I do ...
Danila Ladner's user avatar
3 votes
1 answer
3k views

Nagios NTP, discarding peer

We're using nagios check_ntp_time for monitoring time on our servers. Unfortunately the service is flapping. And reporting a lot of false-positives. It happens everytime for random server in random ...
Michal Bryxí's user avatar
3 votes
2 answers
4k views

CentOS7: KVM: error: Cannot create user runtime directory '/run/user/0/libvirt': Permission denied

Been trying to resolve an issue I found by having our Nagios installation use a plugin for KVM, check_kvm, I found. I think my problem boils down to a permissions issue with the nagios/nrpe user. ...
rwfitzy's user avatar
  • 233
3 votes
5 answers
4k views

Allow host down while under nagios watch

We're using nagios to watch our servers health. Now we have a task to add server which will be up only for certain time. And during that time we have to ensure that all services are up and running. ...
Michal Bryxí's user avatar
3 votes
1 answer
7k views

CHECK_NRPE: Error - Could not complete SSL handshake

I've just moved to a new nagios server and have got all the old hosts/services working. There is just one host that will not allow nrpe checks, producing an error on the nagios server as in the title. ...
Mark Gifford's user avatar