-4
votes
2answers
37 views

Nagios Wrapper Script that Checks board [closed]

I am in need of a kind of automation script or program run in the Linux environment that can check my Nagios board and can display results or store it's results of the Host, Service, Description, etc ...
0
votes
1answer
257 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 ...
2
votes
2answers
413 views

Allowing nagios plugin check_dhcp to work without setuid root

Nagios has a plugin, check_dhcp, that does exactly what you'd think. It's widely suggested to install it setuid root, because it uses SO_BINDTODEVICE, which usually only root can do. Of course a ...
0
votes
1answer
59 views

Nagios check_snmp (New Response) CRITICAL 7

I have got a new critical figure / output as 7 SNMP CRITICAL - *7* What does above 7 refer to?
2
votes
1answer
50 views

Recognizing Dell EquilLogic with Nagios

EDIT: All firmware and models are compatible, that is why nothing is posted about it. Okay, so there will be a lot here, so please bear with me. I've been working on this now for a few hours (reading ...
1
vote
1answer
134 views

Nagios check unknown custom script

I have bash script that returns right results when I run as user nagios manually. It fails as unknown when configured in in nagios configs. Entries in nagios configs define command { ...
0
votes
1answer
847 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
87 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
294 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
104 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
175 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
426 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
290 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 ...
6
votes
5answers
996 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
357 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
2k 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
306 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
194 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
35 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
229 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
121 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
574 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
81 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
86 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 ...
3
votes
2answers
836 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
682 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
140 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
2k 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
201 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
2k 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 ...
3
votes
2answers
1k 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
53 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
385 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
60 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
633 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
945 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 ...
6
votes
3answers
367 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
494 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
1k 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
2k 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
2k 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
610 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
1k 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 ...
5
votes
5answers
13k 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 ...
1
vote
1answer
4k 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
74 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
696 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
1k 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
793 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 ...