[Nagios-users] Passive service result check, using host address instead of host name

2007-03-27 Thread Manish Sapariya
Hi All, Is there any way to specify the host address instead of host name when reporting passive service check result. In my deployment I want to identify the hosts by their mac address as far as nagios is concerned, however user should still be able to view hostname in the nagios GUI. Is there

[Nagios-users] Restart service problem with sudo

2007-03-27 Thread Sil
Hi, I want to test the event-handler for restarting services on my Debian Sarge with Nagios 1.3. I've change the sudoers permissions to accord nagios user to run /etc/init.d/mysql restart : Host_Alias SERVEUR = 192.168.X.X User_Alias NAGIOS = nagios Cmnd_Alias SERVICES= /etc/ini

Re: [Nagios-users] What do you not like about Nagios' notification/escalation system?

2007-03-27 Thread Rainer Duffner
Jim Avery wrote: > On 26/03/07, Taylor Dondich <[EMAIL PROTECTED]> wrote: > >> I'm working on a project, and it requires feedback from you, the >> Nagios community. >> >> What do you not like about the way Nagios handles escalations and >> notifications? What features would you add? What featu

[Nagios-users] Configuration tool for large environment

2007-03-27 Thread chiel
Hello, I'm using Nagios to monitor a large amount of hosts en services. I want to use a easy to use administration tool to do the configurations. I currently using Monarch, it does the job verry good. But I have searched the nagios exchange website and there are some other programs that also wil

Re: [Nagios-users] Restart service problem with sudo

2007-03-27 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Sil > Sent: Tuesday, March 27, 2007 4:05 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Restart service problem with sudo > > Hi, > I want to test the event-handl

Re: [Nagios-users] Configuration tool for large environment

2007-03-27 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of chiel > Sent: Tuesday, March 27, 2007 6:22 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Configuration tool for large environment > > This setup work perfectly,

[Nagios-users] Check cluster

2007-03-27 Thread Peter van den Berg
Hi After some time with Google, I've found several posts with sort of the same question, but no useable answers :-( I've got problems getting the check_cluster2 plugin to work. I've got nagios v2.6 with plugins v1.4.6 The check definition is: define command{ command_namecheck_servic

Re: [Nagios-users] Images not showing in GUI

2007-03-27 Thread Dinçer Kavraal
Yes it will be much easier :) Recompiling was a reply when I was asleep :) Dinçer 2007/3/26, Payam Jahromi <[EMAIL PROTECTED]>: I got it to work, thank you so much. Recompiling actually didn't change anything. I just had to modify the cgi.cfg file and remove the extra entries. Now it's showin

[Nagios-users] RHEL4 selinux and nagios

2007-03-27 Thread s cinux
Anybody go through the rigamarole of setting up nagios on a RHEL4 box running targeted selinux? I don't want to disable selinux just to get nagios up and running. If you have notes, suggestions, links, etc...please post them or email me. Thanks! -

Re: [Nagios-users] is there a way to set host min_check_attempt?

2007-03-27 Thread Dinçer Kavraal
Thanks Thomas, actually I was very much trying to do at least 5-checks before changing DOWN status of an host. But this was a problem of "blocking" strategy of Nagios v1 and v2. Thus, I am waiting for v3. In fact it is in alpha stage at the moment. I can't trust it -as you can guess why- before ev

Re: [Nagios-users] Check cluster

2007-03-27 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Peter van den Berg > Sent: Tuesday, March 27, 2007 10:43 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Check cluster > > Hi > > After some time with Google, I've

Re: [Nagios-users] RHEL4 selinux and nagios

2007-03-27 Thread Onotsky, Steve x55328
Our current Nagios install (2.0b2) is running on an RHEL3 box. I'm setting up a new instance (2.8) on RHEL4; I set SELinux to "Warn" at install time, so that we don't get confused trying to figure out why things aren't working (we haven't had much need for SE before, but are starting to look at it

Re: [Nagios-users] Configuration tool for large environment

2007-03-27 Thread Thomas Stocking
That can work, sure. If you are using Monarch, you can use the MonarchCallout.pm to initiate an rsync and/or scp over to the backup server and restart Nagios there. You might also check out the Goups function in Monarch - helps with distributing the config to multiple Nagios servers. Thomas

[Nagios-users] Disable Notifications for hosts in a group.

2007-03-27 Thread Lopez, Denise
Hello all, I was just wondering if it was possible to disable notifications for all hosts in a particular group via the web interface without having to disable each host individually. We just recently had a scheduled power outage for one of our Building and would have liked to quickly disable not

