[Nagios-users] Tom Van Overbeke is out of the office.

2006-04-10 Thread tomvo
I will be out of the office starting  06/04/2006 and will not return until
18/04/2006.

I will respond to your message when I return. For urgent support issues,
you can either send a mail to [EMAIL PROTECTED], or contact the central
dispatch at (++32)/2 333 4000

Thank you.





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Tom Van Overbeke is out of the office.

2006-04-10 Thread tomvo
I will be out of the office starting  06/04/2006 and will not return until
18/04/2006.

I will respond to your message when I return. For urgent support issues,
you can either send a mail to [EMAIL PROTECTED], or contact the central
dispatch at (++32)/2 333 4000

Thank you.





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Summary: Nagios / NagiosGrapher / performance monitoring

2006-04-10 Thread Hugo van der Kooij
Hi,

After doing some tests and keeping it running for several days I can now
make a summary of what I did to make NagiosGrapher work for me at this
point.

 1. Running a perl script to gather data is too slow if multiple events
occur. As the C program did not work for me I have opted to use printf and
send it to the named pipe like this:

# 'process-service-perfdata' command definition
define command {
command_nameprocess-service-perfdata
command_line/usr/bin/printf "%b" 
"$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> 
/var/spool/nagios/ngraph.pipe
}

 2. Sending 4 results at once to the named pipe is logged correctly by the
collect tool but did not do an update to all of the RRD files. At present
the work around is to run just 1 service check at the time and feed it to
the collector. For this I modified some other entries in Nagios:

max_concurrent_checks=1
service_reaper_frequency=1

This does have an impact on the total number of services you can check. I
will try to play with it a bit more to see if changing it will have a
reverse effect.

But for now all performance grahps show all the data and show them
consistently.


And of course I did the normal changes to Nagios like:

process_performance_data=1
service_perfdata_command=process-service-perfdata


If anyone feels like taking these notes and adding them to documentation:
Please do.

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link

