I have configured Nagios on SLES 10 SP2. I could configure nagios but 2 things are not working correctly.
1.It doesnt show correct disk utilization for /local partition.
2.It doesnt send Alerts.
I have installed NAGIOS (nagios-3.2.0-11.1, nagios-plugins-1.4.14-11.1 and few other which are required to remove dependency) on server and I have installed nagios (nagios-plugins-1.4.14-11.1, nagios-nrpe-client-2.12-11.1 and few other packages to remove dependency) on client.
Configuration files from NAGIOS server: nagios.cfg (Since this file is big, I have copied the relevant portion only. Let me know if any specific info is required from this file)=>
Is there a way to trigger Nagios to "Auto Acknowledge" any host alerts after x amount of times? Sometimes system has been down in the mid of the night but no one really has responded to the notification which might mean bunch of emails flown through in each inbox within the department coming from these alerts.
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 install Nagios Core Version 3.2.3 in CentOS 5.5 via rpmforge repo configure ssmpt to sent mail via my gmail account. i test and don't see any in it even some notification to nagiosadmin is get deliver now i create one user in contacts.cfg
Code:
I also add one contact groups
Code:
Now i add one windows xp machine on nagios for monitor (i install NSClient++ 0.3.8.75 and it working fine)
Here is my windows.cfg
Code:
But my problem is when my host goes down i m not getting any notification to my define contactgroup,
I have placed the restart-ssh script in /usr/local/nagios/libexec/eventhandler but its not working on seeing the event log the following information is obtained
Though i have checked the script manually by the following command
It works fine with both of the above mentioned commands
I don't know why it is not able to restart ssh when nagios is calling it as event handler
The service definition for ssh in localhost.cfg is as follow:
I want to have like 4 machines, each one of them with Nagios and nrpe (plugin+daemon) installed so that every one of the machines could be able to monitor all of the others.. Is there any problem doing this? Or having nrpe+nagios in the same machine is ok?
I have Nagios working and the check_logfiles plugin installed on my Ubuntu box and NSClient ++ installed on my windows box. My end goal is to be able to get the check_logfiles plugin to flag certain words in Windows Log Files. I can call the check_logfiles from the Ubuntu command line and it works fine when I look at a local log file on the Nagios box. If I try to do something similar but point to a remote windows file the process fails. I have NRPE enabled and I think working on the Windows machine. Before I post Config files etc can someone tell me if my approach is correct? Should I be calling the check_logfiles plugin from the Nagios box or do I need to install the Windows version of Check_logfiles on the remote machine and then make some sort of reference to it in the NSC.ini file on the Windows box.
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?
I recently updated to squeeze following the Debian release note steps, and most everything went smoothly. However, I'm now unable to get into the Nagios web interface. The service is still running and sends email notifications of issues as usual, but logging into the web interface gives me a 403 Forbidden error.
So we monitor all of our disk space, but only get pages for critical. What we would like to do is have one email sent to our team every month with all the "Warnings" for our disk. I have been searching and haven't found a way to do this. Any suggestions?
I'm relatively new to ubuntu and linux and for convenience I choose to surrender to the "ME" set-up by ubuntu, when it comes to using Empathy over my preferred Pidgin (I still use Thunderbird though without integration). The thing that annoys me is that the alert sounds, when I get chat massages and so on, are really low! Lot's of times I missed chats from friends because I didn't hear them. I've looked on the internet and I've tried different sound settings in the main preferences, but nothing. How to turn up the alert volume for Empathy?
This (correctly) display a message to the effect "There are no weather alerts for ...." when there are no weather alerts. However, when there is an alert, it simply displays a message like "Short-term forecast for ..." with no further information.
How are other people getting weather alert info in their conkys?
Sometimes the website will show an alert box akin to "Are you sure you want to leave?" when you try to leave the site. Is it possible to disable this from happening, without using something like the NoScript extension?
I have a server running ubuntu 8.10. I have monitoring software to monitor cerain devices on our LAN & WAN. However I need to set up e-mail on the server to mail me alerts for when something goes down. However this is where the problem comes in. I have never set up any mail clients on ubuntu server and am also not sure which one to use in this case. I have done some reading on squirrel mail and fetchmail. I am also aware there is roundcube and a few others available.
Here's my scenario: We have a mail server located off site. We use XP with Outlook on all our work machines. Outlook connects to the mail server using https with basic ntlm auth. So what I am trying to do is set up mail software to allow my server to send me an e-mail (using the above mail server) to my mail address so I get a mail whenever there's a problem with any of the devices being monitored.
#!/usr/bin/perl use Term::ANSIColor; ####TIME DETAILS ###### print colored ( "PLEASE SPECIFY HOURS FOR THE FILESIZEREPORT TO RUN ", ' bold green on_blue' ); $hrstorun = ;
I want a script that will send me an email when a file is created on a directory. The script will be monitored by cron. It should actually monitor an FTP directory for any uploads to the FTP directory
I have been receiving attack alerts. And I would like to root out the source of the problem. I'll give you the messages. If you could help me prevent this hacker from even being able to attempt these things please any advice is helpful. There have been memory stack attempts, failed sys_admin conversion attempts, password file write attempts etc.....
I have Ubuntu 10.04 and MegaRAID controller. The only tool I have is the notorious MegaCli. I need to be emailed when some disk has failed in the RAID array. How to set that up?
I get no sound for anything, I am running Ubuntu Lucid-amd64. Pulseaudio detects my sound card, and appears to be playing to it when I look at pavucontrol. But I get no sound for anything, not even alerts. I don't eve know how to debug it, because everything I have looked at looks like it should be working. I have checked every mute button I can find, and nothing is muted that I can see. The relevant information for my sound card from lspci -v is:
Does anyone know of any software that can monitor the Apache logs for certain phrases or keywords then send an alert when found? For example I know an attempt to hack has been made when I see log entries like this....
/admin/ /admin/phpadmin/ /phpadmin/
But by the time I see it, the attempt has long since failed or succeeded. What I need is a way for my server to alert me WHILE someone is entering these phrases. I realize there may be a "hit" to performance but my server is not that busy anyway (except for hackers).
I recently setup a server running subversion. It is working well and all, but I am curious as to how to make it send out email alerts to my team when a commit occurs.Also, are their any good GUI tools to manage a subversion server in Ubuntu. The command line is fine since I made some scripts but a nice GUI would be great! Maybe that could be a fun project to work on.
I recently installed Avant Window Navigator and worked fine. My problem is that I don't have on any preferences tab the option to Alert me when Window receive updates. It seems the new version does not have it as previous versions.I was wondering how can I enable the Alerts when Updates are received in windows.PS. I checked all tabs and seems this option is missed.I forgot to mention that I am also new at GNU/Linux.
all I want is for my server to send hardware alerts to the snmp manager.
Is a snmpd.conf like this ok? rwcommunity name1 rocommunity name2 trapcommunity name3 trapsink ip_of_manager syscontact me syslocation my_addr_and_phone