The tag has no usage guidance.

learn more… | top users | synonyms

29
votes
3answers
4k views

Way to instantly fill up/use up lots of disk space?

On a Linux VM I would like to TEST the NAGIOS monitoring more deeply than just switching off the VM or disconnecting the virtual NIC; I would like to test or "enforce a disk space alarm" through ...
7
votes
1answer
15k views

chcon: can't apply partial context to unlabeled file while installing nagios with SELinux

I'm setting up Nagios core on CentOS with SELINUX=enforcing. I try to run chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ as suggested in the manual, but I get this error messages: chcon: ...
3
votes
3answers
596 views

How can I keep track of what's using the most CPU?

I use nagios to monitor my server. Once in a while I'll get a report that the CPU load is warning / critical, etc. Usually this happens at some odd hour or when I don't have the tools to immediately ...
3
votes
2answers
662 views

Subdomain for Nagios

I have a subdomain forwarding at ip xxx.xxx.xxx.xxx (domain.com) Lets call it nagios.domain.com Nagios worked at xxx.xxx.xxx.xxx/nagios but now it's not working due to a fact that app.domain.com took ...
3
votes
2answers
3k views

/nagios/cgi-bin/statusmap.cgi was not found on this server

I installed Nagios 3.4.4 on Ubuntu server 12.10. Installation was successful but now I'm not able to view maps and trends.When I try, I get the following error /nagios/cgi-bin/statusmap.cgi was not ...
2
votes
2answers
255 views

System call sent warnings to stderr: error: unsupported option (BSD syntax)

When we run the Nagios check_procs module in redhat7 os, we are facing below error. By googling we found that we need to reinstall procps package. We also reinstalled procps package but the module is ...
2
votes
1answer
649 views

Logrotate behaving unexpectedly

Find below the logrotate configuration that I'm using /usr/local/nagios/var/nagios.log { copytruncate daily rotate 7 compress missingok size 100M } And I could notice that ...
2
votes
1answer
2k views

Could not find any hostgroup matching 'allhosts'

I've just started configuring Nagios from scratch, and I'm new at this. I've been getting this error after adding objects/printer.cfg Error: Could not find any hostgroup matching 'allhosts' (config ...
2
votes
1answer
2k views

Why does this Bash NRPE plugin not return a variable to Nagios?

This is a very specific question I have here, maybe one has a simple answer for it. This script I have here works locally just fine: #! /bin/bash volts=`sudo vcgencmd measure_volts core|sed 's/volt=\...
2
votes
2answers
7k views

Executing a script from Nagios event handler fails to run

I have Nagios running on a webserver. For this one Nagios service check in particular, if it fails, it will run a script. This script is triggered via Nagios event handlers. Nagios event handler ...
2
votes
1answer
2k views

Install nagios3 on debian by apt, file not found error

I have a Wheezy Debian system, and I've installed nagios3 using apt-get. When I go to myhost.com/nagios3 and then go to a page, for example "Tactical Overview" I get the error message: The ...
2
votes
0answers
427 views

Nagios not running notify command

I am in the process of creating a notify command for our Nagios server to notify us via our Kannel SMS sender. This is what I got so far: /usr/local/bin/curl -v -G -d 'username=user' -d 'password=...
1
vote
1answer
627 views

Understanding NTFS-3g Inode Use

I'm running a CentOS 4.6 final box with a second drive array (raid 1, the mount is /mnt/raid, as listed below in my nagios warning) that uses ntfs-3g as the file system. My nagios warnings just went ...
1
vote
1answer
311 views

I can't get an interface up in CentOS. I get the interface has a different MAC address than expected

Device eth0:1 has a different MAC address than expected, ignoring." I cp ifcfg-eth0 ifcfg-eth0:1. I used the vi editor and changed the MAC address on eth0:01 My set up is a CentOS 6.6 VMware guest ...
1
vote
1answer
2k views

How do I install the nagios NRPE plugin on CentOS 5 using yum?

How do I install the nagios NRPE plugin on CentOS 5 using yum? I've tried yum install nagios-plugins but it's only downloading a fraction of a megabyte. Then if I do a search for one of the commands ...
1
vote
2answers
1k views

The receiving of returns by Nagios from script through NRPE

I am using nagios3 and want to collect some information from nrpe_server. Next script is at nrpe_server: #!/bin/sh #set -x # script for checking disk usage on ZFS # requires min zpool version 13 or ...
1
vote
2answers
904 views

