General :: How To Change Threshold Time In Nagios Services
Jan 5, 2010
I have installed nagios in a CentOS vm and now its monitoring the local host, one remote host which is also a vm with CentOS 5.3 and one windows xp system. Is there any option for me to change the threshold time for the services given? For e.g. I had a service of current_load which comes as a default plugin while installing nagios itself. What should I do to change the threshold value of the current_load so that I might get the warning or error alert some time earlier as it was now.
View 5 Replies
ADVERTISEMENT
Jul 29, 2010
checking of services in Nagios. You all know the check_[service] command right? In the commands.cfg and windows.cfg. To check for the different types of services/ports, we just replace the [service] in check_[service] with the name of the port? I only know of check_http, check_ssh, check_ftp etc. Some ports like Finger, snmp etc, all these we also write it as 'check_finger', 'check_snmp'? 2) And, if that is the case, do we have to install additional plugins to monitor the ports defined earlier? 3) Lastly, if i want to monitor finger,snmp in windows server, would i need to download any software?
View 2 Replies
View Related
Aug 6, 2010
i've been trying to send emails to my gmail account and it works now. using postfix, how do i make nagios send notifications to my gmail account when any services go down?i saw this commands for email in commands.cfg:
Code:
# 'notify-host-by-email' command definition
define command{
command_name notify-host-by-email
command_line /usr/bin/printf "%b" "***** Nagios *****
[code]....
i know that will be the format of the email if i can receive it.
View 8 Replies
View Related
Sep 20, 2010
After Days of trying to install Nagios, I eventually got everything working fine ! The only problem now is I get the following error message on the nagios web interface: "It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file."
View 1 Replies
View Related
May 16, 2011
My question is about checking remote services under Nagios. I have installed nrpe and the standard plugins on my Nagios server (RHEL 5.4) and the systems I want to monitor. I have been able to create hostgroups. I am somewhat confused as to how to add a new service. I want to check to see if tomcat is running on the remote servers. I found a plugin check_procs. If I run the following command on one of the remotes it works.
Quote:
check_procs -u tomcat6
PROCS OK: 1 process with UID = 101 (tomcat6)[code].....
It doesn't work. I'm not sure how to format the service.I've found gobs of documentation on how to setup and install Nagios, done. I've not been so lucky on how to setup a new service.
View 6 Replies
View Related
Apr 2, 2010
Since a week or 2 Nagios is constantly marking hosts (servers mainly but also a few Serial-over-IP converters) down for anything up to a few minutes. Typically, all services stay in OK status. Looking closer at a host in such state, it's status information is
CRITICAL - Packet Filtered (<IP address of host in question>)
in soft state. Sometimes services are in critical state with the host in OK status. Almost always the status information is "No route to host". Further checking shows no problems. Rarely this state lasts longer than one check interval. This started after a link was down, putting, correctly, all hosts and services on red for being unreachable. The link problems were solved within a few hours but Nagios only showed this after 2 reboots. Since then the problems has lessened in frequency gradually, from 5 to 10 of the 34 hosts being reported down at any given moment (the same for the 150-ish services monitored) to where I am now, 1 to 5 problem statuses (counting both hosts and services) and the occasional 'all green' screen. A week ago, when the problems were going a week already, Nagios updated from 3.2.0 to 3.2.1. This showed no apparent improvement.
Still, the Host Groups screen is not stable. A read or yellow status initially signified a problem to be looked at, right now it is likely a false alarm to will go away. Whenever the "packet filtered" or "no route to host" is followed up by a ping test, no problems, not even with the slightest delay or packt loss are found.
View 5 Replies
View Related
Jul 7, 2011
I believe that I need to disable the host check, I'm checking a public FTP service and ping is disabled on that FTP host. This is resulting in Nagios reporting the host as down, but the service shows as OK.
Is there any way to disable the host check?
View 1 Replies
View Related
Oct 14, 2009
I need to start an application (graphical) when the PC start, even before anybody login, and use/launch a specific user. Now only can do this manually; when gdm starts, switch to any text tty [ie. Ctrl + Alt + F1], then I login into the special user, start a X server, export the DISPLAY environment variable, and start the application.
With this steps:
Code:
$X :1 -verbose -nr -nolisten tcp &
# Maybe Metacity -> $ metacity
$export DISPLAY=:1
$JavaApp &
Now i need put this steps (script) in some place to launch the app automatically, and with and specific user [ie. manager].
How can I made it? Maybe in init.d? or an special xinitrc? And how can start the app with the specific user? And, if is possible, who can stop the app when the system going turn off? I have Debian 5.0 and a beginner knowledge of shell script.
View 5 Replies
View Related
Mar 2, 2010
I want to change the start-up sequence of services on SLES10/11.
I have my own start-up scripts for some services and I want them to start in a particular order(not in alphabetical order)
View 2 Replies
View Related
Jun 19, 2011
Under a Linux shell, how can I change the creation time of all a folder's files to the current time?
View 2 Replies
View Related
Jun 25, 2011
It's from my /var/log/messages
Jun 25 12:27:19 nl kernel: CPU0: Temperature/speed normal
Jun 25 12:27:19 nl kernel: CPU4: Temperature/speed normal
Jun 25 12:27:19 nl kernel: CPU6: Temperature/speed normal
Jun 25 12:27:19 nl kernel: CPU2: Temperature/speed normal
Jun 25 12:27:19 nl kernel: CPU3: Temperature/speed normal
Jun 25 12:27:19 nl kernel: CPU7: Temperature/speed normal
[Code]...
I checked the temps with ln_sensors, KVM and DC temps, everything is running great. I didn't get any shutdown in the meantime. I basically need a way to disable those warnings but reboot is out of question, means no BIOS. Hope its possible to disable it from the console itself, with blacklistinh some kernel module(s) or something like that.
View 3 Replies
View Related
Mar 24, 2010
I have a linux (Slackware) machine and the time/date is like, June 23rd 2003, 10:00am (It's 11 here) and I am not able to set the time to have it correct. I change the timezome to Montreal but the time is still wrong.
Is there a way to force it to sync with my domain controler or even another online NTP server?
View 1 Replies
View Related
Dec 27, 2010
Can anyone tell me what command can be used so that the Linux Centos Server starts mysqld, httpd and ftpd services at boot time automatically?
View 2 Replies
View Related
Aug 4, 2010
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?
View 14 Replies
View Related
Sep 19, 2010
I tried setting up Nagios 3.2.2 on Ubuntu 8.04 using this guide [URL]Every thing went well until trying 'make install-webconf', I then got the following error.
/usr/bin/install -c -m 644 sample-config/httpd.conf
> > /etc/httpd/conf.d/nagios.conf
> > /usr/bin/install: cannot create regular file
[code]...
View 1 Replies
View Related
Sep 13, 2010
How can Vsftpd services & Xinetd.d services can be differentiated?
View 5 Replies
View Related
Jan 27, 2011
How to change the hostname without affecting current status ie i dont need to change the already having time, just rename the hostname.. what is the command to refresh
View 2 Replies
View Related
Jul 15, 2011
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?
View 1 Replies
View Related
Sep 18, 2010
What is the correct way to stop upstart services from staring at boot time ? I'm doing something like this example in /etc/init/mysql.conf:
Code:
#start on (net-device-up
# and local-filesystems
# and runlevel [2345])
start on runlevel [!0123456] # I ADDED THIS LINE (and commented the above ones)
stop on runlevel [016]
1. Is this the correct way ?
2. Is there no way of doing something like we do with update-rc.d -f apache2 remove ?
3. When will ubuntu ship a gui to add or remove services from boot ?
View 1 Replies
View Related
Jan 7, 2010
is it possible to restart /start/stop all services at the same time without rebooting?
View 3 Replies
View Related
Jun 2, 2011
When you first access Nagios, it displays the Home page (the Nagios Core version and check for updates page). I would like to have a way to change the default page to either the Tactical Overview display or the Services display.This question was asked here, but not answered
View 3 Replies
View Related
Mar 9, 2011
I want to change nagios default logo with our company logo.
tried below steps
Replace nagios logo with your custom logo in statusmap code...
View 2 Replies
View Related
Dec 22, 2010
I recently added a second interface to my Ubuntu 9.10 server, I now have a dsl AND Cable connection for it, Im not trying to load balance or anything sophisitcated, heres my problem.
The machines networked, I put static entries in my dhcp servers and both interfaces are up and live with dhcp, and Ive tried with dhcp and static, same problem occurs.
But my problem is that services will only respond on one interface at a time, not both.
Anyone know what the heck is going on here?
Kernel IP routing table
Should I make them static and remove both gateways?
View 1 Replies
View Related
Jan 8, 2011
From gui, how can I change my time from am to pm? or How to do it using date command?
View 7 Replies
View Related
Nov 11, 2010
I want to transfer files from one comp to another. Its a few hundred gigs. Since the pc crashed i am using knoppix to access the drive and sharing over samba.
I'm using robocopy to copy the files. But i have a small problem with sleep. Every 30mins or maybe an hour knoppix goes to sleep and my transfer stops. How do i change the time or disable it completely? so i dont have to tap a key every 30mins
View 1 Replies
View Related
May 28, 2011
How can I get the last time any of the files in a directory or its subdirectories has changed?
e.g
Dir - changed 1/1/1
Sub Dir 1 - changed 2/1/1
Sub Dir 2 - changed 3/1/1
File 1 - changed 10/1/1
File 2 - change 5/1/1
The output for this for Dir should be 10/1/1 (File 1 was the last modified one). Getting the last file name to be modified is a bonus but isn't necessary.
View 3 Replies
View Related
Jul 16, 2010
I need to change my hardware time and date as my hardware time don't right but I don't have network. I need the the commands and the steps.
View 5 Replies
View Related
Jun 21, 2010
i am using squid proxy on centos 5.x release with stable version. during installation time i fixed date time region.it was basicaly gmt +3:00 hours. so everything was fixed, now since past few days every 24 hours it change its time automaatically. this looks like it take update somewhere from internet or internally something is mess up.could someone guide me how to fixed permanantly date time. even either restart the machine or passing 24 hours it do never change it. etc
View 2 Replies
View Related
Jul 8, 2009
The problem relates only to the configuration of services in text mode ("setup", part of the setuptool package). The setuptool package is "setuptool-1.19.4-2.fc9.x86_64". There is no "Services configuration" menu when I start "setup". The tools listed in the setup window are:
- Authentication configuration
- Firewall configuration
- Keyboard configuration
[code].....
IMHO, the reason I don't have a services configuration tool is the missing services configuration files "98services" and/or 99"services" (or something like that) from the setuptool's configuration directory. (Please correct me if I am wrong.) Can someone please let me know what information should be in those two files, and what are the correct file names? Without them I cannot change the services on this computer. (FYI, the GUI (system-config-services) works, however, I need to run this computer in text mode.)
View 2 Replies
View Related
Jan 11, 2010
I was doing some testing which is required for some of my products
Here is the strange behaviour i observed
First i did set the timezone to PST 2010 (which is less than GMT basically negative timezone)
zdump -v /etc/localtime |grep 2010
/etc/localtime Sun Mar 14 09:59:59 2010 UTC = Sun Mar 14 01:59:59 2010 PST isdst=0 gmtoff=-28800
/etc/localtime Sun Mar 14 10:00:00 2010 UTC = Sun Mar 14 03:00:00 2010 PDT isdst=1 gmtoff=-25200
[Code]....
Note:in the above case when i did set time to 2:59:55 and said ok by then CEST became CET already. That could be the reason why DST is not happening.
I tried with few other positive and negative timezone configuration all the negative time zones resets back properly where as all the positive timezones doesn't
All my timezone files are up to date,i am using fedora 9
View 2 Replies
View Related