Questions tagged [nagios]

Nagios (now known as Nagios Core) is a open source monitoring solution. It offers monitoring and alerting services for servers, switches, applications and services.

Nagios is a powerful monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes.

Nagios watches hosts and services that you specify, alerting you when things go bad and when they get better. Some of its many features include monitoring of network services (SMTP, POP3, HTTP, NNTP, ICMP, etc.), monitoring of host resources (processor load, disk usage, etc.), and contact notifications when service or host problems occur and get resolved (via email, pager, or user-defined method).

1227 questions
0
votes
3 answers

NSClient++ not getting installed in windows

I have installed Nagios monitoring tool in linux whose service is running successfully as expected. Now as per NSClient documentation, the windows part is not getting installed. The required steps are: (a) Copy pNSClient.exe, pdh.dll, psapi.dll and…
Manroop
  • 301
  • 1
  • 3
  • 16
0
votes
4 answers

JMXQuery connection - authentication failed

Hey all. Newbie question time. I'm trying to setup JMXQuery to connect to my MBean, so far this is what I got. java -classpath jmxquery org.nagios.JMXQuery -U service:jmx:rmi:///jndi/rmi://localhost:8004/jmxrmi -O java.lang:type=Memory -A…
Ace
  • 4,443
  • 6
  • 38
  • 46
0
votes
1 answer

Nagios won't run when I add this

I want to be able to check if my site is up and monitor it by nagios locally. So I went to this site http://www.linickx.com/nagios which made the following, now while I cant see hosts.cfg so I created it and also services.cfg I had to create as…
RussellHarrower
  • 6,470
  • 21
  • 102
  • 204
0
votes
3 answers

why is checking a URL failing when run through icinga?

I created my own command to check a specific URL define command{ command_name check_url command_line /usr/lib/nagios/plugins/check_http -f follow -H '$HOSTNAME$' -I '$HOSTADDRESS$' -u '$ARG1$' } If I run my command from the…
Chris Curvey
  • 9,738
  • 10
  • 48
  • 70
0
votes
2 answers

Nagios plugins - copy and execute?

I have a Nagios server installation up and running. I'm starting to deploy check_mk out to all my client machines. I am using mrpe for custom checks on my client machines. As one of the checks, I would like to use the check_ssh plugin. I tried to…
molecule
  • 93
  • 1
  • 2
  • 8
0
votes
3 answers

bash script check existing file before running script

As I am new to bash scripting (vbs is more my stuff), I can't get this to run. Probably very simple for y'all: I have a bash script on the C-system disk that is starting a NagWin (nagios for windows) plugin, but in that script I want to start off…
nobody
  • 59
  • 1
  • 6
0
votes
2 answers

agent++ and nagios

I have agent++ (www.agentpp.com) installed on all systems at a client site running our proprietary app on Ubuntu linux. I want to monitor these systems from a central server running nagios. Is there code available in agent++ examples that would…
John Qualis
  • 1,663
  • 4
  • 33
  • 52
0
votes
1 answer

Can Nagios send alerts for periodic events?

Is there any plugin or facility in nagios which can do this: For example, the CPU load rises to 80% for 2seconds would not be a problem. I want to get an alert if it remains at 80%++ for at least 5mins. is it possible??
Exo
  • 93
  • 1
  • 2
  • 6
0
votes
2 answers

nagios passive check configuration

I have written a C++ program which runs on linux and sends snmptraps upon error. The traps are configured using nsca to reach a central linux machine running nagios. The central nagios server has a command configured for passive checks -…
John Qualis
  • 1,663
  • 4
  • 33
  • 52
0
votes
1 answer

Invoking Nagios in-built plugins

My system admin has installed Nagios on Ubuntu 10.04.3 LTS. How should I go about invoking Nagios in-built Plugins for example check_disk from shell.
Hussain Ashruf
  • 401
  • 1
  • 8
  • 20
0
votes
1 answer

Trying to monitor the internals of a rails application with nagios and nrpe but only getting "NRPE: Unable to read output"

I'm trying to monitor the internals of a rails application with nagios and nrpe plugin but only getting NRPE: Unable to read output Here is my Monitoring Machine Code "check_test.rb" script: #!/usr/bin/env ruby # load rails RAILS_ENV =…
0
votes
2 answers

bash: redirectly subshell into read

A little history behind this - I'm trying to write a nagios plugin to detect if an nfs mount is unmounted and if a mount is stale, which is where I'm running into a problem. What I'm trying to achieve is detecting if a mount is stale. The problem…
0
votes
1 answer

Nagios Core 3 custom notification exception

I'm hoping to avoid a hacked together mishmash to achieve something. I know it can be done with a mishmash but let's see if I'm missing a SIMPLE, easy way. This is Nagios Core 3. I have a service. That service is checked 24x7x365. Notifications are…
Danimo
  • 3
  • 2
0
votes
3 answers

Nagios verify Sharepoint

I want to set Nagios (on my Debian) to verify a SharePoint server is up. I already tried to use cURL but it didn't worked for some issue that I don't know so I decided to change the way I'll verify that service. It's simple in theory, I just have to…
DontVoteMeDown
  • 21,122
  • 10
  • 69
  • 105
0
votes
1 answer

nagios how to monitor remote host by shell scripts?

Do not install nrpe, but want in the Nagios control server writing shell scripts to control the remote host,like a process, the database state. can achieve? How to write the script?