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 ...
1
vote
1answer
44 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 ...
0
votes
0answers
43 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
128 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
111 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
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
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/...
2
votes
2answers
269 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 ...
0
votes
1answer
595 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
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
1answer
128 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
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
2answers
120 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 ...
1
vote
1answer
29 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 ...
0
votes
1answer
446 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
77 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
195 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
374 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
176 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
527 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
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 ...
1
vote
1answer
315 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 ...
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
93 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 ...
0
votes
0answers
1k views

htpasswd: cannot create file /etc/nagios/htpasswd.users

I just installed nagios on CentOS 6.5, while creating the default auth. user: htpasswd –c /usr/local/nagios/etc/htpasswd.users nagiosadmin here is what I got: htpasswd: cannot create file /usr/...
0
votes
1answer
189 views

execute script and enter password from one command

I have a script that uses CUPS lpstat -h command. However, the remote server I am trying to get a response from asks for a password. But I need to execute this script from within Nagios, so I have ...
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 ...
1
vote
1answer
971 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 ...
3
votes
2answers
665 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 ...
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 ...
2
votes
1answer
656 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 ...
0
votes
1answer
410 views

Nagios : How to monitor windows host from linux “by command line”?

I need help to monitor windows host using command line in Nagios. As we can monitor Remote Linux host by NRPE (check_nrpe)using command line as : /usr/local/nagios/check_nrpe -H localhost -c ...
0
votes
1answer
559 views

Nagios Core Acknowledgement notification (email)

Nagios Core 3.X on RHEL. I want to know how to send an email to the relevant contact group when someone Acks an alert.
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 ...
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 ...
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
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
1answer
769 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 ...
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
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 ...
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
426 views

Centreon Web Interface Slow

Our Centreon web interface is so slow ! about 3/4 mins to have my click's results ... While Nagios is working perfectly ... Thanks to Google, i guess it comes from mysql. But I can't understand ...
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
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 ...
0
votes
0answers
62 views

problem on installing nagios plugin on RHEL-5.1

I am trying to install nagios plugin 1.4.16 on RHEL-5.1 while I am configuring with command ./configure. I have hanged here checking for ps syntax... I have also tried this command ./configure --with-...
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
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 ...
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 ...
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=...