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.
I got some crontab records and everything works fine. I installed mail server recently and all cron notifications started to come into my inbox. I'd like to receive only notifications about cron errors. I would rather not filter all notifications off.
lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty
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.
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've been trying to install Ubuntu Server onto Microsoft Virtual Server at the request of my boss, and I've been having an issue I cannot seem to work around. Now my background on Ubuntu and linux in general isnt amazing, I have configured server at home to act as a file sharing platform and a media server, but thats about it.
Now I've gone to install it on the MVS at work and once the install completes, I recieve the following error: Hypervisor error.JPG
I've tried running the install but limiting the resolution, but from what I can rememeber server doesnt install the GUI to start with, so it should just be showing me the standard CLI.
I have open phoenix SL viewer and I get nagging notification who is on/offline and when I recieve a message. When I minimize it or change virtual desktop, I really dont want to see any notification from this application as it is distracting me.I first tried to find setting in phoenix but I couldnt find any. Notification widget cannot supress it completey, so I went to advanced application settings, but I couldnt find it there either.Is there a way to say to KDE that I dont want any notifications recieved from that application?
I installed Lucid Lynx a week ago and I have a problem with the notifications. The notifications that appear on the screen stay for a long time, about 10 seconds. How to control these notifications so that I can reduce the time?
I recently upgraded from Kubuntu 9.10 to 10.04, and I've noticed that all my KDE notifications now appear at the top of the screen, in the middle. Has anyone else experienced this? Is there an easy way to fix it?
Is there a way to log the notifications that show up in the desktop? For example: a)When pidgin notifies you that you have a new message can you "save" that notification? b)When transmission informs you that a torrent finished downloading can you log that notification?
Or if you can't log them can you make a script that "catches" those notifications? What I want to do is that when a certain notification pops it triggers an app or a script. So if I can log the notifications I can "watch" for changes in the log file and trigger something; or if can "catch" the notification I could also do that. I think it can, somehow, be done with d-bus but I can't find my way around the documentation.
In the previous version of Ubuntu (10.10) I got a notification of updates in the lower Gnome panel.Now I am using 11.04 with Unity. I have not seen a notification of a update since then.How can I get updatenotification for Ubuntu 11.04 with unity?
In ubuntu Natty with the notification pop ups like for when the song changes in Banshee, they are in my top right corner. Is there anyway to move them?
I installed Specto and created 2 watches. One for a gmail account, and one for a website. Both have changed since then but I have not received any notifications. There are no errors in the error log.I think this problem might have something to do with the fact that I altered the default Ubuntu 9.04 bars (long before installing Specto). I eliminated the top bar on the desktop. Would this somehow prevent Specto from functioning. Its logs indicate that it is doing its tasks, but I don't see the notifications.
my monitor also doubles as my tv and i like to watch hulu videos and movies on it from my computer and i wanna be able to tell who comes online and who logs off, i want these notifications to appear on top of the videos that are playing in full screenis there like a plug in for this or special way of getting this kind of thing working i use my 20" tv as a monitor and tv.
I'm trying to manually install Squeeze/KDE - i.e. not the whole kitchen sink that comes with the DVDs but a cut-down version suited to my needs. Since it's a custom install, and since I'm no expert, I can't be sure (even after reading TFM, and browsing forums) wehether the problem I'm having is to do with KDE/debian, or with my install method. Anyway, the jist of the matter is that after several attempts to install debian/kde, each time using slightly different sets of packages, I either have sound in KDE notifications, but not elsewhere, or else everything starts okay, but after some untraced post-install tweak I lose sound to everthing except KDE notifications.
I'm certain that it's not simply a matter of not setting the sound levels high enough, as Wesnoth (one of the packages not making sounds) cannot be set in the preferences dialog to enable sounds (i.e. cannot place check marks in the sound preferences dialog). Other games are also without sound, and so are flash videos in iceweasel. Also, when I start systemsettings>multimedia all of the tests come up positive with the nice kde sound being made.I've installed all the phonon packages I can think of, with and without alsabase. I've also tried to use a different backend apart from xine, but other than that I'm stumped.
After fiddling around with extensions for a while i noticed that my rhythmbox notifications didn't have the normal icons anymore (back, pause/play, forward). Instead the only button avalable is [Next].
I opened firefox and it restored some ~15 windows I had open last time I rebooted. The problem is that for each window it opened it gave me a notification that it's ready, and now they won't go away. I know that I could simply remove them one by one, but that's a bit tedious and I really want to know if there's a faster way to clear all notifications when I'm not intending to look at any of them.
Here's what's happening at the bottom of my screen: I just find it really annoying because it pops up every time I accidentally touch the bottom edge of the desktop.
since i put suse 11.4 (kde 4) on my new laptop there has been something really bugging me. Now, when i transfer files (e.g. from computer to USB HDD) no window pops up, it just runs in the background and uses the notification manager thingy instead. i much preferred having a small pop-up window instead. any ideas on how to get it back like this?
Is it possible to set how quickly the notifications in KDE4's notifications widget will disappear? They stick around a couple of seconds too long for my taste.
I use pidgin for IRC regularly and am wondering if there is a way for it to show notifications when others talk?
I have "others talk in chat" selected for the sound notifications, but I'd really like it to use the visual notifications (the notification applet?), like it does when I'm chatting with someone over IM. Is that possible?
How can I change the positions for the notifications? It is at a weired place after installing 10.4 and I need to move it. I have been googling about it and it seems like the position is hard coded in the source code, can this really be true? If it is, I am starting to question my decision to use Ubuntu. How can i serous skilled developer hard code something like that in the source code? Can I trust the developer to know what he is doing?
In order to be able to concentrate, I would like to have an applet (or script) to temporarily disable notifications.In the same spirit of Caffeine which inhibits the screensaver when activated.I saw this tip, but would like something which does not require reboot
I can't figure out for my life how to turn off notifications in Pidgin Internet Messenger. I have looked all over in the Preferences menu for a way but can't find anything. It is killing me because every time someone logs in to Facebook or MSN or whatever, I get this popup at the top-right corner of my screen.
When something comes in that gets sent straight to my junk mail folder, a notification STILL pops up... Also of note, I would like to stop notifications for my RSS feeds... I love my RSS feeds but this is ridiculous.
When I receive an instant message from someone and I click on the mail icon and click on their message to open it, their message is multiplied. For instance, if someone says:"Hey, what's up?"
And I click on their message to open it in the messaging menu, this is what will appear: "Hey, what's up? Hey, what's up?"...Take a look at the screenshot to see this in action. This happens in Empathy on Ubuntu 10.10 32-bit.
I've noticed when someone calls attention to my name in xchat or if I get an instant message, I don't get a notification about it unless I happen to go into the dash. Then I see someone highlighted my name or instant messaged me. Is anybody else having this?
I am pretty sure this is an easy fix but I couldn't see anything in the preferences menuI keep getting really stupid notifications at the bottom right of my screen. Things like "click to start dragging"
I installed Lucid Lynx a week ago and I have a problem with the notifications. The notifications that appear on the screen stay for a long time, about 10 seconds. How to control these notifications so that I can reduce the time?
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?