1
vote
0answers
34 views

Nagios 3.5 can't send notification email despite nagios logs ok / centos6

I spent hours trying to make nagios send email notification. my contact configuration is quite simple : I juste have one : nagiosadmin, and he is the default contact. In /var/log/nagios.log, nagios ...
0
votes
1answer
530 views

Uninstall nagios that has been manually installed through source

I installed nagios through this guide which works fine, but now i'd like to uninstall it altogether. Could you guide me what i need to delete as i cannot see an uninstallation routine.
0
votes
1answer
138 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
6answers
98 views

Can nagios show me the history of values reported for a service / host?

I have nagios up and running with nrpe, but I'm relatively new to configuring it myself. Is there any way to get the raw numbers for the checks, instead of just ok/not ok? For example, if I want to ...
0
votes
1answer
259 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
158 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 ...
0
votes
0answers
109 views

Getting Odd Errors Starting the NRPE Daemon via the service command

So, odd issue. I'm running CentOS 6.5 x64, and NRPE latest stable from EPEL. Ran into an issue where I can only start nrpe via service (which is what chkconfig uses) by running it sh first. ie. ...
0
votes
2answers
1k views

nrpe dead but pid file exists on CentoS 6.4 client

I have a similar problem like it was on question Memcached status returning "memcached dead but pid file exists" but I can't solve it. My Nagios client is CentOS 6.4 and NRPE won't work ...
0
votes
1answer
96 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 => ...
1
vote
2answers
434 views

Nagios admin doesn't have permission

I have installed and configured nagios on CentOS using yum I get "It appears as though you do not have permission to view information for any of the hosts you requested..." on the web interface. I ...
0
votes
1answer
77 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
77 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
533 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 ...
3
votes
1answer
2k 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. ...
1
vote
1answer
413 views

installing Nagios 3.5.0 on CentOS 6

Hi I am getting the following errors when i run make all /usr/bin/install: cannot stat `nagios': No such file or directory make[2]: *** [install-basic] Error 1 make[2]: Leaving directory ...
-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??
1
vote
2answers
2k views

Nagios - Is it possible to force check of all hosts by using a command in any given moment?

I've fixed many issues on servers which indicated errors on Nagios but for some reason the alert is still up even though the problem has been fixed. So i was wondering, is there a way to force check ...
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 ...
5
votes
1answer
1k views

Why does getfattr not display anything for a file that has the extended attribute bit set?

I've got a Nagios XI install running on CentOS 6.2, and want to modify the backup script. I noticed that the extended attribute bit is set for this shell script, so I want to be sure not to mess ...
3
votes
2answers
439 views

Nagios Hardening

I've been trying to look into hardening Nagios (if there is such a thing...), but haven't found anything too definitive on what to do or guidance on what to even look at. I'm wary to keep Nagios ...
-1
votes
1answer
848 views

NRPE installation issues “Starting nrpe in daemon mode … /usr/sbin/nrpe: error while loading”

I'm trying to install the nrpe package for OP5 on Centos. I think something is corrupt since I get following when trying to start the nrpe service: service nrpe start Starting nrpe in daemon mode ...
0
votes
1answer
3k views

nconf deployment.ini configuration for a basic Nagios server on CentOS 6.2

I have set up nconf and Nagios but I cannot figure out how to configure deployment.ini to properly deploy the generated configuration to /usr/local/nagios/etc. Here are the directory listings of ...
2
votes
4answers
178 views

Nagios installation and security issues

I am new to monitoring tools. Recently our server with phpMyAdmin was attacked with botnet. So I want to do some monitoring on my server for any their health and also security. What I am worried is ...
4
votes
5answers
11k 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 ...
0
votes
4answers
436 views

NRPE: check_aacraid - used this?

Im getting the same old "Unable to read output" message from this NRPE test. I can run other tests on this machine and I can su - nagios -c "<path to check_aacraid>" when running locally and it ...
1
vote
2answers
130 views

How to cancel “/usr/local/nagios/bin/import_runtime -q”?

Every hour I get an email from the server with the following cron error: DBI connect('database=runtime;host=localhost','nagios',...) failed: Access denied for user 'nagios'@'localhost' (using ...
0
votes
1answer
1k views

Monitor ethernet traffic of windows host using check_snmp with nagios

I currently have nagios ver. 3.3.1 running on CentOS 5.6. All of my windows hosts are being monitored using check_nt with nsclient++ and it is working perfectly. What I would like to do is monitor ...
0
votes
1answer
169 views

mklivestatus compile issue

i am trying to integrate nagios with mklivestatus and during the compilation of livestatus.o module, it fails, i have installed all the packages which are required according to the documentation. ...
3
votes
1answer
742 views

Excluding the nagios directory from Basic Auth that is set for the root directory

I have basic auth from the root directory for Apache. I am setting it like so. /etc/httpd/conf.d/xxxx.conf <Location /> AuthType Basic AuthUserFile xxxxxxxx AuthName "Restricted ...
0
votes
1answer
1k views

Nagios - How to use check_icmp instead of check_ping?

I am newer to Nagios. I am not able to use check_ping because of "problems parsing the output" according to the check_ping command. I have tried setting to SUID as recommended in some threads, but the ...
0
votes
1answer
7k views

What does runuser: cannot set groups mean

I am installing nagios3 on centos. After stopping the nagios server and then restarting I get the message Starting nagios runuser: cannot set groups:Operation not permitted. what does this mean ...
0
votes
2answers
3k views

Need help in understanding NAGIOS NRPE commands

I have centOS5 where i have installed the Nagios Monitoring system Ubuntu - is the remote host where i have insalled the NRPE plugin and addon Now on REMOTE HOST UBUNUT --MY NRPE.CFG SAYS ...
5
votes
5answers
5k 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 ...
17
votes
4answers
2k views

Monitoring production server

Hey all, 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 ...