Using nginx for nagios instead of Apache

I want to install nagios but instead of using apache i would like to use nginx. I installed nagios-cli and it automatically brings parts of apache which puts a script into /etc/init.d/apache2 and ...
1
vote
1answer
27 views

How is python invocation different when launched by Nagios nrpe?

When invoked with python2 after importing os and sys, the following function runs successfully but acts incorrectly when invoked by Nagios nrpe: def get_proc1_open_files(): # Set proc1_children ...
1
vote
1answer
7k views

No response from remote host for Nagios check_snmp_mem.pl plugin

Trying to setup memory usage monitoring for Nagios using the check_snmp_mem.pl from Nagios SNMP plugin. I could not even get it working from the command line, I mean I go to /usr/lib/nagios/plugins ...
1
vote
1answer
6k views

Nagios uses sendmail, new mail server, need to change SMTP server

I'm working with a CentOS server that has Nagios running and sending notification emails. The emails are still going to the old email system which was kept up to ensure all emails were being routed to ...
1
vote
1answer
764 views

How to increase the system CPU load/utilization in Solaris 10 to test nagios?

I want to increase the system CPU load in Solaris 10 in order to test this scenario in Nagios. I'm running following command to get the CPU utitlization in Solaris: bash-3.00# sar -s 10 60 SunOS ...
1
vote
2answers
10k views

Could not bind socket: Permission denied when trying to start NDOUtils using UNIX socket

I followed these directions to a tee: http://shah-oss.blogspot.com/2010/12/ndoutils-installation-on-centos-for.html Everything was going well until I actually tried to run this command (there is a ...
1
vote
1answer
3k 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 ...
1
vote
1answer
42 views

Return Multiple exit status to nagios

I'm trying to write a shell script for nagios plugin. I have a list of failed nodes where I have to trigger a CRITICAL alert to the nagios. Input: #cat file OFFLINE OFFLINE OFFLINE OFFLINE All ...
1
vote
1answer
960 views

Thruk installation “failed to open socket”

I am extremely confused, and Google isn't really helping. Also, I'm kind of a Linux novice. I've taken a couple of classes, but that was all about how to configure things in a basic Linux setup. I'm ...
1
vote
0answers
258 views

Nagios trap snmptt fails to trigger

I want to monitor a HP 7500 switch power supplies. I have my OID, given by the HP web interface. So I create a snmptt.conf.hp, I create a service, passive and volatile, add this OID to a trap, and ...
1
vote
0answers
215 views

Why does nagios stops sending alerts to the server? (Debian Squeeze)

I have a client machine and a server; I configured nagios on client to send alert on server to monitor that everything is working fine but suddenly the client stops sending alerts to the server -- on ...
0
votes
1answer
4k views

“Cannot install Nagios::Plugin, don't know what it is.”

I used this command to install Nagios::Plugins on multiple servers months/weeks before: perl -MCPAN -e 'install Nagios::Plugin' Now I get this error message: Reading '/root/.cpan/Metadata' ...
0
votes
1answer
126 views

nagios SSL handshake

I have nagios client which gave sudden error after an upgrade. I reinstalled nagios-plugin and nrpe agent again but unable solve error. This version uses nrpe under xinetd. # /usr/local/nagios/...
0
votes
1answer
102 views

Nagios plugins are executed from server plugins or client plugins? [closed]