Re: [Nagios-users] Passive service result check, using host address instead of host name

2007-03-27 Thread Thomas Stocking
Manish, If you are using a script to submit check results to the command file on the Nagios host, you could use the status.log file to look up the hostname before you submit the result. Another way would be to use a tool like Monarch or NagioSQL to store the hostnames and IPs in a MySQL DB. Then

Re: [Nagios-users] Disable Notifications for hosts in a group.

2007-03-27 Thread Jason Salaz
Lopez, Denise wrote: > > I was just wondering if it was possible to disable notifications for all > hosts in a particular group via the web interface without having to > disable each host individually. We just recently had a scheduled power > outage for one of our Building and would have like

Re: [Nagios-users] Disable Notifications for hosts in a group.

2007-03-27 Thread Patrick Morris
Hi Lopez,! On Tue, 27 Mar 2007, Lopez, Denise wrote: > Hello all, > > I was just wondering if it was possible to disable notifications for all > hosts in a particular group via the web interface without having to > disable each host individually. We just recently had a scheduled power > outage

Re: [Nagios-users] Restart service problem with sudo

2007-03-27 Thread Andy Shellam
Hi Sil I had a similar problem with NRPE - an NRPE check worked fine when doing it from the command-line, but it refused to work from the NRPE itself. I eventually found out that my /etc/sudoers was denying anything without a terminal from using sudo. It might be the same problem, might not, bu

[Nagios-users] monitor temperature on IBM servers

2007-03-27 Thread enediel gonzalez
Hello. I have nagios running on Linux, I need to monitor the temperature values on IBM servers, I tried to do it installing Director on the servers and take the information via snmp, but I found director a bit complex and I haven't got the result I wanted. Thanks in advance for any advice abo

Re: [Nagios-users] RHEL4 selinux and nagios

2007-03-27 Thread Sam Hooker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 SELinux is a beast, but I think it's a worthwhile thing to understand, so I applaud your desire to make it work for you. Once you start wrapping your brain around it, it gets easier, although I'm sure we've only scratched the surface at my shop. My bi

[Nagios-users] Child host notify status problem

2007-03-27 Thread James Tran
Hi i have some parent/child settings on my hosts All of my servers are set to be child hosts to 1 ROUTER. I had tried to test my notifications by unplugging the ethernet interface on the server running nagios to see if i get a million host notifications and of course i still do. I wanted it to

Re: [Nagios-users] Child host notify status problem

2007-03-27 Thread Thomas Stocking
James, Nagios should be setting the dependent hosts to an unreachable status when the parent host is down. This is the logic that allows you to suppress notification for hosts being down "downstream" of a router that fails. The most common problem I have seen with this is that the host notify o

Re: [Nagios-users] RHEL4 selinux and nagios

2007-03-27 Thread Rachel Beittenmiller
I took a slightly different approach to get SELinux in RHEL4 to work with Nagios. We're predominately a Windows shop and the majority of our system admins has no *nix experience at all, so I was looking for a way to get them to play nice together without modifying the policy source. What I ended

[Nagios-users] service timeout

2007-03-27 Thread Lars Stavholm
I get "(Service Check Timed Out)" for one of my service checks (check_rootkit [rkhunter]), which could take a few minutes at times, so I've scheduled it to run every 20 minutes. Now, when getting the timeout, I went looking in the doco for some time out option and I couldn't find one. Well, I found

Re: [Nagios-users] service timeout

2007-03-27 Thread Patrick Morris
On Tue, 27 Mar 2007, Lars Stavholm wrote: > I get "(Service Check Timed Out)" for one of my service checks > (check_rootkit [rkhunter]), which could take a few minutes at > times, so I've scheduled it to run every 20 minutes. Now, when > getting the timeout, I went looking in the doco for some tim

Re: [Nagios-users] service timeout

2007-03-27 Thread Lars Stavholm
Patrick Morris wrote: > On Tue, 27 Mar 2007, Lars Stavholm wrote: > >> I get "(Service Check Timed Out)" for one of my service checks >> (check_rootkit [rkhunter]), which could take a few minutes at >> times, so I've scheduled it to run every 20 minutes. Now, when >> getting the timeout, I went lo

Re: [Nagios-users] service timeout

2007-03-27 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Lars Stavholm > Sent: Tuesday, March 27, 2007 4:44 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] service timeout > > Q: Is there any way one could define time o

