Server :: Nagios - Advanced Notifications Configuration Questions
Oct 30, 2010
I'm working hard with Nagios 3.0.4 on Debian Lenny. I have some questions. I can't find any information about these issues. I have hosts with a first_notification_delay of 60 minutes.And I have the whole day a Nagios controlling the same hosts. It's good to know if the same host is turned on during the night, but my work period begins at 10:00 am and it finish at 22:00 pm, I'm not a lucky boy I have configured a notification Period to 10:00 am to 22:00 pm.
Question 1: If a host goes into hard state CRITICAL, I know that Nagios waits 60 minutes to send a notification, but What happens if the host recovers before the first_notification_delay period ( for example, 30 min before)?Does it send the recovery notification or not?
Question 2: If a hard state happens at 21:59. Does Nagios wait until the 10:00 am of the day after to send the notification? If the host recovers at 9:00 am of the day after is the notification message cancelled?
I'm running Nagios Core 3.2.3 in a CentOS 5.5 Server, i'm trying to set the notifications, however they don't go through. I'm Using Postfix, i also setup squirrel mail and i can send mails through it successfully, can anyone give me some advice about the logs to check or configurations to check?
Running natios server in Debian 8? I cannot start nagios3 demon, it got following error:
Error: Check period '24x7' specified for service 'check ssh connection' on host 'testk2' is not defined anywhere! Error: Notification period '24x7' specified for service 'check ssh connection' on host 'testk2' is not defined anywhere!
But if I commented following statement in generic-service_nagios2.cfg, it works just fine.
I have installed latest Nagios and Nagios plugins. Nagios is working properly, but when I go to the browser n write the www.server-name.com/nagios, it gives Not Found The requested URL /nagios/ was not found on this server. How can I tell Apache to open Nagios on adding /nagios in my URL.
I've followed all the instructions in nagios documentation to install the nrpe agent in a remote host, but the daemon nrpe is not listening on port.. that means I can't even test it localhost!
netstat -at | grep nrpe returns nothing. You added the nrpe entry to your /etc/services file - done The only_from directive in the /etc/xinetd.d/nrpe file contains an entry for "127.0.0.1" - done xinetd is installed and started - done
Check the system log files for references about xinetd or nrpe and fix any problems that are reported - syslog empty..
Is there anything else I can do to correct this? I configured this yesterday and it was working ok.. but today when got into computer it stopped working
I'm trying to create a user account for my children in Ubuntu 10.04
When creating their account, I have turned off the 'Connect to ethernet and wireless' option of the Advanced Settings.
However, when I log into their accounts, they still have full access to the internet through both the wireless and ethernet connections. Is this option for some other purpose?
Is there an alternate way to limit internet access for childrens' accounts in Ubuntu? (I'm used to MS Family Safety as a filter for internet access - is there an eqivalent for Ubuntu?)
I am trying to install and configure nagios on RHEL 5. I have apache 2 installed and php all working as exepected. When i install nagios following the these steps [URL]. The nagios folder that is suppossed to be placed under apache2's httpd is no where to be seen. So when I try to open localhost/nagios/. It says: The requested URL /nagios/ was not found on this server. What can I do for the nagios to work on this system. The apache and php are working fine.
Heare i come with Nagios Problem, When ever i stop nagios it say's
[root@x292 ~]# service nagios stop Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock When ever i restart nagios it say's [root@x292 ~]# service nagios restart Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration. my nagios.cfg file is # 'Nagios CFG 1'
I have an existing Nagios installation from before I started working here. It seems to be working well but my boss has just asked for a report of what servers and the associated processes/functions are being monitored. Is there any way to generate this report other than going through all the Nagios configuration files and putting it together manually?
I'm having some problems properly configuring my DNS settings on my Zimbra Server.
I am running Zimbra collaboration suite on Ubuntu Server which is configured at 192.168.1.11 on DMZ. A BIND9 server is also running on the same machine (192.168.1.11). This machine serves as a mail server.
The following is how i have my DNS configured at mail.domain.com and i also have a shared hosting account at domain.com
Code:
Code:
Can i change to the following without any effects on my mail server?
I need to monitor PHP errors / warnings on few of our servers. The idea is to send email to developers / admins when PHP error/warning occurs on the server. Currently we run very ugly shell script from cron to do this which I want to replace with something better.I was thinking would logwatch be a good candidate for this. Run logwatch from cron every 5 minutes to check php service logs for the last 5 minutes?I've tried to get logwatch to check logs for last x minutes but so far without luck. Anyone already done this or should I go some other route with this?I'm using SLES as my test machine. I've installed the logwatch rpm and configured the PHP settings as shown here.
Currently I can get php log output when specifying '--range All' but how to tell it to display last few minutes logs?I've tried lot of range variations but nothing seems to work.I also tested adding 'for that minute / for those minutes' to the range command but then it won't output anything at all.
This is sort of mixed between hardware and software but it seemed more appropriate to me here. I'm building a server for very fast disk access. We have 8x32GB SSD SATA drives and 4x300GB SSD SATA MFT drives. The 300GB SSD drives are the slow kind of flash that writes slowly, and strangely is limited to 10K writes per sector. Long term data integrity isn't a big deal because it is backed up continuously but fast access to data is desired. Additionally the filesystem that contains this data deletes about 2.5 - 4 gigs of data per day, and adds about 2.5-4 gigs of data per day.
My plan is to create a hybrid drive of sorts, where the smaller 32G drives, lined up in RAID0, create a fast "buffer" disk, and on some increment what is in the buffer is written in bulk to the slower writing 300GB SSDs. I had two thoughts on how to achieve this, but ultimately I think that LVM snapshots are the best way to achieve this, put the read only "snapshot" on the big SSD drive and the other "differencing" part of the snapshot on the faster raid0. I'd much prefer a simpler solution where there is one block device to mount and all this is handled in the background.
I've been told to setup a first ubuntu sw development pc in my office. Our network domain server is Windows 2000 Advanced. Are there any issues or limitations that would prevent this marriage? Will it be apparent when I crack open ubuntu? Maybe a link to this procedure? Is joining a workgroup equally simple?
I'm running a server with Ubuntu Natty x64 and I want to get email notifications from the server sent to my gmail. What is the best way to set this up? I was looking at this LINK but I wasn't sure if this was the best way to go about this.
How to see the code behind the nagios plugin: Nagios Checker? I opened the folder which i have downloaded. After that where do i have to go to see the codes? Is it in App_Codes?
1) I have my Nagios running on the linux box and BMC Remedy Server on the Solaris box. I have simulated a mail from Nagios to be delivered to the Remedy server. But the Remedy Server does not receive it. I even tried snooping on port 25 but nothing has reached the box.
2) I have my Nagios running on the linux box and BMC Remedy Server on the Solaris box. I have simulated a mail from Nagios to be delivered to the Remedy server. I snooped on port 25 on the Solaris box. I could see the mail reaching the box, but it is not being forwarded to the Remedy inbox.
I have installed Nagios 3 on CentOS 5.2. Everything is running. It is monitoring 10 machines and 60 services for now. Now I want email notifications for the critical alerts from Nagios. I am already having one mail server (Qmail) running on different machine and I want to use its reference to send alerts to my network.
In the Ubuntu Repository there is a way to ask questions about programs. Is there something similar with Debian? Or another way to get help with programs? I attached a screenshot to help you get an idea of what I am talking about.
today I upgraded my 11.2 system to KDE 4.4.2. Basically this works. However there are two questions I was not yet able to find a useful answer for:
- 4.4.2 offer strigi desktop search. The index process started and probably did its job but how can I start a search. I found a hint that dolphin can be used, but here I do not find any Menu entry that opens a search dialog (except for the standard file search window). What I found was settings->Toolbar and there I could add a search bar into dolphins toolbar. However this search bar only appears in this one window, if I close it and open a new dolphin window it will not appear again (probably a bug). Any other way to start a strigi based desktop search?
- Again in dolphin I sometimes see strange folder icons for the folders in my home directory. Basically this is the default folder icon and after waiting a while all the icons change in that inside the regular folder icon a gray rectangle is displayed a the lower left side. No idea what this is good for. I goes away if I reload the folders content and then again after a while those strange icon appears again. It does however not appear for folders in eg /tmp only for /home which is on my system a NFS mounted filesystem.
What issues are there with 64 bit? I have done some research, but while there has been some mention of issues I can't seem to find any posts listing them. My desktop is currently running Maverick 32 bit, and I would like to upgrade to 64 bit. I have 4gb ram and 768 mb video ram, and conky only lists 2.74gb when queried. I would like to be able to address all memory so I can run Windows in Virtualbox, but my current install runs well.
I have installed the nagios by FAN 2.0 CD. In this distro all the required softwares are bundled. Now i do not know where to start. How can i monitor my other server on the network. I have google on the internet but it is not giving the clear idea. Is there any document on the net or how to which can show that how to configure nagios with centreon or originally from changing nagios files.
I want to monitor RDS (mysql database of EC2) using Nagios. In command line ( I am able to do it but I dont know how to feed it in nagios . On nagios server if I execute the following command , I am able to fetch the information of database (RDS)
Troubleshooting Nagios configuration? I'm already done with the installation and it's working fine. Now I'm working on adding Windows Server in Nagios to be monitored but the problem is my cfg_file=/etc/nagios3/objects/commands.cfg and cfg_file=/etc/nagios3/objects/windows.cfg there's no such /etc/nagios3/objects directory is existing on my nagios directory.
This is an odd question, but I can't figure out why my nagios emails aren't being sent. In fact, I got my last one three days ago so it *should* be working.
I have everything in contacts.cfg, and the admin page tells me that the following should be sent: Unknown, Warning, Critical, Recovery, Flapping, Downtime
I also have notify-service-by-email and notify-host-by-email.
I have no idea if nagios emails just don't want to be sent or what -- and I'm not even sure if the nagios emails are even trying to be sent.
Here's my contacts.cfg code...
There's nothing in /var/log/nagios besides the mention of that email address in objects.cache, so I have no idea if an email was attempted to be sent. My sendmail queue is empty as well.
Meanwhile, I have some downtime on a service and didn't get notified. Only the web interface is helping me out here. Any ideas why I am not getting email? How can I run a test to see if everything's working okay?
When I try to log into the webgui I am getting a file to download labled "nagios". When double-clicking the file I get the error " The file /path/to/file cannot be found. Please check the location and try again".
I have a CentOS-5 Server with Nagios installed,through which I monitor three other servers.I want to monitor a Linux partition which is mounted under CentOS-5 server which has Nagios installed.