Just installed Nagios on SERVER (10.20.8.106) and attached a CLIENT (10.20.10.11). So I defined my host and and a service for check_nrpe. It is working. So I have check_nrpe plugin in the plugins(/...
0
votes
2answers
116 views

RPM Dependencies Troubleshooting

I am trying to install a Nagios rpm and I get the following error error: Failed dependencies: httpd is needed by nagios-4.0.2-2.el6.x86_64 php is needed by nagios-4.0.2-2.el6.x86_64 ...
0
votes
1answer
520 views

Nagios missing alert notification

I check my server on WAN with ping and https by Nagios Core 3.5.1. Here is the host alert history. June 23, 2015 18:00 Service Ok[06-23-2015 18:13:47] SERVICE ALERT: webserver;PING;OK;HARD;3;...
0
votes
2answers
37 views

How I can identify that a process has multiple instances

In my case I have nagios server where nagios service is running. But when I run ps -ef | grep nagios, I can see: nagios 3361 13524 0 15:42 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/...
0
votes
1answer
570 views

invalid SSL_version specified at /usr/share/perl5/IO/Socket/SSL.pm line 368

SMTP SEND CRITICAL - invalid SSL_version specified at /usr/share/perl5/IO/Socket/SSL.pm line 368 I am using a nagios script /usr/lib/nagios/plugins/check_smtp_send that sends an email using gmail. ...
0
votes
1answer
127 views

Nagios Plugin for reading RMON files

May I know if Nagios is able read and display information from .rmon and .pmon files ? Samples: .rmon Time Stamp,RX Octs,TX Octs,RX Pkts,TX Pkts,RX Drop Events,Status,RX Undersize Pkts,Status,RX ...
0
votes
2answers
65 views

CentOS server to be used to internally issues

I have a CentOS 6 server here in our IT dept. and I want to install Nagios on it for some more network and enterprise insight. It has a internal IP that matches the network scheme as well as a ...
0
votes
1answer
5k views

Nagios misinterpreting Http response!

I've installed Nagios 4.0.1 on my CentOS 6.5 server. Since I'd set up Node.js to use port 80, I configured the Apache (httpd) service to listen to port 3000 instead. I can open Nagios console and ...
0
votes
1answer
3k views

Cannot create new service with xinetd in RHEL6

I've installed the Nagios on My RHEL 6.4(x64) machine. and i added one more module name called "NSCA" for some central monitoring solution.so the setup required add NSCA service detail under xinetd. ...
0
votes
0answers
42 views

How to see nagios event handler output in log?

Is there any way to see event handler output in Nagios log file? My event handler echoing some text information, which I would like to see in log file of Nagios. I know I can have the script to echo ...
0
votes
1answer
26 views

How to install Nagios from source but put the configuration into /etc/nagios

I am quite familiar installing Nagios from source, but how can I install it and put the configuration into a folder other than /usr/local/nagios/etc/ I am fully aware that from nagios.conf I can ...
0
votes
0answers
57 views

Linux, LAMP, & Nagios server

as i'm somehow new in linux, and i'm required to install a monitoring system to our company using CentOS7 with LAMP & the monitoring Application NAGIOS. after installation everything goes well, ...
0
votes
0answers
1k views

ERROR: CHECK_NRPE: Socket timeout after 10 seconds

getting following error : # /usr/local/nagios/libexec/check_nrpe -H nagios-server-ip CHECK_NRPE: Socket timeout after 10 seconds. But it's working for localhost # /usr/local/nagios/libexec/...
0
votes
1answer
399 views

Find command to check only for the last 10 minutes and not the whole folder

I have an nvr system that recording video surveillance into a file server (Debian). I made a Nagios plugin to check if the NVR system is recording correctly and send me a notification when it stops ...
0
votes
0answers
76 views

nagios plug-in for collecting DNS stats not working on RHEL server 6.7

We are trying to get the check_bind.sh script to automatically update the named.stats file. However, the file only seems to update when we run the script manually or with a cron job. We have this ...
0
votes
0answers
33 views

Monitoring dashboard for a custom application, should also allow custom actions

I have a custom application, for which I need a dashboard which will monitor the application (show if the application is up/down) and allow an operator to start/stop the application from the ...
0
votes
0answers
192 views

rrd graph to show actual values when interface is counter64

i am using nagios plugin check_snmp to monitor network devices(load balancer) session which reports backs a value from that value rrd generates a graph but graph doesn't show acutal values. I am ...
0
votes
1answer
368 views

NTP issues on Nagios server

Our Nagios server NTP has isn't working right. First here is the issues: root@ccsd-lx-noc03 /var/log> tail -n 10000 messages | grep "NTP" Jul 5 16:19:36 ccsd-lx-noc03 nagios: SERVICE ALERT: ...
0
votes
1answer
175 views

How to calculate Swap warning/critical dynamically through script?

I have used SAR in my below script and is trying to run on individual servers for my nagios monitoring. Can someone please suggest how i can get the swap warning and swap critical values in my check ...
0
votes
1answer
185 views

nagios socket timeout error in master server

I am setting up a Nagios master and its client servers. To make them interact, I am using the check_nrpe plugin. All of the process went fine, but I am getting the following error on the Nagios ...
0
votes
1answer
92 views

How to pass port no from hosts.cfg file to services.cfg file in nagios

I have hostgroups.cfg file in which i have different hosts with different port no. I want to pass port no for every host to services.cfg file where i have put check_http command. As my different ...