[Nagios-users] Nagvis authentication problems

2007-03-27 Thread Holmes Robert
Greetings, I'm having a bit of trouble getting the .htaccess file (s) and Apache configuration set for using NagVis. I'm running CentOS 4.4 with Apache 2 and PHP 5. My Nagios version is 2.8 and I'm trying to use Nagvis 0.9. Could anyone using NagVis please shed some light on this for me. A

Re: [Nagios-users] Restart service problem with sudo

2007-03-27 Thread Andy Shellam
In your Nagios event handler definition, add the following after it: > /tmp/debug.log 2>&1 (e.g. /etc/init.d/mysql restart > /tmp/debug.log 2>&1) Then examine the file after nagios has run the event handler. What that should do is output any info and errors returned from the command to debug.l

Re: [Nagios-users] Child host notify status problem

2007-03-27 Thread James Tran
Thomas Stocking wrote: > James, > Nagios should be setting the dependent hosts to an unreachable status > when the parent host is down. This is the logic that allows you to > suppress notification for hosts being down "downstream" of a router > that fails. > The most common problem I have seen w

Re: [Nagios-users] Child host notify status problem

2007-03-27 Thread Thomas Stocking
Just for completeness sake, try this: stop nagios ps -ef |grep nagios If there are any nagios procs around after a minute or so, kill them. The ps should come back clean. Start nagios. See if it recurrs. I'm guessing that an old nagios process is hanging around and giving you these notifications.

Re: [Nagios-users] monitor temperature on IBM servers

2007-03-27 Thread Dinçer Kavraal
Hi Enediel, 1) Have you installed net_snmp? 2) Do you have the MIB for temprature value of IBM server? Dinçer 2007/3/27, enediel gonzalez <[EMAIL PROTECTED]>: Hello. I have nagios running on Linux, I need to monitor the temperature values on IBM servers, I tried to do it installing Director

Re: [Nagios-users] Child host notify status problem

2007-03-27 Thread James Tran
Thomas Stocking wrote: > Just for completeness sake, try this: > stop nagios > ps -ef |grep nagios > If there are any nagios procs around after a minute or so, kill them. > The ps should come back clean. > Start nagios. See if it recurrs. > I'm guessing that an old nagios process is hanging around

[Nagios-users] Is it possible to nest check_by_ssh commands?

2007-03-27 Thread nemir nemiria
I have a nagios server monitoring a unix server and use check_by_ssh to get results. It works great. I have recently added a second NIC to this server to allow it to see a few boxes in a small isolated network. The nagios server can't see these boxes directly and I was thinking that I might b

[Nagios-users] Is it possible to nest check_by_ssh commands?

2007-03-27 Thread nemir nemiria
I have a nagios server monitoring a unix server and use check_by_ssh to get results. It works great. I have recently added a second NIC to this server to allow it to see a few boxes in a small isolated network. The nagios server can't see these boxes directly and I was thinking that I might b

[Nagios-users] ndoutils compile error

2007-03-27 Thread Sjaak Nabuurs
Hello I can't get ndoutils compiled. After many weeks starting again and again I can't get ndoutils compiled on 1 server. I.ve run ndoutils on 2 more servers without any problems. Can anybody point me to the problem. System FC5 MySQL5 version 5.0.27 running as webserver updated from version 4.1.

Re: [Nagios-users] Restart service problem with sudo

2007-03-27 Thread Sil
Le mardi 27 mars 2007 21:00, Andy Shellam a écrit : > check your /etc/sudoers > file does not have a "defaults requiretty" option set - if it does, > comment it out and try your event handler again. Thanks, I check my sudoers file and there's no "defaults requiretty" line but I've try it and the

Re: [Nagios-users] service timeout

2007-03-27 Thread Lars Stavholm
Marc Powell wrote: > >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Lars Stavholm >> Sent: Tuesday, March 27, 2007 4:44 PM >> To: nagios-users@lists.sourceforge.net >> Subject: [Nagios-users] service timeout >> > > >> Q: Is there

Re: [Nagios-users] Nagvis authentication problems

2007-03-27 Thread Jorg . Schulz
Hi Check out this Link HYPERLINK "http://nagvis.org/doku.php?id=installationinstructions_1_0"http://nagvis. org/doku.php?id=installationinstructions_1_0 Latest version HYPERLINK "http://nagvis.org/doku.php?id=installationinstructions_0_9"http://nagvis. org/doku.php?id=installationinstru