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
5
votes
2 answers

You don't have permission to access /nagios/ on this server

I have been trying to setup nagios on mac and it definitely seems pretty easy but I am stuck at this point - I am unable to load the localhost/nagios/ page. I have the right configuration as far as I think. I have installed PHP and changed the…
Nitin
  • 280
  • 1
  • 4
  • 12
4
votes
1 answer

Is possible to configure nagios to send notifications per hostgroup or servicegroup?

I have created several hostgroups in nagios and each hostgroup consists of several hosts. Hosts carry applications which are monitored by service checks, always at least 7 or more per application. Thus my problem is: when lets say application on…
Lucius
  • 41
  • 1
  • 3
4
votes
1 answer

Expanding variable with spaces into a curl POST variable

Some research revealed a few useful stackexchange posts, namely expanding variable in CURL, but that given answer doesn't seem to properly handle bash variables that have spaces in them. I am setting a variable to the output of awk, parsing a string…
brandeded
  • 2,080
  • 6
  • 25
  • 52
4
votes
8 answers

Groundwork / Nagios' check_by_ssh is returning "Remote command execution failed"

I'm using Groundwork / Nagios, and I'm trying to set up check_by_ssh. Right now, the command is: $USER1$/check_by_ssh -i ~nagios/.ssh/id_dsa -H $HOSTADDRESS$ -t 60 -l "$USER24$" -C "/tmp/test" where /tmp/test is a Hello World program. but it's…
Connor
  • 171
  • 1
  • 1
  • 8
4
votes
1 answer

Unable to capture changes to log file via nagios check_logwarn plugin command invoked via PHP exec() triggered via Jenkins

I am using nagios check_logwarn to capture changes to log files. In order to test my setup, I have been manually adding the following log line to the concerned log file - [Mon Mar 20 14:24:31 2017] [hphp] [12082:7f238d3ff700:32:000001] [] \nFatal…
Sandeepan Nath
  • 9,966
  • 17
  • 86
  • 144
4
votes
1 answer

AWK: Are these statements required?

I have the following line in a Nagios bash script. It is being used to get the up and down error rates for the specified network cards: if=`awk -v interface="$INTERFACE" '$1 ~ "^" interface ":" { split($0, a, /: */); $0 = a[2]; print $3 " " $11 }'…
Rich
  • 15,602
  • 15
  • 79
  • 126
4
votes
1 answer

How to export Nagios data into CSV?

I am a newbie and I am doing this for my project. I am able to install and monitor nagios successfully. But I am required to export these data into csv. Can anyone help me in this? Thank you so much xx
Fiqah Sapnan
  • 39
  • 1
  • 2
  • 5
4
votes
1 answer

How do I install .pl plugins for nagios?

I am trying to install the "check_mssql_sproc.pl" plug in for nagios. Where and how do I install it?
Haonan
  • 41
  • 1
  • 2
4
votes
2 answers

How does one change nagios default url to custom url?

I am running Nagios Core 4.0.8 in my environment and I am looking to find a way to change the default url from https://example.com/nagios to https://example.com. Is there a way one can do that?
Ura718
  • 371
  • 2
  • 6
  • 13
4
votes
7 answers

Nagios - Could not open command file /usr/local/nagios/var/rw/nagios.cmd’ for update

I'm trying to disable active check for a service through Nagios web interface, but I cant make it. The Nagios instance is running on a Centos 5 distribution Each time I try to stop the service I get this message : Could not open command file…
renard
  • 1,368
  • 6
  • 20
  • 40
4
votes
1 answer

Use nagios to send xml request to web service, and retrieve response

I'm sending a request manually over Soap UI currently, the request is as follows.
Ben Coughlan
  • 555
  • 3
  • 12
  • 23
4
votes
0 answers

New Relic Python alternative?

I'm looking for an alternative to New Relic That I could host by myself in Python or with a Free plan as Sentry. I already use Sentry free plan for bugs trace and it is really a must have for our framework (Django). (getsentry.com) I'm looking for…
kollo
  • 1,285
  • 3
  • 20
  • 33
4
votes
2 answers

How to generate Nagios hostgroup list from hosts by using Notepad++/RegEx or other

I'm using Notepad++ and I would like to ask for help to achieve the following. I have some(several 1000 lines) Nagios/Icinga config that looks like this: define host { use generic-host host_name FakeNameA-748-SomeNameA alias …
Brandur
  • 41
  • 1
  • 3
4
votes
2 answers

Nagios: creating custom menu for an authenticated user

Is there any 'easy' way to create customized web gui (for example, menu, default home page etc.) for a Nagios authenticated user? I have created a user for a customer, who has access to certain hostgroups only. But after logging in, the user can…
Diamond
  • 167
  • 1
  • 10
4
votes
3 answers

Nagios not sending emails

I want to setup nagios to send email notifications. I can send email notifications manually clicking the "Send custom service notification" in nagios web interface. The notification is being created and the email is being sent and delivered…
Pavel L
  • 921
  • 2
  • 9
  • 16
1 2
3
81 82