Re: [Nagios-users-br] hosts.cfg + alias

2008-08-12 Thread Marcel
Se vc já tentou utilizar HTML tags como valor dos campos alias, então tente verificar se no teu arquivo nagios.cfg está permitindo ou negando o uso dos caracteres e , para depois tentar novamente o uso das tags html na descrição dos teus hosts. 2008/8/8 Harlei Marcelino [EMAIL PROTECTED]

Re: [Nagios-users] Nagios freshness checks randomly think check results are from 1973.

2008-08-12 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/08/08 11:23 PM, Thomas Guyot-Sionnest wrote: On 11/08/08 04:57 PM, fevin Kagen wrote: So...is a date sent in the SNMP trap or is the date set to the time that Nagios receives the alert? It's in the command sent to the Nagios command

Re: [Nagios-users] Internal Server Error

2008-08-12 Thread Kulcsar, Stefan
Hi Mark, Nagios version: 3.0.3 Distribution: CentOS 5.2 I don't installed anything on this server the problem appears from one to the other day and i dont know from where it comes. It must be something in the object definition files but i dont know what. If i stop nagios it runs perfectly for a

Re: [Nagios-users] Internal Server Error

2008-08-12 Thread Assaf Flatto
What version of glibc and kernel are you running ? Is it a i585 or x86_64? in anytime after installation did you run the yum-update ? Assaf On Tuesday 12 August 2008 06:40:56 Kulcsar, Stefan wrote: Hi Mark, Nagios version: 3.0.3 Distribution: CentOS 5.2 I don't installed anything on this

Re: [Nagios-users] Internal Server Error

2008-08-12 Thread Kulcsar, Stefan
Hi Assaf, glibc is at version glibc-2.5-24 it is a i585. I don't think that the problem has to do something wich glibc or the distribution files. If i stop nagios, delete the retention.dat file and start nagios than it works for aprox 5-7 mins. Thanks for al answers -- Stefan

[Nagios-users] problem viewing host groups in cgi

2008-08-12 Thread Shai
Hi, I'm using Nagios v.3.0.3 I have a few Host Groups with a few servers in each. I have a few Contact Groups and a few contacts in each. I have a request from one of the Contact Groups to be able to see a Host defined in a different Host Group. I added to the contact_groups variable (with a

Re: [Nagios-users] problem viewing host groups in cgi

2008-08-12 Thread Assaf Flatto
Shai From what i gathered from your explanation , what you did is enable notifications from one host group to go to another contact group . As for CGI view - are your users actually accessing the web interface ? these setting are in the cgi.cfg , but IIRC there is not correlation between

Re: [Nagios-users] check [snmp] printer ricoh aficio 3245c

2008-08-12 Thread Marcelo M. Garcia
Jon Angliss wrote: On Fri, 08 Aug 2008 16:39:26 +0100, Marcelo M. Garcia [EMAIL PROTECTED] wrote: Hi. I'm trying to monitor a Ricoh Aficio 3245C, but neither check_printers nor check_snmp_printers seems to be working very well. With check_snmp_printer, or I got blank or error, like

Re: [Nagios-users] Internal Server Error

2008-08-12 Thread Mark Young
Hi Stefan, On Aug 12, 2008, at 4:18 AM, Kulcsar, Stefan wrote: Hi Assaf, glibc is at version glibc-2.5-24 it is a i585. Nagios version: 3.0.3 Distribution: CentOS 5.2 I don't installed anything on this server the problem appears from one to the other day and i dont know from where

[Nagios-users] Condition Based Active Check

2008-08-12 Thread Nair
Hi Friends Can we add a codition for active check. Say for eg: i need to check availability of a service before performing active check. Any idea. Thank you, Nair. - This SF.Net email is sponsored by the Moblin Your

Re: [Nagios-users] Condition Based Active Check

2008-08-12 Thread Jesse Callaway
Hi Nair, I think you'd have to give an example of where you would use this, and a specific case. Normally checking the availability of a service is done with exactly an active check. Active checks check for the availability of a service. The language here can get quite circular without a

Re: [Nagios-users] Condition Based Active Check

2008-08-12 Thread kyle . odonnell
would creating a service dependency solve your problem? On 8/12/08, Jesse Callaway [EMAIL PROTECTED] wrote: Hi Nair, I think you'd have to give an example of where you would use this, and a specific case. Normally checking the availability of a service is done with exactly an active check.

[Nagios-users] NRPE: Unable to read output

2008-08-12 Thread Jake Solid
I'm trying to use check_nrpe with check_smartmon but I'm getting NRPE: Unable to read output at the Nagios Server. *All other check plugins like check_load and check_procs work fine. * *I'm running the following command from my nagios server to the remote host: * *./check_nrpe -H

[Nagios-users] Problem with custom report period

2008-08-12 Thread Sudheer Muddappa
Hi All, When I use Availability report with custom period , i do not get any results for up/down times. If I add present day in the custom report period then it displays all the information. Is it a bug or do I need to set any values to display the Custom reports properly? I am running

Re: [Nagios-users] NRPE: Unable to read output

2008-08-12 Thread kyle . odonnell
executing check_nrpe via sudo will not accomplish what you want. You will need to either modify the nrpe.cfg to execute commands via sudo, or write a wrapper for check_smartmon. I am not familiar with that plugin, but you may also be able to edit it and prepend /path/to/sudo before it execs

Re: [Nagios-users] Nagios freshness checks randomly think check results are from 1973.

2008-08-12 Thread fevin Kagen
Thanks! That seems like it just may be the ticket. I have enabled the debug output and changed the time calculation to mytime = str(int(time.time())) So far so good, but the real test will be over the next few nights. I'll keep you guys posted. Thanks again for all the help! On Tue, Aug 12,

