0
votes
1answer
66 views

Nagios check_procs returns wrong value when called from NRPE

I have added the following line in nrpe.conf of a monitored server say named myserver: command[check_mysrv_process]=/usr/lib/nagios/plugins/check_procs -c 1: -C java -a mysrv which works locally as ...
0
votes
1answer
32 views

Configuring Nagios event_handler for different checks levels of a service without overlap

Running Nagios Core 4.0.2 and using latest NRPE on clients. We have 3 service definitions to check one piece of software at different levels each minute: Open TCP port check Process is running ...
0
votes
1answer
44 views

How to exclude path based on regex in check_disk?

If I do /usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -r '/drop-zone/*' when it only checks paths which matches the regex. I would like the opposite. The manpage seams to suggest -I, but I ...
1
vote
2answers
44 views

Nagios plugin output character escaping

Which characters in a Nagios plugin output need escaping other than pipe (|)? How do I escape the pipe character and others?
-1
votes
2answers
60 views

Contact Groups Nagios - I can't get notifications in real time from Nagios

I can't get notifications in my emails from Nagios: Step 1. First, I have defined my hosts in: /etc/nagios3/conf.d/ One of hosts that I've defined is: server2.cfg define host { host_name ...
0
votes
1answer
121 views

“Long service output” in Nagios gets chomped for some reason

According to this page the limit of $LONGSERVICEOUTPUT$ is 4kB, but in my case, it stops showing the rest of the output after 970 bytes of output (26 lines), where there multiple newlines no long ...
0
votes
2answers
77 views

Can Nagios monitor a service only by hostname?

I have two hosts server1 and server2 where I do manual fail over. The C record master-server then points to the one which is the master. Only the master host should have a certain service checked. It ...
4
votes
5answers
237 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 ...
1
vote
1answer
75 views

Is there a way to exclude specific hosts from a Nagios hostgroup?

I have a Nagios server which includes many hostgroups. One of these hostgroups include a server which I'd like to exclude from being checked for one specific Nagios Check but I want it to keep being a ...
2
votes
2answers
240 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 ...
-1
votes
2answers
99 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: ...
1
vote
2answers
88 views

Get full list of host and services from Nagios

I need to get a full list of hosts and services from Nagios, to make a decision table. I think there is two methods, querying the Nagios CGI, and parsing the Nagios cfg files. But... Nagios cfg ...
0
votes
1answer
30 views

Nagios: Configure different users for different hosts with the same commands.cfg file

I'm in a unix environment where I'm using check_by_ssh to execute Nagios plug-ins. A few hosts have a different unix account to which Nagios needs to ssh into to run the plug-ins. I pass the account ...
1
vote
1answer
129 views

Simple monitoring solution for a single server [closed]

I have a little experience with server monitoring products from my previous job (mainly Nagios), but never had the chance to set up a monitoring scheme from scratch. Every time there was a number of ...
0
votes
1answer
74 views

How can i have various configuration in nagios config file

I am using nagios check_logfiles plugin from here http://labs.consol.de/lang/en/nagios/check_logfiles/ I have the config file like this @searches = ( { tag => 'san', logfile => ...
3
votes
1answer
310 views

Increasing ping spacing with check_icmp

We have a bit of a challenge with our Nagios check_icmp monitors... our network suffers from microbursts which can drop maybe 1 or 2 milliseconds of traffic through our firewall. We are working on ...
0
votes
1answer
72 views

how can execute nagios commands from command line in linux

I am using nagios o centos server and i only want to monitor the localhost only. I have defined my service like this define service{ host_name localhost service_description Site1Service ...
-1
votes
1answer
72 views

How to send notification based on host and not service in Nagios? [duplicate]

Who that gets notifications are defined in the service and host definitions, but what I would like is that it is only defined on a pr host level. So whoever that is in the contact_groups for the host ...
2
votes
2answers
312 views

Possible to override contacts for just one Nagios host group?

The contact for all my linux hosts is the admins Nagios contact_group. But for this one Linux host would I like that the contact_group called sandradebug also gets notified. The problem is, that when ...
1
vote
1answer
362 views

NRPE: Unable to read output CentOS6

I am monitoring a CentOS 6 machine with NTP service installed. The monitoring server is a CentOS 5 machine with Nagios and Centreon. I'm using NRPE for monitoring remote hosts, and I get the following ...
0
votes
1answer
86 views

Nagios has stopped sending notifications

Our Nagios server has stopped sending email notifications. If I run the notify-by-host or notify-by-service commands directly, I get email, and everything works as I expect. When a notification is ...
0
votes
1answer
755 views

nagios not sending notification email

Nagios not sending notification for my services. I have two service called PING and STATUS in nagios localhost. PING service check host availability using ping command and STATUS service get the SNMP ...
1
vote
1answer
151 views

How to monitor server resources? [duplicate]

I would like to monitor the resources of my servers such as CPU, memory, disk space and many other things. I'm using Nagios + Centreon to do this, but I would like to have a historical view of the use ...
0
votes
2answers
1k views

check_ssh executed from Nagios server returns “Server answer: ”, nothing else

Commmand works on the host I need to monitor (its IP is denoted as $HOSTADDRESS$ here): [root@host ~]# /usr/local/nagios/libexec/check_ssh localhost SSH OK - OpenSSH_4.3 (protocol 2.0) However, on ...
2
votes
2answers
651 views

Check if puppet agent is up to date

I would like to check with my nagios monitoring if every node use current catalog version provided by puppetmaster. In my situation, there are: puppetmaster host1 host2 hostX I would like to ...
-2
votes
2answers
51 views

htpasswd.users in nagios apache linux

I am installing NAGIOS, I came to know that I need to generate a file htpasswd.users related to apche. How can I generate this, any scripts for that??
0
votes
1answer
237 views

nagiosgraph new services not showing

I am using Nagios Core with Nagiosgraph and had only enabled graphing for cpu usage for a while. This worked fine, but now i wanted to add some more services (for example memory usage). The new ...
3
votes
1answer
57 views

Prevent some nagios check for certain hosts

Is there a way to configure a certain check to prevent it from running in some hosts of that hostgroup ? I want a check not to run on all the hosts of a hostgroup.
1
vote
2answers
406 views

nagios ldap-group based front end login permission issues [duplicate]

Possible Duplicate: nagios - Web interface: authentication through kerberos OK, what about authorization on cgi.cfg? I want to grant users access to the nagios 3 core frontend by using an ...
2
votes
3answers
611 views

Nagios Sending Daily Alert History as Email

I know that we can use nagios plugin notify-by-email to send emails for any kind of critical alerts. Now I want one email to be sent as a report for the critical alerts of last one day daily. Can ...
5
votes
3answers
286 views

Nagios3: Conditional operators for service checks?

I'm trying to setup Nagios to monitor my various machines using hostgroups to define 'machine roles', against which I run services to check the machines by role. However, I'd like to use conditional ...
0
votes
1answer
369 views

How to get output from Nagios in a file

I have configured Nagios monitoring tool for a linux server m/c to monitor another linux host m/c(till now I am monitoring a single m/c only). I have followed the official documentation and installed ...
0
votes
2answers
3k views

Nagios - NRPE: Unable to read output even though it seems like everything is configured correctly

I have a Nagios machine which monitors many linux\windows servers. I started working here about a week ago and got a task to make order in the Nagios. As part of my order i had to add 2 more linux ...
3
votes
2answers
729 views

Nagios - Not sure which interval should be changed in order to limit number of times a notification is sent when an error occurs

I have a Nagios server which monitors many servers. From time to time we encounter an error which cannot be resolved at the time and we are leaving it for the time being. When it happens, we keep ...
1
vote
2answers
1k views

Cannot access Nagios Web Interface

After successfully installing Nagios core 3.4.1 (i also installed plug-in1.4.11) on our linux rhel 5.3 server i cannot login to the nagios web interface.I am running apache 2.2.3 I am using internet ...
2
votes
1answer
1k views

Nagios Creating lots of zombie process

In my monitoring box, I have lots of zombie process created by nagios and they gets remove quickly also. I am using active checks to perform monitoring of my servers. I accumulated the defunct ...
1
vote
1answer
380 views

Nagios escalation and wildcards

I've problems configuring escalations on nagios. I'm getting a the following error: Error: Could not expand hostgroups and/or hosts specified in host escalation (config file ...
5
votes
2answers
991 views

Nagios (Return code of 141 is out of bounds) on random services

We have had Nagios running on one of our servers with out any problems for a while but lately we get (Return code of 141 is out of bounds). The load on the server raised because we gone online with ...
1
vote
5answers
8k views

Generic Nagios plugin to check if a specific process/service is running?

I see on http://exchange.nagios.org that there are not plugins to check if sendmail, xinetd, automount, ypserv, ypbind, mailscanner, mcafee, clamav, samba server, and openvpn are running. Of course ...
0
votes
1answer
3k views

How to debug Nagios “NRPE: Unable to read output” when checking NFS?

I have a working Nagios setup where I e.g. monitor disk usage through the NRPE daemon without parsing arguments through NRPE for security reasons. So I know that NRPE works. Now I would like to check ...
1
vote
1answer
68 views

Should I hardcode a value for e.g. $NAMESERVERHOSTADDRESS$?

I would like to use the Nagios plugin check_dns, so when I look at the command definition to it define command { command_name check_dns command_line $USER1$/check_dns -H $HOSTADDRESS$ -s ...
5
votes
1answer
555 views

How to allow Active Directory authenticated users use Nagios web interface?

I have put .htaccess files in the Nagios html root and CGI root directories, so in order to get access to the web interface, the users needs a valid Active Directory account. The problem I have is in ...
2
votes
1answer
692 views

Nagios Host Downtime Scheduling

Ok, so I've spent a bunch of time on this and I can not seem to get it working in my environment. I have a Nagios 3.3.1 server with NConf 1.3. All works well and I'm pretty happy. However, I have a ...
1
vote
1answer
549 views

Contact group for alerting after one hour in Nagios / OMD

I am trying to find a solution for the scenario below. I have a few hundred services in a Nagios (OMD install with check_mk and other delicious stuff) and they are defined as different service types ...
0
votes
2answers
254 views

nagios check_crash || how to detect when a server has crashed and rebooted?

Thanks to the Intel TCO watchdog some servers i manage now reboot on a kernel or hardware crash and init scripts are now even 'rebootsafe'. Sadly this means that i no longer get a notification from ...
3
votes
1answer
2k views

Beginners Guide to SNMP? [closed]

I have been searching for days on a beginners guide or tutorial on understanding and using SNMP. I am looking for a guide that starts from the very basics of explaining what an OID and MIB's are to ...
3
votes
3answers
4k views

nagios nrpe check_procs wrong return value

I have a problem with my nagios monitoring. I'm trying to check a process on a remote host using nrpe. The host was already been monitored by nagios, so I only needed to add a line to the nrpe.cfg ...
0
votes
1answer
236 views

linux kernel soft lock nagios

I've had this happen a few times in the past few days, anyone have any idea what might be causing this? Looks related to nagios/smp/memory management. Seems to be recurring every 24hrs or so. This is ...
1
vote
2answers
2k views

How to get nagios to return free diskspace

I'm having troubles with my nagios getting it to give me feedback about the ammount of free/used diskspace on the clients it's monitoring. at the moment, it runs the default check_all_disks!20%!10% ...
4
votes
4answers
1k views

Checking for read only file systems remotely

I need to remotely periodically check if a Linux file system is mounted read only on lots of servers. The only tools at my disposal in this instance are the usual CLI scripting languages ...