General :: Checking Of Services In Nagios
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
ADVERTISEMENT
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
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
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
View Related
Jan 25, 2011
I am looking for a command line utility like ping that can use for checking appropriate services on a server . I do not want do any port scan . I just want to use it for checking apache , mail,ftp and other services on a server if they are running or down.
View 3 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
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
Nov 22, 2010
I'm trying to setup my test nagios to check the disk space of another linux box. I've got it setup and checking. But to my surprise, it was checking the nagios server's local disk space instead of the remote linux.
Here is my services.cfg.
define service{
use basic-service
name disk-space
check_command check_local_disk!20%!10%! /
[Code].....
View 10 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
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 13, 2010
How can Vsftpd services & Xinetd.d services can be differentiated?
View 5 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
Jul 9, 2011
Error: Cannot open log file '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' for reading!
View 2 Replies
View Related
Dec 7, 2010
So I want to get mount/umount option under right click services menu. I went to Dolphin -> Settings -> Configure Dolphin -> Services -> Download New Services and from there I installed KDE CDEmu Emulator and MountISO. But neither of them is showing up in actual context menu. Neither in Dolphin -> Settings -> Configure Dolphin -> Services for that matter. I tried to install them as normal user and as a root. I went to have a peak in /usr/share/kde4/services/ServiceMenus/ but they aren't there as well... It's just me or lots of things seems to be not quite working in 11.3?
View 9 Replies
View Related
May 10, 2010
Sometimes at startup I get this message "Checking disk 1 of 1". Does that mean it's checking all partitions on the hd? After a bad shutdown there is no prompt for fsck to run and the system just boots up. In fstab I have both options set to "1" for the partition Ubuntu is on, all others set to "0". Any ideas on both?
View 3 Replies
View Related
Oct 21, 2010
I can see this phenomenon on 2 different systems running 11.3 .In simple mode and also in expert mode.
View 9 Replies
View Related
Jun 15, 2011
I installed Nagios following the Quick Install method from the Nagios.org web site but now I would like to add and monitor another host.I don�t find a way , I have for example replaced the ip number of the localhost(127.0.0.1 localhost.cfg) for another ip number and I am able to monitor another computer that way. But then I no longer MONITOR the localhost unless I replace the ip number in the localhost.cfg file. what I would like to do is to monitor both or more computers.
View 4 Replies
View Related
Oct 16, 2010
i have two linux machines i have installed nagios on only one machine and i am getting graph for that one(localhost).but for the second one(host2) i am not getting the graphs so what should i do.. what should i do to get graphs for othe host (remote machine).
View 4 Replies
View Related
Jun 29, 2010
I just installed nagios to a Cent 5.4 box. Everything is working so far except I want to add a plugin I found on nagios exchange. The file has a .pl extension. I am unsure how to add the plugin to the rest of nagios. Do I need to add it to a nagios folder and then define it. If I just try to run the pl file I get a error mesg. I am unsure if the error is caused by system misconfig or because the plugin is not installed. The plugin is check_dayime.pl and the error I get is Can't locate Date/Parse.pm Perl seems to be working as I can run simple perl scripts and perl -v spits out v 5.8.8
View 3 Replies
View Related
Aug 4, 2010
I have installed Nagios Core 3.0 (latest version) and currently monitoring more than 80 hosts (servers, desktops, routers and switches).
Everything is fine but status map options are very few and you cannot customize them. all the views are very wierd.
I am trying to use NEXSM but it seems some complex. good solution to imrove the nagios status map.
View 2 Replies
View Related
Feb 20, 2010
I am trying to add dag repository in Centos 5.3 for nagios according to this documents..
[URL]
but it is of no use... i dont know what is wrong...
how to install nagios in censtos 5.3? I am trying to install nagios with yum.
View 3 Replies
View Related
Jan 6, 2011
setting up Nagios which I have done quite easily, I have only one concern I am not able to setup email Notification from Postfix. I am able to send and receive mails from Postfix internally, I just need to know how to setup Postfix i.e point the server to get NAgios Notification.
View 8 Replies
View Related
Dec 8, 2010
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.
View 1 Replies
View Related
Mar 23, 2011
I have configured nagios on my local VM machine and i got no error
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
But when i am unable to start nagios # service nagios start nagios: unrecognized service
View 14 Replies
View Related
Dec 16, 2010
i am installing nagios-3.2 in rhel 5 . it show the errors in make all command..
Quote:
[root@ns1 nagios-3.2.3]# make all
cd ./base && make
make[1]: Entering directory `/root/Desktop/nagios-3.2.3/base'
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o
[Code]...
View 1 Replies
View Related
Apr 12, 2011
anyone tell me how to monitor printers in Nagios
View 3 Replies
View Related
Nov 30, 2010
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?
View 2 Replies
View Related
Aug 5, 2010
so as the title says.
i saw this in nagios.cfg:
Code:
# TIMEZONE OFFSET
# This option is used to override the default timezone that this
# instance of Nagios runs in. If not specified, Nagios will use
# the system configured timezone.
[Code]....
View 7 Replies
View Related
Feb 26, 2010
I chose Mint 8 Fluxbox and have the iso. I cannot figure out how to check the iso for errors and the MD5 signature.I'm using Windohs XP so I tried to install MD5sum.exe. When I double click on it to run it all it does is flash and then nothing.When I type in the commands it says it can't find it or it can't read it or something.I may be typing the commands incorrectly. I'm just not understanding.I need to check the iso for errors but can't understand how to check it.
View 5 Replies
View Related
Apr 8, 2011
I'm trying to determine if IE is viewing my web page with the following HTML code:
Code:
But I don't see anything except "Test for IE". It is like the tests are being treated as comments? Do I need to turn something on in the server?
View 3 Replies
View Related