Re: [Nagios-users] Environment variables

2008-08-12 Thread kyle . odonnell
I usually have env variable files which I source depending on the instance/db. When I write my plugins I either specify the env variable file as a command line argument, or hardcode the sourcing in my script. On 8/12/08, Ciro Iriarte [EMAIL PROTECTED] wrote: 2008/8/11 Hugo van der Kooij [EMAIL

Re: [Nagios-users] problem viewing host groups in cgi

2008-08-12 Thread Shai
Hi Assaf, Some people actually access the web interface, yes. And they don't see a certain host from a host group they wish to both see in the web interface and get notifications for. What I tried to do, is add that Contact Group to that specific host, which in itself is a part of a Host Group,

Re: [Nagios-users] NRPE: Unable to read output

2008-08-12 Thread kyle . odonnell
I dont know if that will work, there is a specific option inside nrpe.cfg for executing commands via sudo: # COMMAND PREFIX # This option allows you to prefix all commands with a user-defined string. # A space is automatically added between the specified prefix string and the # command line from

Re: [Nagios-users] problem viewing host groups in cgi

2008-08-12 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Shai Sent: Tuesday, August 12, 2008 7:35 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] problem viewing host groups in cgi Hi, I'm using Nagios v.3.0.3 Seems

Re: [Nagios-users] NRPE: Unable to read output

2008-08-12 Thread Jake Solid
The following line will make all commands use sudo: command_prefix=/usr/bin/sudo I remove the comment for command_prefix=/usr/bin/sudo and add the following to the sudoers file: nagiosALL=(ALL) NOPASSWD: /usr/sbin/smartctl,/usr/lib64/nagios/plugins/ Now, I get the NRPE: Unable to read

[Nagios-users] Check Processes in Linux

2008-08-12 Thread Edwin Zoeller
I have downloaded to check_procs scripts for the exchange and I am having a hell of a time to get it to work. I get bad interpreter and have done all I could to fix it. Can someone let me know what I am doing wrong or how they are monitoring processes. Thanks, Ed

Re: [Nagios-users] problem viewing host groups in cgi

2008-08-12 Thread Shai
Hi Marc, I wonder why that is... If I authorize a contact to view a host in the host group, why would I want to deny him from viewing it in the title of the host group? seeing the host groups won't harm and he won't have access to viewing the other hosts in the that host group. Shai On Tue, Aug

Re: [Nagios-users] Check Processes in Linux

2008-08-12 Thread Fernando Rocha
Hi Edwin! Could you please give more details about the OS? Fernando Rocha OpServices Tecnologia da Informação - Original Message - From: Edwin Zoeller [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Tuesday, August 12, 2008 4:21:13 PM (GMT-0300) Auto-Detected

[Nagios-users] Attempting to monitor the Nagios Server itself

2008-08-12 Thread Bret Goodfellow
Hello there, I have Nagios running on a RHEL 4 (update 6) server. It is monitoring 30 linux servers and 10 unix servers. I am now attempting to get Nagios to monitor the host server (the server that the nagios daemon is running on). When I add services for the nagios server (Colorado), the

Re: [Nagios-users] Attempting to monitor the Nagios Server itself

2008-08-12 Thread kyle . odonnell
check the nagios exchange. there are plenty of nagios server related checks that might indicate impending failure. that being said, if nagios dies how can it monitor itself? I have scheduled a job in cron that monitors, restarts, and emails me when it dies. On 8/12/08, Bret Goodfellow [EMAIL

Re: [Nagios-users] problem viewing host groups in cgi

2008-08-12 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Shai Sent: Tuesday, August 12, 2008 2:37 PM To: Marc Powell Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] problem viewing host groups in cgi Hi Marc, I wonder

Re: [Nagios-users] Attempting to monitor the Nagios Server itself

2008-08-12 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Bret Goodfellow Sent: Tuesday, August 12, 2008 3:16 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Attempting to monitor the Nagios Server itself Hello there,

Re: [Nagios-users] Attempting to monitor the Nagios Server itself

2008-08-12 Thread Jon Angliss
On Tue, 12 Aug 2008 15:53:11 -0500, Marc Powell [EMAIL PROTECTED] wrote: Hello there, Aug 12 13:18:09 colorado nagios: Nagios 2.10 starting... (PID=23650) Aug 12 13:25:58 colorado nagios: LOG VERSION: 2.0 Aug 12 13:25:58 colorado nagios: Finished daemonizing... (new PID=23651) Aug 12

Re: [Nagios-users] Attempting to monitor the Nagios Server itself

2008-08-12 Thread Marc Powell
Please always respond on list so that others, now and in the future, obtain the benefit of your experience. More below... On Aug 12, 2008, at 4:36 PM, Bret Goodfellow wrote: Hi Marc, Thanks for the quick response! I added the following host definition:

Re: [Nagios-users] Attempting to monitor the Nagios Server itself

2008-08-12 Thread Bret Goodfellow
Thanks Marc, I basically copied the services config from another (remote_services) config file. I then changed the host to Colorado. I should have looked closer at the plugins being executed. Anyway, I removed all but one service check, and the host is now being monitored. Process of

Re: [Nagios-users] problem viewing host groups in cgi

2008-08-12 Thread Shai
Hi, Do I have a way around this other then creating a misc host group that'll include all those hosts that some contact groups wish to see? it'll be like a small salad on my web interface but that's the only way I can think of... Shai On Tue, Aug 12, 2008 at 11:45 PM, Marc Powell [EMAIL