2006-04-10 Thread satish kumar
Hi All,I am still finding the problem and is it related to any rpms missing (gd, libpng,libjpeg etc..).Please help me in this issue.Thanks, Satishsatish kumar <[EMAIL PROTECTED]> wrote: Hi,I have enabled the notification & Service checks and the nagios has sent a lot of notifications for various services.And the permission wise others has rx permissions where apache belongs to.I am pasting the output of the command below.=[EMAIL PROTECTED] bin]# ./nagios -v ../etc/nagios.cfgNagios 2.1Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)Last Modified: 03-27-2006License: GPLReading configuration data...Running pre-flight check on configuration data...Checking services...    Checked
 222 services.Checking hosts...    Checked 67 hosts.Checking host groups...    Checked 19 host groups.Checking service groups...    Checked 0 service groups.Checking  contacts...    Checked 8 contacts.Checking contact groups...    Checked 5 contact groups.Checking service escalations...    Checked 0 service escalations.Checking service dependencies...    Checked 0 service dependencies.Checking host escalations...    Checked 0 host escalations.Checking host dependencies...    Checked 0 host dependencies.Checking
 commands...    Checked 105 commands.Checking time periods...    Checked 3 time periods.Checking extended host info definitions...    Checked 0 extended host info definitions.Checking extended service info  definitions...    Checked 0 extended service info definitions.Checking for circular paths between hosts...Checking for circular host and service dependencies...Checking global event handlers...Checking obsessive compulsive processor commands...Checking misc settings...Total Warnings: 0Total Errors:   0Things look okay - No serious problems were detected during the pre-flight check==Thanks, SatishMarc Powell <[EMAIL PROTECTED]> wrote: According to your own screenshots Notifications are disabled and Servicechecks are disabled. While I haven't personally experienced the symptomsyou're seeing, the three screenshots seem to imply a problem reading theconfig files. Does your web server have permission to read  the .cfgfiles? Can you use the View Config link to see your configuration? Also, from the command line as the nagios user run'/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' and postit's output. Perhaps if you posted the screenshots where other can seethem someone else who has seen the problem before can help you.--Marc> -Original Message-> From: satish kumar [mailto:[EMAIL PROTECTED]> Sent: Friday, April 07, 2006 1:25 PM> To: Marc Powell> Subject: RE: [Nagios-users] Not able ot view hosts/services in the> Trends.cgi
 link> > I am forwarding the screenshots, Please let me know for further> troubleshooting.> I am running nagios 2.0, with notification & services enabled.Thereare no> errors found in the apache logs.Regarding Auth problem, i have enabledall> the parameters with the user nagios as owner.>  > Thanks, satish> > Marc Powell <[EMAIL PROTECTED]> wrote:> > > >  > -Original Message->  > From: [EMAIL PROTECTED] [mailto:nagios-> users->  > [EMAIL PROTECTED] On Behalf Of Hugo van der Kooij>  > Sent: Thursday, April 06, 2006 12:31 AM>  > To: nagios>  > Subject: Re: [Nagios-users] Not able ot view hosts/services inthe>  > Trends.cgi link>  >>  > On Wed, 5 Apr 2006, satish kumar wrote:>  >>  > > I am not able to see the
 hosts/services when we click thelinks> on>  > trends.cgi, statusmap.cgi & alert histogram.cgi.I get thecommon>  message>  > on the lefthand side of the webpage as>  > >>  > > Host and Service State Trends>  > > Last Updated: Thu Apr 6 01:13:00 WET 2006>  > >  Nagios(r) - www.nagios.org>  > > Logged in as nagios>  > >>  > > - Notifications are disabled>  > > - Service checks are disabled>  >>  > If you read this message you should pay attention to it andenable>  > notifications anc service checks as suggested.> >  And it would do nothing to resolve his problem. Those are just>  informational messages about the overall nagios configurationand> have>  nothing to do with the functionality of the cgi's in question.> >  To the OP: You have not
 provided enough information to determine> what>  might be going on. What nagios version are you running? Is thereany>  other information in the right frame when you click on thoselinks?> Can>  you post a screenshot somewhere (don't send it to the list)? Doyou> see>  any errors in your web server  logs? There are a number of FAQ's> related>  to these CGIs, please review them to make sure you've coveredthose>  problems.> ---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!http://sel.as-us.falkag.net/sel?cmd=lnk&k

Re: [Nagios-users] Windows Event Logs

2006-04-10 Thread Subhendu Ghosh

On Tue, 11 Apr 2006, Ron Wilson wrote:



What is the best way to interrogate Windows Event Logs looking for
errors using Nagios. I have looked at the eventlog.exe program but not
sure how Nagios can use a windows executable like this



NRPE_NT can run any windows based script/programs.  Look on Nagios 
exchange for a set of WMI scripts that do this.


--
-sg


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Windows Event Logs

2006-04-10 Thread Ron Wilson
Title: Windows Event Logs






What is the best way to interrogate Windows Event Logs looking for errors using Nagios. I have looked at the eventlog.exe program but not sure how Nagios can use a windows executable like this




=
CAUTION: This e-mail and any attachment(s) contains information that 
is intended to be read only by the named recipient(s). It may contain 
information that is confidential, proprietary or the subject of legal 
privilege. This information is not to be used by any other person 
and/or organisation. If you are not the intended recipient, please 
advise us immediately and delete this e-mail from your system. Do not 
use any information contained in it.
 

For more information on the Television New Zealand Group, visit us 
online at http://www.tvnz.co.nz 



Re: [Nagios-users] Re: [RETENTION FILE ISSUE] Retention file notbeingupdated?

2006-04-10 Thread Marcel Mitsuto Fucatu Sugano
On Mon, 2006-04-10 at 15:07 +0200, Ingo Lantschner wrote:
> Hi,
> I am using Nagios 2.0, now updated to 2.2 because I had problems as
> you 
> described. The retentionfile gets newver written - even not if I
> restart 
> the process. Unfoirtunatly the update did not solve the problem here.
> 
>  From my nagios.cfg:
> 
> retain_state_information=1
> state_retention_file=/usr/local/nagios/var/retention.dat
> retention_update_interval=1
> use_retained_program_state=1
> 
> 
> 
> $ ll var/ -d
> drwxrwxr-x  4 nagios nagios 8192 2006-04-10 15:04 var/
> 
> 
> 
> $ ls var/*.dat -l
> -rw-rw-r--  1 nagios nagios 238 2006-03-20 15:07 var/comments.dat
> -rw-rw-r--  1 nagios nagios 239 2006-03-20 15:07 var/downtime.dat
> -rw-rw-r--  1 nagios nagios 1712806 2006-04-10 15:05 var/status.dat
> 
> Any idea? 

Received last week an email on nagios-devel list, where Bruce sends a
patch that Ethan replied it would be in cvs shortly. I still did not
have the time to look at the 2.2 code, but it might be there. Well, the
patch relates to the nagios process not being able to write some
temporary file before flush the content to the retention file. 

You can reach the post here:
http://article.gmane.org/gmane.network.nagios.devel/2662/

Will look at the code of 2.2 to see if it's already patched with Bruce's
patch.

Marcel.


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, 
é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima 
referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. 
Caso você não seja o destinatário desta mensagem, informamos que qualquer 
divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos 
é absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir 
destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail´s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] strange behavior with multiple failing hosts and nagios 1.3 / 2.1

2006-04-10 Thread Christian Lyra
Hi,

I just tried nagios 2.2 and the problem seems to be gonne. Ludwig said 
about nagios not performing parallel tests while checking a host. This 
was fixed on the new version?

>  Can you show us the hosts and service entries?
>
sure. I have four hosts like the one below:

define host{
namegeneric-host 
notifications_enabled   1   
event_handler_enabled   1   
flap_detection_enabled  1   
failure_prediction_enabled  1   
process_perf_data   1   
retain_status_information   1   
retain_nonstatus_information1   
register0 
}

define host{
use generic-host   
host_name   galaxie
alias   galalxie
address 200.X.X.X
check_command   check-host-alive
max_check_attempts  1
notification_interval   120
notification_period 24x7
notification_optionsd,r
contact_groups  admins
}

define service{
namegeneric-service 
active_checks_enabled   1   
passive_checks_enabled  1   
parallelize_check   1   
obsess_over_service 1   
check_freshness 0   
notifications_enabled   1   
event_handler_enabled   1   
flap_detection_enabled  1   
failure_prediction_enabled  1   
process_perf_data   1   
retain_status_information   1   
retain_nonstatus_information1   
register0   
}

define service{
use generic-service ; Name 
of service template to use
host_name   galaxie
service_description PING
is_volatile 0
check_period24x7
max_check_attempts  1
normal_check_interval   1
retry_check_interval1
contact_groups  admins
notification_optionsw,u,c,r
notification_interval   960
notification_period 24x7
check_command   check_ping!100.0,20%!500.0,60%
}



>  Hugo.
>
>  PS: Could you please use some sane linelength? Quoting is a major
> pain this way.


linelength=72 on my kmail settings. Is this sane enough?

-- 
Christian Lyra
POP-PR - RNP

http://lyra.soueu.com.br

  Thus spake the master programmer: 
  ``A well-written program is its own heaven; a poorly-written program 
is its own hell.'' 
The Tao Of Programing


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] strange behavior with multiple failing hosts and nagios 1.3 / 2.1

2006-04-10 Thread Hugo van der Kooij
On Mon, 10 Apr 2006, Ludwig Pummer wrote:

>   I was evaluating nagios and found a strange behavior on my test setup. 
> After a fresh install, I did a minimal setup, just one contactgroup with one 
> contact. A hostgroup with 4 hosts (no parent relationship). Since I?m only 
> interested to know if a host is up or down  I just configured a check_ping 
> service for each host. As I said, a pretty simple setup. The services is 
> schedulled to run every minute with a one try only.

Can you show us the hosts and service entries?

Hugo.

PS: Could you please use some sane linelength? Quoting is a major pain
this way.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] strange behavior with multiple failing hosts and nagios 1.3 / 2.1

2006-04-10 Thread Ludwig Pummer





  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Christian LyraSent: Friday, April 07, 2006 5:11 
  PMTo: nagios-users@lists.sourceforge.netSubject: 
  [Nagios-users] strange behavior with multiple failing hosts and nagios 1.3 / 
  2.1
  Hi there,I was evaluating nagios and found a strange 
  behavior on my test setup. After a fresh install, I did a minimal setup, just 
  one contactgroup with one contact. A hostgroup with 4 hosts (no parent 
  relationship). Since I´m only interested to know if a host is up or down  
  I just configured a check_ping service for each host. As I said, a pretty 
  simple setup. The services is schedulled to run every minute with a one try 
  only. To simulate a network problem, I just did a "iptables -A INPUT 
  -p icmp -j DROP". I was expecting that I would see all hosts/services down 
  within a minute, as nagios use to "spread" the checks within the one minute 
  (default configuration). To my suprise I saw just one host coming down on one 
  minute, with the subsequent hosts coming down each minute after that. I mean, 
  host 1 comes down on, say, 8:40:13, host 2 on 8:41:05, host 3 on 8:42:05 and 
  host 5 on host 8:43:05.  I saw the last host come down almost 4 minutes 
  after the "network problem". My first try was with nagios 1.3, but the 
  I could reproduce the same problem with nagios 2.1. When I asked a friend to 
  do the same test, he got the same results. A little worst, since he does not 
  check the hosts/services every minute, so he got a host down per 3 minutes, 
  after 10 minutes he couldnt see all the hosts down. To my surprise, 
  all the hosts come up about the same time after removing the iptables rule. I 
  could not find a explanation for this behavior, and couldnt find anything 
  wrong with the configuration. I´m not sure if this is a feature, or if I hit a 
  bug. A serious bug to be true. I did a minimal search on the mailing 
  list archives and forums, so excuse me if this is know issue, and plz point me 
  where I can find more about it.Christian 
Lyra
This is unfortunately a 
long-standing deficiency in Nagios. It suspends all parallel checking 
while it performs the host check. The more downed hosts you have, the farther 
behind it falls on the rest of your service checks.
 
--Ludwig PummerSystem AdministratorCopart Auto 
Auctions
 


[Nagios-users] Nagios & PerfParse

2006-04-10 Thread Roberto Raffo








Hi folks!

 

I installed Nagios with perfparse and Mysql but in the perfparse
section of the Nagios web interface I cannot add host becouse the “Add new Host
to Group:” is empty.

 

This is the section of my nagios.cfg that talk about perfparse:

 

 ***

resource_file=/usr/local/nagios/etc/resource.cfg

 

xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log

xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$

xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log

xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$SERVICESTATE$\t$PERFDATA$

 

service_perfdata_file=/usr/local/nagios/var/perfdata.log

service_perfdata_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICESPERDATA$

service_perfdata_file_mode=a

service_perfdata_file_processing_interval=30

service_perfdata_file_processing_command=process-service-perfdata

 ***

 

Any ideas?

 

Thanks a lot.

Roberto.

 

 








RE: [Nagios-users] Oreon Project?

2006-04-10 Thread Eugene MacDougal
If you check out the Oreon roadmap, it appears they intend to have Nagios 2 support by April 30th of this year.  I think I'll wait a bit and check it out when that happens, instead of attempting my own concoction.
http://www.oreon-project.org/Oreon-RoadMap-en.htmlGene-Original Message-From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]] On Behalf Of Mike KoponickSent: Friday, April 07, 2006 4:53 PMTo: jeff vier; Andrew CruseCc: 
nagios-users@lists.sourceforge.netSubject: RE: [Nagios-users] Oreon Project?From what I saw while using Oreon under Nagions 1.x, it worked well. Thereason I dumped it was because of the Nagions 2.x
 support (or lack thereof).I too am writing my won interface utilizing the NDO table structure forthe "monitoring" portion and wrote my own tables for the config.Mike-Original Message-
From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]
] On Behalf Of jeff vierSent: Friday, April 07, 2006 2:18 PMTo: Andrew CruseCc: nagios-users@lists.sourceforge.netSubject: Re: [Nagios-users] Oreon Project?
On Fri, 2006-04-07 at 16:59 -0400, Andrew Cruse wrote:> I was perusing nagiosexchange.org and ran across the Oreon Project> (
http://www.oreon-project.org/index-en.html).  Has anyone given this a> shot?  Comments?  It looks amazing from the screenshots, but it seemsto> be a pretty young project so I'm concerned it might still be pretty
> buggy...I tried it, but it didn't support v2.xAnd all the comments and variables and such were in French, so Icouldn't efficiently hack it.So I'm writing my own using the NDO Utils DB as a feed.
---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
___Nagios-users mailing listNagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null



RE: [Nagios-users] Error of executing script

2006-04-10 Thread Marc Powell
Good. You'll probably want to read that link then.

--
Marc

p.s. Please always respond on list. You've asked everyone to help you and 
everybody deserves to know your responses. It'll also benefit future users like 
yourself who search the archives.

> -Original Message-
> From: Luc MAIGNAN [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 10, 2006 10:41 AM
> To: Marc Powell
> Subject: Re: [Nagios-users] Error of executing script
> 
> SELinux is disabled
> 
> 
> 
> Marc Powell a écrit :
> 
> 
> 
> 
>   -Original Message-
>   From: [EMAIL PROTECTED] [mailto:nagios-
> users-
>   [EMAIL PROTECTED] On Behalf Of Luc MAIGNAN
>   Sent: Monday, April 10, 2006 10:29 AM
>   To: nagios-users@lists.sourceforge.net
>   Subject: [Nagios-users] Error of executing script
> 
>   I've done all what the doc said (in fact I hope), aned when I
> want to
>   use a cgi script I have the following error in httpd log :
> 
>   (13) permission denied : exec of ...cgi failed
> 
> 
>   Any ideas ?
> 
> 
> 
>   Yep.
> 
>   http://www.catb.org/~esr/faqs/smart-questions.html#beprecise
> 
>   As a mostly arbitrary guess, I'd recommend you look at your SELinux
>   setup if you have that enabled.
> 
>   --
>   Marc



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Error of executing script

2006-04-10 Thread Terry
Make sure the user your webserver is running can execute the CGIs. 
Check the permissinos of the CGIs.

On 4/10/06, Luc MAIGNAN <[EMAIL PROTECTED]> wrote:
> I've done all what the doc said (in fact I hope), aned when I want to
> use a cgi script I have the following error in httpd log :
>
> (13) permission denied : exec of ...cgi failed
>
>
> Any ideas ?
>
> Regards
>
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] Error of executing script

2006-04-10 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Luc MAIGNAN
> Sent: Monday, April 10, 2006 10:29 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Error of executing script
> 
> I've done all what the doc said (in fact I hope), aned when I want to
> use a cgi script I have the following error in httpd log :
> 
> (13) permission denied : exec of ...cgi failed
> 
> 
> Any ideas ?

Yep.

http://www.catb.org/~esr/faqs/smart-questions.html#beprecise

As a mostly arbitrary guess, I'd recommend you look at your SELinux
setup if you have that enabled.

--
Marc


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Error of executing script

2006-04-10 Thread Luc MAIGNAN
I've done all what the doc said (in fact I hope), aned when I want to
use a cgi script I have the following error in httpd log :

(13) permission denied : exec of ...cgi failed


Any ideas ?

Regards


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Tutorial requested

2006-04-10 Thread Terry
Hello,

Check out:

http://www.nagiosexchange.org/Wiki.3.0.html
http://nagios.sourceforge.net/docs/2_0/toc.html  (under Getting Started)

Hope this helps.

Terry

On 4/10/06, Luc MAIGNAN <[EMAIL PROTECTED]> wrote:
> Hi users of list,
>
> I apologize for this kind of question, but I need to setup and configure
> Nagios to monitor my network and I can't find any suitable tutorial or
> book to help me.
> Can anyone give an url, a book's reference or so on ?
>
> Best regards
>
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Tutorial requested

2006-04-10 Thread Esben Bach
The official documentation found at www.nagios.org is a near perfect for 
reference and tutorial.

--
Esben

Luc MAIGNAN wrote:


Hi users of list,

I apologize for this kind of question, but I need to setup and configure
Nagios to monitor my network and I can't find any suitable tutorial or
book to help me.
Can anyone give an url, a book's reference or so on ?

Best regards


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
 





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Antwort: [Nagios-users] Nagios E-mail

2006-04-10 Thread srunschke
[EMAIL PROTECTED] schrieb am 10.04.2006 14:38:35:

> I am looking for a solution to send alert by e-mail using my main e-mail 

> server. I wouldn´t like to use the sendmail into the Nagios server.
> Anybody knows how can I do that ?

Uhm, I fail to see why you would want to do that? Sendmail is nothing
but a program to deliver the Nagios mail to your main mailserver. If
you use another program or solution but sendmail, I don't see any
benefit from it.

I am curious for the reasons behind your question.

regards
Sascha

-- 
Sascha Runschke
Netzwerk Administration
IT-Services

ABIT AG
Robert-Bosch-Str. 1
40668 Meerbusch

Tel.:+49 (0) 2150.9153.226
Mobil:+49 (0) 173.5419665
mailto:[EMAIL PROTECTED]

http://www.abit.net
http://www.abit-epos.net
-
Sicherheitshinweis zur E-Mail Kommunikation /
  Security note regarding email communication:
http://www.abit.net/sicherheitshinweis.html


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Tutorial requested

2006-04-10 Thread Luc MAIGNAN
Hi users of list,

I apologize for this kind of question, but I need to setup and configure
Nagios to monitor my network and I can't find any suitable tutorial or
book to help me.
Can anyone give an url, a book's reference or so on ?

Best regards


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios E-mail

2006-04-10 Thread Subhendu Ghosh

On Mon, 10 Apr 2006, Hugo Rebello wrote:


Guys,

I am looking for a solution to send alert by e-mail using my main e-mail 
server. I wouldn´t like to use the sendmail into the Nagios server.

Anybody knows how can I do that ?



nullmailer
http://untroubled.org/nullmailer/

--

-sg

Re: [Nagios-users] Nagios E-mail

2006-04-10 Thread Tom Craig
Hi Hugo,

How about writing a small shell script that wget's a PHP page on the main 
server that would then send off an email alert. You could even pass some 
parameters from the shell script that the PHP page could then stick in the 
email?

All the best,

Tom..


At 13:38 10/04/2006, Hugo Rebello wrote:
>Guys,
>
>I am looking for a solution to send alert by e-mail using my main e-mail 
>server. I wouldn´t like to use the sendmail into the Nagios server.
>Anybody knows how can I do that ?
>
>Thank you.
>
>Cheers,
>Hugo




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Re: [RETENTION FILE ISSUE] Retention file not beingupdated?

2006-04-10 Thread Ingo Lantschner

Marcel Mitsuto Fucatu Sugano schrieb:

Ok, it really is minutes, but even with retention_update_interval=1, the
retention file do not get updated. Only when restarting. BTW, is the
retention file just a copy of the status file? 

Hi,
I am using Nagios 2.0, now updated to 2.2 because I had problems as you 
described. The retentionfile gets newver written - even not if I restart 
the process. Unfoirtunatly the update did not solve the problem here.


From my nagios.cfg:

retain_state_information=1
state_retention_file=/usr/local/nagios/var/retention.dat
retention_update_interval=1
use_retained_program_state=1



$ ll var/ -d
drwxrwxr-x  4 nagios nagios 8192 2006-04-10 15:04 var/



$ ls var/*.dat -l
-rw-rw-r--  1 nagios nagios 238 2006-03-20 15:07 var/comments.dat
-rw-rw-r--  1 nagios nagios 239 2006-03-20 15:07 var/downtime.dat
-rw-rw-r--  1 nagios nagios 1712806 2006-04-10 15:05 var/status.dat

Any idea?

TIA Ingo.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios E-mail

2006-04-10 Thread Hugo Rebello

Guys,

I am looking for a solution to send alert by e-mail using my main e-mail 
server. I wouldn´t like to use the sendmail into the Nagios server.

Anybody knows how can I do that ?

Thank you.

Cheers,
Hugo

--
Hugo Rebello
LISM - Local Information Security Manager

DHL Express (Brazil) Ltda
Av. Santa Marina, 1660 - Lapa
05036-001 - São Paulo - SP

Phone : 55 11 3618 3346
FAX   : 55 11 3618 3311
Mobile: 55 11 7812 1673

[EMAIL PROTECTED]
http://www.dhl.com.br 







---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Apologies

2006-04-10 Thread Mohr James
Hi All!

I am deeply sorry that I forgot to unsubscribe when I went on vacation.
I know that getting the vacation notices is very annoying. To be honest,
I simply spaced on it. Sorry!

Regards,

Jim Mohr


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Stop NRPE?

2006-04-10 Thread Werner Flamme
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] schrieb am 10.04.2006 11:57:
> Hi all,
> 
> Excuse my dumb question, is there any way to stop the NRPE-Agent regularly,
> when running in daemon-mode? Any Script?
This may vary with your Linux distribution. Something like "killall nrpe"
or "kill `cat /var/run/nrpe.pid`" may work. Maybe you like to create
/etc/init.d/nrpe, that will start and stop the service: look for a nice
file in /etc/init.d, copy to /etc/init.d/nrpe, edit to your needs.

> How is it stopped when using inetd/xinetd (i do not use these..)
When running via (x)inetd, nrpe executes the given command and stops
running afterwards. There is no need to stop nrpe. Look at README in the
source archive.

> 
> Thanks i.a.,
> Thomas.
> Thomas Zimmer
> Produktservice & Betrieb
> Betrieb & Support
> Sal. Oppenheim jr. & Cie., Frankfurt a. Main
> 
> 
> 
>  <> 
> 
HTH,
Werner

- --
Werner Flamme, Abt. WKDV
UFZ Umweltforschungszentrum Leipzig-Halle GmbH,
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-3921 - Fax (0341) 235-453921
http://www.ufz.de - eMail: [EMAIL PROTECTED]




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEOjJLk33Krq8b42MRAhPJAJsEvzK72G6+QzVL3iiUjexLF9MA3ACggdnV
cXZ20ncec80ac+u6/+MTpv0=
=/pQF
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Stop NRPE?

2006-04-10 Thread Thomas . Zimmer
Title: Stop NRPE?





Hi all,


Excuse my dumb question, is there any way to stop the NRPE-Agent regularly, when running in daemon-mode? Any Script?
How is it stopped when using inetd/xinetd (i do not use these..)


Thanks i.a.,
Thomas.
Thomas Zimmer
Produktservice & Betrieb
Betrieb & Support
Sal. Oppenheim jr. & Cie., Frankfurt a. Main




 <>  





Zimmer, Thomas (Produktservices und Betrieb).vcf
Description: Binary data


Re: [Nagios-users] /var/log/messages

2006-04-10 Thread ThomasC.

Henrik Morsing a écrit :

ThomasC. said:

Hi,

Is there's a way to tell nagios not to write inside /var/log/messages ?



Hi,
In nagios.cfg change the line 'use_syslog=1' to 'use_syslog=0'.

At the top of the file you can set the log file like this:

log_file=/var/log/nagios/nagios.log




Thanks a lot for the tip.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] /var/log/messages

2006-04-10 Thread Henrik Morsing
ThomasC. said:
> Hi,
>
> Is there's a way to tell nagios not to write inside /var/log/messages ?


Hi,
In nagios.cfg change the line 'use_syslog=1' to 'use_syslog=0'.

At the top of the file you can set the log file like this:

log_file=/var/log/nagios/nagios.log


-- 
Regards,
Henrik Morsing


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


Antwort: [Nagios-users] check_dig bug ?

2006-04-10 Thread srunschke
> [EMAIL PROTECTED] stucky]# /usr/local/nagios/libexec/check_dig -w 1 -c 2 -H 
> {nameserver} -l {fqdn} -a {ip}
> DNS WARNING - 0.011 seconds response time ({fqdn} 38400 IN A 
{ip})|time=0.
> 011227s;1.00;2.00;0.00
> 
> Have I totally gone nuts or did I not just tell check_dig to only warn 
me 
> if the query takes more than one second ? As you can see the tool itself
> reports it took only 0.011 seconds so why the warning ?
> It's annoying cause I get those random fake alerts and another recovery 
> messager soon after.
> Thing is even if I totally leave the -w and -c flags out it'll still do 
> that as if it had a hardcoded value between 0.008 and 0.011 in there 
that 
> can't be changed.

This is a redhat issue, there's something they screwed up in the futex
handling of their kernel. Do a manual up2date -uf to force the update
of kernel packages, which are usually excluded by up2date.
Reboot - be happy. This has been fixed with hotfix-kernel-2.6.9-22 (not
publicly available) and later on with the last major update 3 (nahant).

regards
Sascha

-- 
Sascha Runschke
Netzwerk Administration
IT-Services

ABIT AG
Robert-Bosch-Str. 1
40668 Meerbusch

Tel.:+49 (0) 2150.9153.226
Mobil:+49 (0) 173.5419665
mailto:[EMAIL PROTECTED]

http://www.abit.net
http://www.abit-epos.net
-
Sicherheitshinweis zur E-Mail Kommunikation /
  Security note regarding email communication:
http://www.abit.net/sicherheitshinweis.html


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] /var/log/messages

2006-04-10 Thread ThomasC.

Hi,

The /var/log/messages files is filled with nagios logs:
 nagios: SERVICE ALERT: usminsv03;File 
Replication;UNKNOWN;SOFT;1;ERROR: Alarm signal (Nagios time-out)
nagios: SERVICE ALERT: sacapsv03;PING;OK;HARD;3;PING OK - Packet loss = 
0%, RTA = 300.42 ms


Is there's a way to tell nagios not to write inside /var/log/messages ?

Thanks

Nagios 1.3
Plugins 1.4
Debian unstable



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: Re: [Nagios-users] Notification difficulties

2006-04-10 Thread Christian Kammer Have

It was a typo when i submitted this to the mailinglists,
it isn't in the actual file.
Although thanks alot for the input
<

<<>         command_line /usr/bin/printf "%b"
"$HOSTNAME$: $SERVICEDESC$ is 
<<> $SERVICESTATE$ @'$CONTACTPAGER'$" > /var/spool/sms/sms`date

<<> +%d%m%Y%H%M%S%N`
<<
<
<<$CONTACTPAGER$

<
<

Re: [Nagios-users] Notification difficulties

2006-04-10 Thread Johannes Dagemark

Hi Christian

command_line /usr/bin/printf "%b" "$HOSTNAME$: $SERVICEDESC$ is 
$SERVICESTATE$ @'$CONTACTPAGER'$" > /var/spool/sms/sms`date 
+%d%m%Y%H%M%S%N`


I dont know if its a typo but it looks like a ' before the $ in 
$CONTACTPAGER$


Cheers
Johannes Dagemark


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Notification difficulties

2006-04-10 Thread Christian Kammer Have

Hello! I'm running nagios 2.2(although
the problem was existing in 2.0).
I am trying to enable our sms modem(
a nokia 30) to send sms messages whenever anything goes down.
So far i have setup timeperiods, contacts,
contactgroups and enabled which ever notificationoptions that were needed.
I have managed to install GSM-lib and
have successfully sent sms messages directly from the software supplied.

This is my command:
define  command {
        command_name
   notify-by-epager
        command_line
/usr/bin/printf "%b" "$HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$
@'$CONTACTPAGER'$" > /var/spool/sms/sms`date +%d%m%Y%H%M%S%N`
        }

The problem seems to be that the $CONTACTPAGER$
variable is empty.
the content of my textfile is: HOST:
CPU Load is CRITICAL @''
I have tried with the $USERADDRESS1$
variable, with the email variable and so forth. I have tried without single
quotation and with double quotation.


This is my contacts definition:
define  contact {
        contact_name
                     
     Vagt
        alias  
                     
                 
Vagt
        contactgroups
                     
    admins,Citrix,Windows
        host_notification_period
               24x7
        service_notification_period
  24x7
        host_notification_options
              d,u,r
        service_notification_options
 w,u,c,r
        host_notification_commands
host-notify-by-epager
        service_notification_commands
  notify-by-epager
        pager  
                     
   
        }
Here are the time periods:
define  timeperiod {
        timeperiod_name
24x7
        alias  
        24 Hours A Day, 7 Days A Week
        sunday  
       00:00-24:00
        monday  
       00:00-24:00
        tuesday
        00:00-24:00
        wednesday
      00:00-24:00
        thursday
       00:00-24:00
        friday  
       00:00-24:00
        saturday
       00:00-24:00
        }

And from the menu in nagios i can see
that the notification has been "processed":
Host         Service  
      Type          
      Time          
              Contact
        NotificationCommand      
  Information 
host         Web
server         CRITICAL
        04-09-2006 22:33:01      
  Vagt
 
              notify-by-epager
        Connection refused 


I'm really without any clue of what
i have been doing wrong.
but, as I said earlier, it seems to
be as if the variables containing contactinformations are empty.

Regards

Security Specialist
Christian Kammer Have

Bispebjerg Hospital
MIT (Mediko, Informatik & Tele) 
Bispebjerg Bakke 23
2400 København NV

mobil: 2044 0125
E-mail: [EMAIL PROTECTED]


[Nagios-users] Tom Van Overbeke/AB Computers is out of the office.

2006-04-10 Thread tomvo
I will be out of the office starting  06/04/2006 and will not return until
18/04/2006.

I will respond to your message when I return. For urgent support issues,
you can either send a mail to [EMAIL PROTECTED], or contact the central
dispatch at (++32)/2 333 4000

Thank you.





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null