Re: [Nagios-users] My new ERROR PLEASE HELP

2006-08-10 Thread Jorg . Schulz

Hi 
No it´s not a plugin problem 
It´s a permisson problem 

what is your apache user ?? 
how did you compile Nagios `?? 

run 
./configure –prefix=/usr/local/nagios
--with-nagios-user=nagios --with-nagios-grp=nagios --with-perlcache --enable-embedded-perl
--with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib

and then 
Make all 
make install 
make install-base 
make install-cgis
make install-html
make install-config 
make install-init 
make install-commandmode

and then create a
htpasswd2 –c /usr/local/nagios/etc/htpasswd.users
nagiosadmin

if you run in trouble try with a chmod
-R 770 to /usr/local/nagios/sbin
did you restart your server / apache
??




hope it helps a little bit more /Jo
 
Mvh
Jörg Schulz 
Senior Konsult
Linux/Unix/Novell/Windows/Networking
SYSteam Kalmar AB 

Strömgatan 15
Box 99
S-391 21 Kalmar

Direkt 0480-456638
Mobil 0708-157806
E-Post [EMAIL PROTECTED]
http://
www.systeam.se






Arief Iqbal <[EMAIL PROTECTED]>

Sent by: [EMAIL PROTECTED]
2006-08-11 04:02




To
nagios milis 


cc



Subject
Re: [Nagios-users] My new
ERROR PLEASE HELP








Nope, i install from tar.gz, i exactly use the same httpd
config as you are, but it still doesn't work, is the plugin where problem
is?

[EMAIL PROTECTED] wrote:

 Hi 
Are you installing Nagios from RPM ??? 

(13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' 


= Looks permission
problem between apache's running user and the owner of
the plugins. 



Check you Permissions 

Verify your CGI-directory for rights and owner 
and 

try this one 
in you apache config file 



ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin




    Options ExecCGI 
    AllowOverride None 
    Order allow,deny 
    Allow from all 
    AuthName "Nagios Access"

    AuthType Basic 
    AuthUserFile /usr/local/nagios/etc/htpasswd.users  
        !! this is what i have , change it for your
needs 
    Require valid-user 
 

Alias /nagios /usr/local/nagios/share 



    Options None 
    AllowOverride None 
    Order allow,deny 
    Allow from all 
    AuthName "Nagios Access"

    AuthType Basic 
    AuthUserFile /usr/local/nagios/etc/htpasswd.users

    Require valid-user 



 /Joe 
  
Mvh 
Jörg Schulz 
Senior Konsult 
Linux/Unix/Novell/Windows/Networking
SYSteam Kalmar AB 

Strömgatan 15
Box 99
S-391 21 Kalmar

Direkt 0480-456638
Mobil 0708-157806
E-Post [EMAIL PROTECTED]
http://
www.systeam.se






Arief Iqbal <[EMAIL PROTECTED]>

Sent by: [EMAIL PROTECTED]

2006-08-10 11:53





To
nagios milis 



cc



Subject
Re: [Nagios-users] Antw:
 My new ERROR PLEASE HELP










yes i have, when i write ScriptAlias /nagios/cgi-bin /usr/local/nagios,
and try to access statusmap then appear:

Internal Server Error 
The server encountered an internal error or misconfiguration and was unable
to complete your request. 
Please contact the server administrator, [EMAIL PROTECTED] and inform them
of the time the error occurred, and anything you might have done that may
have caused the error. 
More information about this error may be available in the server error
log. 


Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 


but if i write ScriptAlias /nagios/cgiurl/ /usr/local/nagios or
                 ScriptAlias /nagios/cgi-bin/
/usr/local/nagios     , and try to access statusmap then appear:

Not Found 
The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server.



Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 
   

Daniel Tuecks <[EMAIL PROTECTED]> wrote: 
Do you have 

ScriptAlias /nagios/cgiurl/ /usr/local/nagios/sbin/

in your httpd.conf?

Daniel


>>> Arief Iqbal schrieb am Donnerstag, 10. August 2006 um
10:04 in Nachricht 04599.CNM350A5869:
> when i try to display statusmap, there's an internal server error,
i don't 
> know why, cause i've configure all configuration, this is the error:
> 
> Internal Server Error The server encountered an internal error or

> misconfiguration and was unable to complete your request.
> Please contact the server administrator, [EMAIL PROTECTED] and inform
them 
> of the time the error occurred, and anything you might have done that
may 
> have caused the error.
> More information about this error may be available in the server error

> log.
> 
> -
> Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 
> and this is in the error_log message:
> 
> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission

> denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer:

> http://192.168.87.100/nagios/side.html 
> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature
end of 
> script headers: statusmap.cgi, referer: 
> http://192.168.87.1

Re: [Nagios-users] Scheduling Downtime & more

2006-08-10 Thread Artyom Khmelnitsky
Thanks for your reply. I login when prompted for it, but it doesn't
 say anywhere that user 'nagios' is logged in.



I will take a look at those sections. Thank you!



---

This thread is located in the archive at this URL:

http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi
1[showUid]=21008



> > I am having some issues with scheduling downtime via the web

> > interface.

> >  I have enabled it in the nagios.cfg file and gave my

> > 'nagios' user  all the permissions in the cgi.cfg file, but
 I

> > still get the following

> >  message:

> >

> > Sorry, but you are not authorized to commit the specified command.

> 

> 

> Does the web interface show that you are logged in?

> 

> > Secondly, I would like to substitute the question marks in

> > the Status  Map with some images of routers, computers, etc..

> > to make it more  appealing. I checked the docs but could not

> > find anything dealing  with this. Could someone please point

> > me in the right direction?

> 

> See the hostextinfo and serviceextinfo sections of the docs.

> 

> ---
--

> Using Tomcat but need to do more? Need to support web services,
 security?

> Get stuff done quickly with pre-integrated technology to make
 your job easier

> Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo

> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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

> 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Potential bug in availability report - custom report period includes outages _outside_ the report period.

2006-08-10 Thread Stanley Hopcroft
Dear Folks

There may be a small bug in the availability report (avail.cgi)
distrinuted with Nagios 2.5.

Here is an example illustrating the problem.

host_down_report is basically a wrapper around avail.cgi

 perl  host_down_report -t '1.8.2006 - 3.8.2006'

  24x7

HOST_NAME DOWNUP
   OUTAGE

Armidale_Foo_router_PE_ 02-08-2006 01:47:29 02-08-2006
02:15:59 28m 30s

Wyong_Foo_router_PE_int 02-08-2006 01:50:49 02-08-2006
02:15:59 25m 10s

MandMandMan  02-08-2006 10:03:47
02-08-2006 10:10:46 6m 59s

Wyong_Foo_router_PE_int 07-08-2006 10:14:36 07-08-2006
10:37:46 23m 10s

The problem is that the last entry should have been excluded by the
custom report period.

Here is the query string (set as an environment var)

show_log_entries=&host=all&t1=1154354400&t2=1154440800&rpttimeperiod=24x7&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringnotrunning=yes&includesoftstates=no&initialassumedhoststate=3&initialassumedservicestate=6&backtrack=0&csvoutput

[EMAIL PROTECTED] examples]$ perl -e '@_ = qw(1154354400 1154440800);
map { print localtime($_)."\n"} @_ '
Tue Aug  1 00:00:00 2006
Wed Aug  2 00:00:00 2006


Can anyone see what I am doing wrong or is this a bug ?

Thank you,

Yours sincerely.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] My new ERROR PLEASE HELP

2006-08-10 Thread Arief Iqbal
Nope, i install from tar.gz, i exactly use the same httpd config as you are, but it still doesn't work, is the plugin where problem is?[EMAIL PROTECTED] wrote:   Hi  Are you installing Nagios from RPM ???   (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' = Looks permission problem between apache's running user and the owner of the plugins.Check you Permissions   Verify your CGI-directory for rights and owner and   try this one  in you apache config file ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin       Options ExecCGI     AllowOverride None     Order allow,deny     Allow from all     AuthName "Nagios Access"     AuthType Basic    
 AuthUserFile /usr/local/nagios/etc/htpasswd.users           !! this is what i have , change it for your needs      Require valid-user   Alias /nagios /usr/local/nagios/share       Options None     AllowOverride None     Order allow,deny     Allow from all     AuthName "Nagios Access"
     AuthType Basic     AuthUserFile /usr/local/nagios/etc/htpasswd.users     Require valid-user  /Joe   Mvh Jörg Schulz  Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB   Strömgatan 15 Box 99 S-391 21 Kalmar  Direkt 0480-456638 Mobil 0708-157806 E-Post [EMAIL PROTECTED] http:// www.systeam.se   Arief Iqbal <[EMAIL PROTECTED]>  Sent by: [EMAIL PROTECTED] 2006-08-10 11:53 To nagios miliscc   Subject
 Re: [Nagios-users] Antw:  My new ERROR PLEASE HELP yes i have, when i write ScriptAlias /nagios/cgi-bin /usr/local/nagios, and try to access statusmap then appear:  Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.   Apache/2.0.52 (Fedora) Server at
 192.168.87.100 Port 80   but if i write ScriptAlias /nagios/cgiurl/ /usr/local/nagios or                   ScriptAlias /nagios/cgi-bin/ /usr/local/nagios     , and try to access statusmap then appear:  Not Found The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server.   Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80      Daniel Tuecks <[EMAIL PROTECTED]> wrote: Do you have   ScriptAlias /nagios/cgiurl/ /usr/local/nagios/sbin/  in your httpd.conf?  Daniel   >>> Arief Iqbal schrieb am Donnerstag, 10. August 2006 um 10:04 in Nachricht 04599.CNM350A5869: > when i try to display statusmap, there's an
 internal server error, i don't  > know why, cause i've configure all configuration, this is the error: >  > Internal Server Error The server encountered an internal error or  > misconfiguration and was unable to complete your request. > Please contact the server administrator, [EMAIL PROTECTED] and inform them  > of the time the error occurred, and anything you might have done that may  > have caused the error. > More information about this error may be available in the server error  > log. >  > - > Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80  > and this is in the error_log message: >  > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission  > denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer:  > http://192.168.87.100/nagios/side.html  > [Thu Aug 10 15:04:31 2006]
 [error] [client 192.168.87.100] Premature end of  > script headers: statusmap.cgi, referer:  > http://192.168.87.100/nagios/side.html  > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not  > exist:/var/www/html/favicon.ico >  > please help me, thanks >  >  > - > How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates. > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around  > http://mail.yahoo.com--   --- Stadtverwaltung Neuwied Daniel Tücks - EDV -  Tel.: 02631 / 802 410 Fax: 02631 / 802 850 email: [EMAIL PROTECTED]   - Using Tomcat but need to do more? Need to support web services,
 security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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   Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta.   Stay in the know. Pul

Re: [Nagios-users] Scheduling Downtime & more

2006-08-10 Thread Morris, Patrick
> I am having some issues with scheduling downtime via the web 
> interface.
>  I have enabled it in the nagios.cfg file and gave my 
> 'nagios' user  all the permissions in the cgi.cfg file, but I 
> still get the following
>  message:
> 
> Sorry, but you are not authorized to commit the specified command.


Does the web interface show that you are logged in?

> Secondly, I would like to substitute the question marks in 
> the Status  Map with some images of routers, computers, etc.. 
> to make it more  appealing. I checked the docs but could not 
> find anything dealing  with this. Could someone please point 
> me in the right direction?

See the hostextinfo and serviceextinfo sections of the docs.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Scheduling Downtime & more

2006-08-10 Thread Artyom Khmelnitsky
Hello,



I am having some issues with scheduling downtime via the web interface.
 I have enabled it in the nagios.cfg file and gave my 'nagios' user
 all the permissions in the cgi.cfg file, but I still get the following
 message:



Sorry, but you are not authorized to commit the specified command.



I am not sure why I am not authorized as I gave myself permissions
 to do this. Any advice here would be greatly appreciated.



Secondly, I would like to substitute the question marks in the Status
 Map with some images of routers, computers, etc.. to make it more
 appealing. I checked the docs but could not find anything dealing
 with this. Could someone please point me in the right direction?



Thank you very much,

Artyom



---

The mailing list archive is found here:

http://www.nagiosexchange.org/nagios-users.34.0.html



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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 Plugins using Net::SSH::Perl

2006-08-10 Thread Morris, Patrick
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Scott Baker
> Sent: Thursday, August 10, 2006 4:53 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Nagios Plugins using Net::SSH::Perl
> 
> I wrote a script that uses Net::SSH::Perl to login to our 
> router and check some stats. When I run it as root the script 
> works perfectly, if I run it as the nagios user it runs fine. 
> When nagios runs it I get an error that /root/.ssh isn't 
> writable which as the nagios user it's not. For some reason 
> running Net::SSH:Perl scripts under the nagios user 
> environment confuses the script into thinking it's running as root.
> 
> Anyone else have this problem? Is there a known work around?

Sounds like the environment is not being set correctly in your script.
This is a wild guess, but I wouldn't be surprised if the HOME variable
is being carried over from the user who started Nagios (which is most
likely root).

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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 Plugins using Net::SSH::Perl

2006-08-10 Thread Scott Baker
I wrote a script that uses Net::SSH::Perl to login to our router and
check some stats. When I run it as root the script works perfectly,
if I run it as the nagios user it runs fine. When nagios runs it I
get an error that /root/.ssh isn't writable which as the nagios user
it's not. For some reason running Net::SSH:Perl scripts under the
nagios user environment confuses the script into thinking it's
running as root.

Anyone else have this problem? Is there a known work around?

-- 
Scott Baker - RHCE
Canby Telcom System Administrator
503.266.8253

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Monitor .NET Aplications

2006-08-10 Thread Anthony Montibello
If you do not mind loading a plugin onto your windows Host, NC_Net (or other plugins like NS_Client++)  can be used to monitor the Performance counters that Dot NEt adds to the system. 
 
NC_NEt also allows you to querry WMI and run scripts so that may help. 
NC_NEt is on Sourceforege http://sourceforge.net/projects/nc-net
 
TOny 
On 8/9/06, Morris, Patrick <[EMAIL PROTECTED]> wrote:
> do you have anybody skills with monitor .net applications via Nagios?>> I thinking about snmp. But I don't know if do it.
.Net apps aren't monitored any differently than any other web apps.What do you want to do?-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing list
Nagios-users@lists.sourceforge.nethttps://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
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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.cmd write order (cronological?)

2006-08-10 Thread Marcel Mitsuto Fucatu Sugano
On Thu, 2006-08-10 at 16:09 -0500, Marc Powell wrote:

> > > > Nagios 2.5, SuSE9.3.
> > > > Syslog-ng 1.6.8.
> > > >
> > > > I am configuring some passive checks to be transported by
> syslog-ng.
> > > >
> > > > So i've configured syslog to write directly to nagios.cmd.
> Everything
> > > > working fine, but as we are receiving check results from diferent
> > > > distributed nagios servers, I wonder if whether or not msgs
> written at
> > > > nagios.cmd has to be cronological. I mean, if some distributed
> server
> > > > lost the synchronization with ntp, and the epoch time of one msg
> gets
> > > > written to the nagios pipe with a timestamp lower than the one
> before
> > > > that, will Nagios drop the delayed check result?
> > > >
> > > > Thanks for any comments on this matter.
> > >
> > > Timestamps are important, but the order isn't.
> > >
> > 
> > By observation, it shows that timestamp and arrival (written) order
> does
> > matter! Does anyone else knows anything about concurrent writes to
> 
> Are you sure about that? My reading of commands.c (ver 2.3) is that the
> timestamp (entry_time) is used for logging/debugging purposes only. This
> is in line with my past experience.

No, not sure. Haven't read any nagios source code to confirm this. Just
watching the second destination configured on syslog-ng and nagios.log
entries, i've noticed that some entries never gets to nagios.log. Was
just guessing about. And my past experience is just about one year
administrating Nagios. 

> > matter! Does anyone else knows anything about concurrent writes to
> > nagios.cmd? Syslog-ng and nsca are writing to nagios.cmd pipe, but
> nsca
> > is configured to append mode.
> 
> Not really but... I'm surprised that using append mode for nsca works.
> That was originally used because the external command file used to be a
> real file, not a pipe. Since Netsaint 0.0.7 that functionality shouldn't
> be used for Nagios' external command functions. Could it be that your
> submissions to nagios.cmd are clobbering each other? Are they all atomic
> writes under the max pipe size for your OS (~512 bytes)?

Well, here i can confirm! :) When using nsca in "open pipe for writing"
mode instead of "open pipe for append" mode, and when starting syslog-ng
with the nagios.cmd as a destination, i've ended up with thousands of
staled results, because syslog-ng opens (locking) the pipe not allowing
nsca to write on it.

here is nsca.cfg's snippet:

# APPEND TO FILE OPTION
# This option determines whether or not the nsca daemon will
# will open the external command file for writing or appending.
# This option should almost *always* be set to 0!
# Values: 0 = open file for writing, 1 = open file for appending

append_to_file=1
*

and syslog-ng's:
*
destination d_nagios {
pipe ("/opt/nagios/var/rw/nagios.cmd" template("$MSGONLY\n") 
template_escape(no));
file ("/tmp/test.log" template("$MSGONLY\n") template_escape(no));
};
*

About writing to nagios pipe, i am not sure if all writes are under the
max pipe size, but i am sure they're all atomic, as syslog-ng and nsca
is.

Here is a example of one of the bigger lines that syslog-ng writes to
nagios.cmd:
[10/08/2006 18:30:12]  PROCESS_SERVICE_CHECK_RESULT;sensei20-b;Server 
Check;1;Monitores do servidor alarmando warning:  disk:disk=86%(/opt) 
disk:disk=89%(/export)

I think it's below the max pipe size for my OS, although i cannot tell
for sure even how big the pipe is.

TIA.


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

Re: [Nagios-users] nagios.cmd write order (cronological?)

2006-08-10 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Marcel Mitsuto Fucatu
Sugano
> Sent: Thursday, August 10, 2006 3:23 PM
> To: Patrick Morris
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] nagios.cmd write order (cronological?)
> 
> On Wed, 2006-08-09 at 15:56 -0700, Patrick Morris wrote:
> > On Wed, 09 Aug 2006, Marcel Mitsuto Fucatu Sugano wrote:
> >
> > > Hi,
> > >
> > > Nagios 2.5, SuSE9.3.
> > > Syslog-ng 1.6.8.
> > >
> > > I am configuring some passive checks to be transported by
syslog-ng.
> > >
> > > So i've configured syslog to write directly to nagios.cmd.
Everything
> > > working fine, but as we are receiving check results from diferent
> > > distributed nagios servers, I wonder if whether or not msgs
written at
> > > nagios.cmd has to be cronological. I mean, if some distributed
server
> > > lost the synchronization with ntp, and the epoch time of one msg
gets
> > > written to the nagios pipe with a timestamp lower than the one
before
> > > that, will Nagios drop the delayed check result?
> > >
> > > Thanks for any comments on this matter.
> >
> > Timestamps are important, but the order isn't.
> >
> 
> By observation, it shows that timestamp and arrival (written) order
does
> matter! Does anyone else knows anything about concurrent writes to

Are you sure about that? My reading of commands.c (ver 2.3) is that the
timestamp (entry_time) is used for logging/debugging purposes only. This
is in line with my past experience.

> matter! Does anyone else knows anything about concurrent writes to
> nagios.cmd? Syslog-ng and nsca are writing to nagios.cmd pipe, but
nsca
> is configured to append mode.

Not really but... I'm surprised that using append mode for nsca works.
That was originally used because the external command file used to be a
real file, not a pipe. Since Netsaint 0.0.7 that functionality shouldn't
be used for Nagios' external command functions. Could it be that your
submissions to nagios.cmd are clobbering each other? Are they all atomic
writes under the max pipe size for your OS (~512 bytes)?

--
Marc

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] NRPE

2006-08-10 Thread Morris, Patrick
> Hello  all
> I am running Nagios2.5  on a fredora core 5 server i am 
> trying to check uptime on a windows xp prof. desktop. i have 
> the NSclient installed on the desktop and i can check the 
> uptime on the desktop using the ./check_nt -H  -p 
> 1248 -v UPTIME
>  
> but configuring my minimal.cfg and my checkcommands.cfg file 
> i get an error the error is as below
>  
> Checking services...
> Error: Service check command 'check_nt -H 172.16.1.103 -p 
> 1248 -v' specified in service 'check-nt' for host 'helpdesk' 
> not defined anywhere!
> Checked 1 services.
>  
> 
> define host{
> use generic-host; 
> Name of host template to use
> host_name   helpdesk
> alias   helpdesk
> address 172.16.1.103
> check_command   check-nt
> max_check_attempts  10
> check_period24x7
> notification_interval   120
> notification_period 24x7
> notification_optionsd,r
> contact_groups  admins
> }
> 
> define service{
> use generic-service   
>   ; Name of service template to use
> host_name   helpdesk
> service_description check-nt
> is_volatile 0
> check_period24x7
> max_check_attempts  4
> normal_check_interval   5
> retry_check_interval1
> contact_groups  admins
> notification_optionsw,u,c,r
> notification_interval   960
> notification_period 24x7
> check_command   check_nt -H 
> 172.16.1.103 -p 1248 -v
> }
> 
>  
> 
> define command{
> command_namecheck_nt
> 
> command_line$USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ 
> -v check-nt
> }
> 
> any help is appreciated

You have two issues.  One is that you're defining the service check
incorrectly.  You probably want to have a chack_command of
check_nt!1248, and a command_line of $USER1$/check_nt -H $HOSTADDRESS -p
$ARG1$ -v check-nt (I'm guessing -- what you're using now is definitely
wrong, though).

Your second problem is probably that you're not including the file where
you defined that command when you start Nagios.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] NRPE

2006-08-10 Thread Thomas Sluyter
On 10 Aug, 2006, at 21:06, Ganesh Vembu wrote:

> Checking services...
> Error: Service check command 'check_nt -H 172.16.1.103 -p 1248 -v'  
> specified in service 'check-nt' for host 'helpdesk' not defined  
> anywhere!
> Checked 1 services.

Ganesh,

Please don't take this the wrong way, but considering this e-mail and  
your last I think that it's time for you to read the Nagios  
documentation... Front to back. Just so you get a clear picture of  
how everything works. Because right now it doesn't seem that you do.

Cheers and good luck!


Thomas

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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.cmd write order (cronological?)

2006-08-10 Thread Marcel Mitsuto Fucatu Sugano
On Wed, 2006-08-09 at 15:56 -0700, Patrick Morris wrote:
> On Wed, 09 Aug 2006, Marcel Mitsuto Fucatu Sugano wrote:
> 
> > Hi,
> > 
> > Nagios 2.5, SuSE9.3.
> > Syslog-ng 1.6.8.
> > 
> > I am configuring some passive checks to be transported by syslog-ng.
> > 
> > So i've configured syslog to write directly to nagios.cmd. Everything
> > working fine, but as we are receiving check results from diferent
> > distributed nagios servers, I wonder if whether or not msgs written at
> > nagios.cmd has to be cronological. I mean, if some distributed server
> > lost the synchronization with ntp, and the epoch time of one msg gets
> > written to the nagios pipe with a timestamp lower than the one before
> > that, will Nagios drop the delayed check result? 
> > 
> > Thanks for any comments on this matter.
> 
> Timestamps are important, but the order isn't.
> 

By observation, it shows that timestamp and arrival (written) order does
matter! Does anyone else knows anything about concurrent writes to
nagios.cmd? Syslog-ng and nsca are writing to nagios.cmd pipe, but nsca
is configured to append mode.

TIA,

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/.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Forced Checks don't happen?>

2006-08-10 Thread Tory M Blue
On 8/10/06, Frost, Mark {PBG} <[EMAIL PROTECTED]> wrote:





I have seen this issue as well.  The first time I 
recall seeing it was with 2.4.  I believe I've seen it with 2.5, but I 
can't remember for sure.  I can't really reproduce it.  I believe I've 
gotten around it by removing the check, restarting nagios, then adding it again 
sometime later.  But I could be mistaken.
 
Markpepsi.com eh :) Cool beans, in fact I was just notified I won a motorola phone from pepsi , selected the slvr :) Cool stuff.
Back to Nagios:Yes I removed the check, reloaded and then added it back and it seemed to clear up, but this probably needs a bit of investigation to see what hangs, what is getting stuck since everything else seem to still work.
Thanks for the response Mark
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Which sql plugin to use?

2006-08-10 Thread Michael Koprowski
Thanks John, I know Google and do make use of it. Before posting I try
doing as much research as possible, and use the mailing list as my last
option. I found the article you referenced, but thought there might be
an updated plugin available to monitor and report on specifics to SQL. 

-Mike

From: John R. Daily <[EMAIL PROTECTED]>
Re: Which sql plugin to use?  
2006-08-09 10:30

 In case you haven't seen this, courtesy of Google:
 
 http://www.nagios.org/faqs/viewfaq.php?faq_id=156
 
 -John
 
 On Aug 9, 2006, at 1:23 PM, Michael Koprowski wrote:
 
 > Hi all,
 >
 > We are evaluating Nagios and one question that came up is what can we
 > monitor and report on for SQL 2000? I have Nagios running and already
 > installed the NRPE_NT plugin on a remote Win2000 server and can  
 > collect
 > memory, cpu, file system, etc.. However looking at the various
plugins
 > for sql, it seems like I won't be able to monitor and report on SQL  
2000
 > database availability, db and transaction log size, process  
information
 > etc. I know the net-sql plugin exists but I'm uncertain this will
 > provide the required information as mentioned above. Does anyone have
 > suggestions how to accomplish this with Nagios?
 >
 > Thanks in advance,
 > Mike

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] NRPE

2006-08-10 Thread Ganesh Vembu
Hello  all
I am running Nagios2.5  on a fredora core 5 
server
i am trying to check uptime on a windows xp prof. 
desktop. i have the NSclient installed on the desktop and i can check the uptime 
on the desktop using the 
./check_nt -H  -p 1248 -v 
UPTIME
 
but configuring my minimal.cfg and my 
checkcommands.cfg file i get an error
the error is as below
 
Checking services...Error: Service check command 'check_nt -H 
172.16.1.103 -p 1248 -v' specified in service 'check-nt' for host 'helpdesk' not 
defined anywhere!    Checked 1 
services.
 
define host{    
use 
generic-host    ; 
Name of host template to use    
host_name   
helpdesk    
alias   
helpdesk    
address 
172.16.1.103    
check_command   
check-nt    
max_check_attempts  
10    
check_period    
24x7    
notification_interval   
120    
notification_period 
24x7    
notification_options    
d,r    contact_groups  
admins    }
define service{    
use 
generic-service ; Name of 
service template to use    
host_name   
helpdesk    
service_description 
check-nt    
is_volatile 
0    
check_period    
24x7    
max_check_attempts  
4    
normal_check_interval   
5    
retry_check_interval    
1    
contact_groups  
admins    
notification_options    
w,u,c,r    
notification_interval   
960    
notification_period 
24x7    
check_command   
check_nt -H 172.16.1.103 -p 1248 
-v    }
 
define command{    
command_name    check_nt
command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 
$ARG1$ -v check-nt}
any help is appreciated
ganesh
 -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Forced Checks don't happen?>

2006-08-10 Thread Frost, Mark {PBG}



I have seen this issue as well.  The first time I 
recall seeing it was with 2.4.  I believe I've seen it with 2.5, but I 
can't remember for sure.  I can't really reproduce it.  I believe I've 
gotten around it by removing the check, restarting nagios, then adding it again 
sometime later.  But I could be mistaken.
 
Mark

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Tory M 
  BlueSent: Thursday, August 10, 2006 2:25 PMTo: 
  nagios-users@lists.sourceforge.netSubject: [Nagios-users] Forced 
  Checks don't happen?>
  Not sure if forced checks get into a whacky stage or what, but I've 
  reloaded and restarted nagios with no lucklatest[08-10-2006 11:16:40] SERVICE ALERT: 
  host.domaint;Check_Running_Procs;OK;SOFT;2;Processes 
  ok[08-10-2006 11:06:36] EXTERNAL COMMAND: 
  SCHEDULE_FORCED_SVC_CHECK;snort;Check_Running_Procs;1155233195So it's 
  been over 10 minutes and I don't see my forced check taking place. I'm testing 
  some service restart commands, and thus go in, stop a service on the test host 
  then force the check, so I can watch what it's doing and verify that nagios 
  restarted the service correctly. But Nagios does not want to perform 
  my check and when I look at scheduling queue it's there with a recent 
  timestamp but it has not checked it.
  


  snort
  Check_Running_Procs
  08-10-2006 11:21:36
  08-10-2006 11:26:36
  ENABLED
    
So what could be happening, I have made 
  no changes and yesterday it allowed 3 good tests before it just stopped 
  appearing to runThanks
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Reporting

2006-08-10 Thread Max H.
[EMAIL PROTECTED] wrote:
> Okay, found the problem.
> 
> Sorry guys, in my haste to bash out a version without the CSS embedding
> code, i made a schoolboy error.  This has now been fixed.
> 
> You can fix the error by moving line 91 to line 77 (outside of the if
> statement)
> The line is "$mailbody = http_request($reporturl);" which fetches the
> report.
> 
> I have uploaded a new verison to the website, version 1.3.1
> http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640


That took care of it! Many thanks. :)

Max

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Forced Checks don't happen?>

2006-08-10 Thread Tory M Blue
Not sure if forced checks get into a whacky stage or what, but I've reloaded and restarted nagios with no lucklatest
[08-10-2006 11:16:40]  SERVICE ALERT: host.domaint;Check_Running_Procs;OK;SOFT;2;Processes ok[08-10-2006 11:06:36]  EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;snort;Check_Running_Procs;1155233195
So it's been over 10 minutes and I don't see my forced check taking place. I'm testing some service restart commands, and thus go in, stop a service on the test host then force the check, so I can watch what it's doing and verify that nagios restarted the service correctly.
But Nagios does not want to perform my check and when I look at scheduling queue it's there with a recent timestamp but it has not checked it.
snort
Check_Running_Procs08-10-2006 11:21:3608-10-2006 11:26:36ENABLED
  So what could be happening, I have made no changes and yesterday it allowed 3 good tests before it just stopped appearing to runThanks
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Service definition host_name parameter logic?

2006-08-10 Thread smiller

I'm not having much luck with negative
lookahead assertions using regexp with my service object definitions...
could you provide an example?

I am trying something like:

host_name ^(?!(HOST1|HOST2)).*$

Thanks =)

---
Steve Miller <[EMAIL PROTECTED]>
Network Engineer
Information Technology Department
County of San Luis Obispo
805-781-5097






"Morris, Patrick"
<[EMAIL PROTECTED]> 
08/10/2006 09:47 AM




To
<[EMAIL PROTECTED]>, 


cc



Subject
RE: [Nagios-users] Service definition
host_name parameter logic?








> I thought I'd drop a line to the list and inquire
about if 
> there was any plan to extend the logic in the host_name 
> parameter of a service definition to be able to exclude 
> individual hosts or host groups. 
> 
> I've stumbled across a situation where that would be useful.  
> (e.g. host_name *,not SERVER1, not SERVER2) 
> 
> What I've done in the meantime is just disabled active 
> service checks for that service on that particular host. 

You can do this currently if you enable regexp matching in your Nagios
config.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Service definition host_name parameter logic?

2006-08-10 Thread smiller

Ooo!  I didn't know there was regexp
support.  Thanks =)

---
Steve Miller <[EMAIL PROTECTED]>
Network Engineer
Information Technology Department
County of San Luis Obispo
805-781-5097






"Morris, Patrick"
<[EMAIL PROTECTED]> 
08/10/2006 09:47 AM




To
<[EMAIL PROTECTED]>, 


cc



Subject
RE: [Nagios-users] Service definition
host_name parameter logic?








> I thought I'd drop a line to the list and inquire
about if 
> there was any plan to extend the logic in the host_name 
> parameter of a service definition to be able to exclude 
> individual hosts or host groups. 
> 
> I've stumbled across a situation where that would be useful.  
> (e.g. host_name *,not SERVER1, not SERVER2) 
> 
> What I've done in the meantime is just disabled active 
> service checks for that service on that particular host. 

You can do this currently if you enable regexp matching in your Nagios
config.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Reporting

2006-08-10 Thread Brian Loe
Awesome - thank you!

On 8/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Okay, found the problem.
>
> Sorry guys, in my haste to bash out a version without the CSS embedding
> code, i made a schoolboy error.  This has now been fixed.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Service definition host_name parameter logic?

2006-08-10 Thread Morris, Patrick
> I thought I'd drop a line to the list and inquire about if 
> there was any plan to extend the logic in the host_name 
> parameter of a service definition to be able to exclude 
> individual hosts or host groups. 
> 
> I've stumbled across a situation where that would be useful.  
> (e.g. host_name *,not SERVER1, not SERVER2) 
> 
> What I've done in the meantime is just disabled active 
> service checks for that service on that particular host. 

You can do this currently if you enable regexp matching in your Nagios
config.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Service definition host_name parameter logic?

2006-08-10 Thread smiller

Hi everyone,

I thought I'd drop a line to the list
and inquire about if there was any plan to extend the logic in the host_name
parameter of a service definition to be able to exclude individual hosts
or host groups.

I've stumbled across a situation where
that would be useful.  (e.g. host_name *,not SERVER1, not SERVER2)

What I've done in the meantime is just
disabled active service checks for that service on that particular host.

Thanks =)

---
Steve Miller <[EMAIL PROTECTED]>
Network Engineer
Information Technology Department
County of San Luis Obispo
805-781-5097
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Reporting

2006-08-10 Thread rob . moss
Okay, found the problem.

Sorry guys, in my haste to bash out a version without the CSS embedding
code, i made a schoolboy error.  This has now been fixed.

You can fix the error by moving line 91 to line 77 (outside of the if
statement)
The line is "$mailbody = http_request($reporturl);" which fetches the
report.

I have uploaded a new verison to the website, version 1.3.1
http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640

Cheers




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 10/08/2006 14:43


Sent by:[EMAIL PROTECTED]



To:nagios-users

cc:


Subject:Re: [Nagios-users] Reporting

2.4 - but I was confused about which plugin you were referring to...

My problem with your plugin is that I just get an empty e-mail, which
I'm forwarding here (less my company's warnings of confidentiality and
such).

On 8/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Newest version of nagios, being 2.5 or the unreleased 3.0 version?
>
> I'm running 2.4 with all the standard CGI's which is what it was built to
> work with.  It uses the CGI's standard reporting features, and should
work
> as-is unless the CGI's have changed dramatically between Nagios 2.4 and
> 2.5.  If you are using 3.0 then I wish you the best of luck but can't
> provide any help.

-- Forwarded message --
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 10 Aug 2006 08:38:40 -0500
Subject: Nagios alerts for month 08/2006
To: [EMAIL PROTECTED]



Please read the attatchment:
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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 message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] My new ERROR PLEASE HELP

2006-08-10 Thread Israel Brewster
I was getting that error for quite some time, tried everything in the  
book to fix it, with no luck. In the end it turned out that SELinux  
was enabled. Disabling it solved the problem. The file I had to edit  
to turn off SELinux was /etc/selinux/config. My understanding is that  
it is also possible to leave it on and just add some rules to allow  
access, but I didn't get into that.
---
Israel Brewster
Computer Support Technician
Frontier Flying Service
5245 Airport Industrial Rd
Fairbanks, AK 99709
---


On Aug 10, 2006, at 12:04 AM, Arief Iqbal wrote:

> when i try to display statusmap, there's an internal server error,  
> i don't know why, cause i've configure all configuration, this is  
> the error:
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and  
> was unable to complete your request.
> Please contact the server administrator, [EMAIL PROTECTED] and inform  
> them of the time the error occurred, and anything you might have  
> done that may have caused the error.
> More information about this error may be available in the server  
> error log.
> Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80
> and this is in the error_log message:
>
> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13) 
> Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi'  
> failed, referer: http://192.168.87.100/nagios/side.html
> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100]  
> Premature end of script headers: statusmap.cgi, referer: http:// 
> 192.168.87.100/nagios/side.html
> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File  
> does not exist:/var/www/html/favicon.ico
>
> please help me, thanks
>
> How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone  
> call rates.
> __
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> -- 
> ---
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] wget attempts

2006-08-10 Thread Marc Powell


> -Original Message-
> From: Brian Loe [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 09, 2006 7:44 PM
> To: Marc Powell
> Cc: Nagios Users Mailinglist
> Subject: Re: [Nagios-users] wget attempts
> 
> On 8/9/06, Marc Powell <[EMAIL PROTECTED]> wrote:
> > You'll want to go all the way through the report generation process
in
> > your browswer _then_ grab the URL for the page with the actual
report.
> > This looks like you're giving wget the URL for the start of the
report
> > process.
> >
> 
> That's possible, but probably because of the way Apache is configured
> (vhosts and aliases and such)... still working on getting the URL I
> guess.

Shouldn't make any difference. Your browser still has to request a very
specific URL and will display that URL to you if you ask it. I've tested
it with I.E. and Firefox and it works as I expected.

--
Marc

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] CSV output out of availibility Reports

2006-08-10 Thread Eirik Robertstad
Has anyone been able to get this working?  I've tried to patch the 2.2
version and the 2.4 version with no luck:

Same error for 2.2 and 2.4 version:

Hunk #2 succeeded at 3434 (offset 13 lines).
Hunk #4 succeeded at 3873 (offset 13 lines).
Hunk #6 succeeded at 3937 (offset 13 lines).
Hunk #8 FAILED at 3984.
Hunk #9 succeeded at 4475 (offset 15 lines).
1 out of 10 hunks FAILED -- saving rejects to file avail.c.rej

I've attached the avail.c.rej file.

Regards,
Eirik

Sand Philipp wrote:
> Fyi,
> we found the old patch for avail.cgi in nagios 1.2 and modified it, so it can 
> be used with the Nagios-cvs released on Thursday 13.April 2006.
> I attached the file and already asked Ethan, if he can apply it the the 
> official avail.c.
>
> Have fun with it!
> Regards,
> Philipp
>  
>
>   
>> -Ursprüngliche Nachricht-
>> Von: [EMAIL PROTECTED] [mailto:nagios-users-
>> [EMAIL PROTECTED] Im Auftrag von Sand Philipp
>> Gesendet: Freitag, 7. April 2006 09:20
>> An: nagios-users@lists.sourceforge.net
>> Betreff: AW: [Nagios-users] RE: CSV output out of availibility Reports
>>
>> 
 Hi there,

 I remember a patch fort he avail.cgi, with which, you could
 generate a cs= v output out of each avail.cgi report. I
 already did some research in this list and with google, but I
 can't fin= d the patch any more. Can anyone please give me a
 hint, where I can download this patch? Has anyone tested this
 patch with the new version of the avail.cgi in Nag= ios 2.1?
 
>>> avail.cgi has _always_ done CSV output (as long as you choose
>>> all hosts or all services).
>>> It's up to you to filter the CSV by any means you care to choose.
>>> If you want some help, try
>>> - either putting all the CSV records in a DB and use SQL
>>>   (if you are serious about reporting you prob want to do this).
>>> - Nagios::Report
>>>   (munges and filters the CSV from avail.cgi).
>>>   
>> I was aware, that you can do this csv output when selecting all services
>> or all hosts. As wehave about 500 Hosts and 3000 Services, this is no
>> option when you want to make a report for the last 90 days.
>> As I said, there had been a patch for this, which I already applied to
>> my old Nagios Installation, but I didn't save this patch, and don't know
>> where I can download it.
>>
>> 
 Question for Ethan: why isn't this patch integrated into the
 avail.cgi by=  default? Is this planned for a future release?
 
>>> Patches welcome.
>>>   
>> When this patch would have been applied to the avail.cgi, I wouldn't
>> have the problem I got now ;)
>>
>> 
>>> BTW, there are bugs in avail.cgi relating to scheduled down time
>>> that are probably more important than this.
>>>   
>> I know, I already had to fight with this Problem, but I think that this
>> bug is fixed in 2.1.
>>
>> 
 Thanks in advance!
 
>>> I probably didn't do your letter justice. It seems on reflection that
>>> you meant you want the patch for avail.cgi that generates CSV from
>>> a specific availability report eg a new link in the report for
>>> a host or service that does CSV.
>>> However, I think it has been made pretty clear from the Nag roadmap
>>>   
>> that
>> 
>>> the CGIs have been end of lifed and will be replaced by PHP. I think
>>> that
>>> is a much better use of scare developer resources than trying
>>> to fix difficult and fragile code.
>>>   
>> As I said obove, the patch had already been developed, so you don't need
>> to sink hundrets of hours to apply it. I'm totally aware of the Nagios
>> Roadmap. But I'm not expecting Nagios 3.0 to be released in the near
>> future.
>>
>>
>> 
>>> As Radia Perlman said about sub-optimal routing, 'people should be
>>> grateful
>>> that their data is delivered at all'.
>>>   
>> Hmm, would be nice to see, when you tell this to your customers :-)
>>
>> Philipp
>>
>>
>>
>> **
>> **
>> sycor plastics - die Branchenloesung fuer die Kunststoffindustrie
>>  www.sycor-plastics.de
>>
>> sycor plastics - the solution for the plastic industry
>>  www.sycor-plastics.com
>>
>> **
>> **
>>
>>
>> Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche
>> Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse
>> Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort
>> und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine
>> Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt
>> rechtsverbindliche Angebote, die in Form von E-Mail versandt werden,
>> sofern dies nicht ausdruecklich in schriftlicher Form zwischen den
>> Parteien vereinbart wurde.
>>
>> This e-mail is confidential and may contain personal and/or 

[Nagios-users] Scalable Configuration Strategies?

2006-08-10 Thread Friedrich Clausen
Hi,

My colleague and I are in the process of giving our bloated, 
all-in-one-file Nagios configuration a re-haul. It was getting unwieldy 
and error prone searching through the config file to add/modify hosts 
and services. So I am emailing the list to get opinions and see what 
other people do in their environments.

Initial Idea:
-

We have a multi-department Nagios server, eg. Network Admins, Windows 
Admins and Unix Admins all use the same server. Currently every 
department has their own file, eg. unix-hosts.cfg, network-elements.cfg, 
etc. containing host definitions, hostgroups, service definitions all in 
one file.

So we have decided to try out the "cfg_dir" statement in nagios.cfg as 
the basis for our new configuration.  Our initial layout could be:

/etc/nagios - The main config files eg. nagios.cfg, resource.cfg, 
contacts.cfg, timeperiods.cfg, template.cfg. These files would only be 
editable by the system administrator of the Nagios box.

/etc/nagios/unix-admin - Within here would be the config files for each 
department. The directory and the files/dirs therein would be writeable 
by the "unix-admin" group. We are thinking of organising it like:

/etc/nagios/unix-admin/checkcommands.cfg
/etc/nagios/unix-admin/contactgroups.cfg
/etc/nagios/unix-admin/hostgroups.cfg
/etc/nagios/unix-admin/hosts/host1.example.com.cfg
/etc/nagios/unix-admin/hosts/host2.example.com.cfg
/etc/nagios/unix-admin/hosts/host3.example.com.cfg


The other departments would have a similar tree structure and 
permissions allowing them to modify their configurations.

Potential Issues:
-

The main problem is what to do with common services; do we create 
(Option 1) a, for example, ssh.cfg that lists all the hosts (or host 
groups) that use SSH? Or (Option 2) do we add the SSH check into each 
hosts config file seperately?

Option 1 pro - Easy to add new common service.
Option 1 cons - Must know in advance which services are common so as to 
edit the correct file (either hostXX.example.com.cfg or ssh.cfg) config. 
Will not always be clear. There are always exceptions.

Option 2 pro - Simple to configure, consistent.
Option 2 cons - Mass adding a service to many hosts will require 
scripting or much time.

I am inclined to go with option 2 for simplicity's sake.

Any comments or improvements or just what works for you will be appreciated!

Thanks,

Fred.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Reporting

2006-08-10 Thread Max H.
[EMAIL PROTECTED] wrote:
> Hmm okay. Looks like a problem with the MIME encoding.  What mail reader
> are you using?
> 
> If you re-run the perl script with the --debug=2 flags then it may show you
> what the error is.
> 
> If there are no errors visible, then your email reader may have a problem
> with the MIME inline .
> 
> Try commenting out lines 326, 237 and 238 which are the second part of the
> MIME attatchment. The lines should look like
> 
> 326   $smtp->datasend("--boundary\n");
> 327   $smtp->datasend("Content-type: text/plain\n");
> 328   $smtp->datasend("Please read the attatchment\n");
> 
> Make sure you only remove those lines.
> 
> If that doesn't work, then please mail me (directly) the script output, and
> attatch the file /tmp/nagios-report-htmlout.html
> 

Hi Rob,

I'm using both Squirrelmail webmail, and Thunderbird 1.5 with the same
results. No errors are displaying with debug=2 and the output file
completely empty. I know permissions are ok, and the file is actually
created, but nothing is inserted into it.

Do you still want me to attach the script output directly?

Max


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Reporting

2006-08-10 Thread rob . moss
Hmm okay. Looks like a problem with the MIME encoding.  What mail reader
are you using?

If you re-run the perl script with the --debug=2 flags then it may show you
what the error is.

If there are no errors visible, then your email reader may have a problem
with the MIME inline .

Try commenting out lines 326, 237 and 238 which are the second part of the
MIME attatchment. The lines should look like

326   $smtp->datasend("--boundary\n");
327   $smtp->datasend("Content-type: text/plain\n");
328   $smtp->datasend("Please read the attatchment\n");

Make sure you only remove those lines.

If that doesn't work, then please mail me (directly) the script output, and
attatch the file /tmp/nagios-report-htmlout.html

Cheers
Rob Moss.




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 10/08/2006 14:43


Sent by:[EMAIL PROTECTED]



To:nagios-users

cc:


Subject:Re: [Nagios-users] Reporting

2.4 - but I was confused about which plugin you were referring to...

My problem with your plugin is that I just get an empty e-mail, which
I'm forwarding here (less my company's warnings of confidentiality and
such).

On 8/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Newest version of nagios, being 2.5 or the unreleased 3.0 version?
>
> I'm running 2.4 with all the standard CGI's which is what it was built to
> work with.  It uses the CGI's standard reporting features, and should
work
> as-is unless the CGI's have changed dramatically between Nagios 2.4 and
> 2.5.  If you are using 3.0 then I wish you the best of luck but can't
> provide any help.

-- Forwarded message --
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 10 Aug 2006 08:38:40 -0500
Subject: Nagios alerts for month 08/2006
To: [EMAIL PROTECTED]



Please read the attatchment:
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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 message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Reporting

2006-08-10 Thread Max H.
Brian Loe wrote:
> 2.4 - but I was confused about which plugin you were referring to...
> 
> My problem with your plugin is that I just get an empty e-mail, which
> I'm forwarding here (less my company's warnings of confidentiality and
> such).
> 


I'm getting an empty e-mail as well. The first version of the plugin
works for me in Nagios 2.4. It dumps the CSS into the e-mail, which you
can easily then download the e-mail as a file and view it with your
favorite HTML viewer. I'm going through the script now trying to see
what's going on, but I'm far from a Perl person.

Max


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Reporting

2006-08-10 Thread Brian Loe
2.4 - but I was confused about which plugin you were referring to...

My problem with your plugin is that I just get an empty e-mail, which
I'm forwarding here (less my company's warnings of confidentiality and
such).

On 8/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Newest version of nagios, being 2.5 or the unreleased 3.0 version?
>
> I'm running 2.4 with all the standard CGI's which is what it was built to
> work with.  It uses the CGI's standard reporting features, and should work
> as-is unless the CGI's have changed dramatically between Nagios 2.4 and
> 2.5.  If you are using 3.0 then I wish you the best of luck but can't
> provide any help.

-- Forwarded message --
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 10 Aug 2006 08:38:40 -0500
Subject: Nagios alerts for month 08/2006
To: [EMAIL PROTECTED]



Please read the attatchment:
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Reporting

2006-08-10 Thread rob . moss
Newest version of nagios, being 2.5 or the unreleased 3.0 version?

I'm running 2.4 with all the standard CGI's which is what it was built to
work with.  It uses the CGI's standard reporting features, and should work
as-is unless the CGI's have changed dramatically between Nagios 2.4 and
2.5.  If you are using 3.0 then I wish you the best of luck but can't
provide any help.

This reporter is meant to be run from the command prompt, say from cron,
and you need to edit the appropriate configuration variables (as documented
in the file).

Cheers




Internet
[EMAIL PROTECTED] - 10/08/2006 14:24



To:Rob MOSS

cc:nagios-users


Subject:Re: [Nagios-users] Reporting

I've downloaded this plugin! Problem is, as I understand it, its not
compatible with the newest version of Nagios - correct? I would
certainly like to use it though - and if you can provide me with some
help that would be "most excellent"!

 Before I read that somewhere, I had tried to implement it. Clicking
on the link I added to the menu I would only get a bar and the
following errors in Apache logs for that virtual site:

[Thu Aug 10 08:19:48 2006] [error] [client 10.117.2.57] single
argument form of new() no longer supported, referer:
http://nagios.ecom.argushealth.com/nagios/cgi-bin/report.cgi
[Thu Aug 10 08:19:48 2006] [error] [client 10.117.2.57] try
Nagios::Config->new( Filename => $file ); at
/usr/local/nagios/sbin/report.cgi line 226, referer:
http://nagios.ecom.argushealth.com/nagios/cgi-bin/report.cgi

On 8/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi. This is one that I wrote to achieve just this task
>
>
http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640

>
> It's written in Perl and is pretty easy to read
>
> Cheers



This message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Reporting

2006-08-10 Thread Brian Loe
I've downloaded this plugin! Problem is, as I understand it, its not
compatible with the newest version of Nagios - correct? I would
certainly like to use it though - and if you can provide me with some
help that would be "most excellent"!

 Before I read that somewhere, I had tried to implement it. Clicking
on the link I added to the menu I would only get a bar and the
following errors in Apache logs for that virtual site:

[Thu Aug 10 08:19:48 2006] [error] [client 10.117.2.57] single
argument form of new() no longer supported, referer:
http://nagios.ecom.argushealth.com/nagios/cgi-bin/report.cgi
[Thu Aug 10 08:19:48 2006] [error] [client 10.117.2.57] try
Nagios::Config->new( Filename => $file ); at
/usr/local/nagios/sbin/report.cgi line 226, referer:
http://nagios.ecom.argushealth.com/nagios/cgi-bin/report.cgi

On 8/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi. This is one that I wrote to achieve just this task
>
> http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640
>
> It's written in Perl and is pretty easy to read
>
> Cheers

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] R: R: check+http on asp.net site

2006-08-10 Thread Tom Brown

> I refer to this host as http://
> 
> I way to solve (partially) the problem is to add "-e HTTP" at the end of
> check_http command, but I don't like it very much

are there more than 1 site? If so the IP will ignore the virtual hosts 
on the box and give the default site

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] R: R: R: check+http on asp.net site

2006-08-10 Thread Marco Borsani
Probably , but i am not sure because is an our "customer host".

Refering to this host with http:// on my browser I have not any problem

-}-Messaggio originale-
-}Da: Tom Brown [mailto:[EMAIL PROTECTED] 
-}Inviato: giovedì 10 agosto 2006 14.07
-}A: Marco Borsani
-}Cc: 'Nagios Users Mailinglist'
-}Oggetto: Re: [Nagios-users] R: R: check+http on asp.net site
-}
-}
-}> I refer to this host as http://
-}> 
-}> I way to solve (partially) the problem is to add "-e HTTP" 
-}at the end 
-}> of check_http command, but I don't like it very much
-}
-}are there more than 1 site? If so the IP will ignore the 
-}virtual hosts on the box and give the default site
-}


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] R: R: check+http on asp.net site

2006-08-10 Thread Marco Borsani
I refer to this host as http://

I way to solve (partially) the problem is to add "-e HTTP" at the end of
check_http command, but I don't like it very much

Marco

-}-Messaggio originale-
-}Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
-}Inviato: mercoledì 9 agosto 2006 20.59
-}A: Marco Borsani
-}Cc: 'Nagios Users Mailinglist'
-}Oggetto: Re: [Nagios-users] R: check+http on asp.net site
-}
-}On Wed, 9 Aug 2006, Marco Borsani wrote:
-}
-}> 
-}> Telnet  80
-}> ..
-}> GET / HTTP/1.0
-}> Host: 
-}
-}Ouch. I don not think you refer to this host as http:/// 
-}but http:/// in your web browser. That would render 
-}the test illegal.
-}
-}But by all means add the proper name (or IP if you so desire) 
-}into the parameters for check_http:
-}
-} -H, --hostname=ADDRESS
-}Host name argument for servers using host headers (virtual host)
-}Append a port to include it in the header (eg: example.com:5000)
-}
-}You need to check wether or not hostheaders are required in 
-}your webserver setup. My bet is you need to specify them and 
-}can 't do without them.
-}
-}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.
-}


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] wget attempts / Nagios reports

2006-08-10 Thread rob . moss
Guys if you want to do some reporting in Nagios, I already wrote a perl
script to generate reports

http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640

If it doesn't suit your exact purpose, you can modify it a little bit :-)

Cheers




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 09/08/2006 23:29


Sent by:[EMAIL PROTECTED]



To:nagios-users

cc:


Subject:Re: [Nagios-users] wget attempts

You'll want to go all the way through the report generation process in
your browswer _then_ grab the URL for the page with the actual report.
This looks like you're giving wget the URL for the start of the report
process.

--
Marc

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Brian Loe
> Sent: Wednesday, August 09, 2006 4:49 PM
> To: Nagios Users Mailinglist
> Subject: [Nagios-users] wget attempts
>
> using --save-headers, -p -k and saving it to a file (-O), this is all
> I've managed to get:
>
> HTTP/1.1 200 OK
> Date: Wed, 09 Aug 2006 21:40:43 GMT
> Server: Apache/2.0.54 (Linux/SUSE)
> Cache-Control: no-store
> Pragma: no-cache
> Expires: Thu, 01 Jan 1970 00:00:00 GMT
> Last-Modified: Wed, 09 Aug 2006 21:40:43 GMT
> Connection: close
> Content-Type: text/html
>
> 
> 
> 
> Nagios Availability
> 
>  HREF='http://nagios.mydomain.com/nagios/stylesheets/common.css'>
>  HREF='http://nagios.mydomain.com/nagios/stylesheets/avail.css'>
> 
> 
>
> 
> 
> 
> 
> 
> 
> Availability Report
> Last Updated: Wed Aug 9 16:40:43 CDT 2006
> Nagios® -  CLASS='homepageURL'>www.nagios.org
> Logged in as cssnetadmin
> 
> 
> 
> 
> 
> 
> 
> 
>  target='cshw'
>
onClick='javascript:window.open("/nagios/contexthelp/H1.html","cshw","wi
dt
>
h=550,height=600,toolbar=0,location=0,status=0,resizable=1,scrollbars=1"
);
> return
> true'> border=0 alt='Display context-sensitive help for this screen'
> title='Display context-sensitive help for this screen'>
> 
> 
> 
> 
> 
> Step 1: Select Report
> Type
> 
> http://nagios.mydomain.com/avail.cgi";>
> 
> Type:
> 
> 
> Hostgroup(s)
> Host(s)
> Servicegroup(s)
> Service(s)
> 
> 
>  type='submit' value='Continue to Step 2'>
> 
> 
> 
>
> 
> 
> 
> HTTP/1.1 200 OK
> Date: Wed, 09 Aug 2006 21:40:43 GMT
> Server: Apache/2.0.54 (Linux/SUSE)
> Last-Modified: Fri, 23 Jun 2006 17:48:50 GMT
> ETag: "4b78b-1a-d85be480"
> Accept-Ranges: bytes
> Content-Length: 26
> Keep-Alive: timeout=15, max=100
> Connection: Keep-Alive
> Content-Type: text/plain
>
> User-agent: *
> Disallow: /
>


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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 message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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 be

Re: [Nagios-users] Reporting

2006-08-10 Thread rob . moss
Hi. This is one that I wrote to achieve just this task

http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640

It's written in Perl and is pretty easy to read

Cheers




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 09/08/2006 19:12


Sent by:[EMAIL PROTECTED]



To:nagios-users

cc:


Subject:[Nagios-users] Reporting

Does anyone have a solution for reporting (via printable views - or
better, e-mail) in the 2.x version of Nagios. I'm really needing the
availability report sent at a specific interval...

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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 message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] My new ERROR PLEASE HELP

2006-08-10 Thread Jorg . Schulz

 Hi 
Are you installing Nagios from RPM ??? 

(13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi'




= Looks permission
problem between apache's running user and the owner of
the plugins.



Check you Permissions 

Verify your CGI-directory for rights and
owner
and 

try this one 
in you apache config file 



ScriptAlias /nagios/cgi-bin
/usr/local/nagios/sbin


    Options ExecCGI
    AllowOverride
None
    Order allow,deny
    Allow from all
    AuthName "Nagios
Access"
    AuthType Basic
    AuthUserFile
/usr/local/nagios/etc/htpasswd.users          
!! this is what i have , change it for your needs 
    Require valid-user


Alias /nagios /usr/local/nagios/share


    Options None
    AllowOverride
None
    Order allow,deny
    Allow from all
    AuthName "Nagios
Access"
    AuthType Basic
    AuthUserFile
/usr/local/nagios/etc/htpasswd.users
    Require valid-user




 /Joe
 
Mvh
Jörg Schulz 
Senior Konsult
Linux/Unix/Novell/Windows/Networking
SYSteam Kalmar AB 

Strömgatan 15
Box 99
S-391 21 Kalmar

Direkt 0480-456638
Mobil 0708-157806
E-Post [EMAIL PROTECTED]
http://
www.systeam.se






Arief Iqbal <[EMAIL PROTECTED]>

Sent by: [EMAIL PROTECTED]
2006-08-10 11:53




To
nagios milis 


cc



Subject
Re: [Nagios-users] Antw:
 My new ERROR PLEASE HELP








yes i have, when i write ScriptAlias /nagios/cgi-bin /usr/local/nagios,
and try to access statusmap then appear:

Internal Server Error
The server encountered an internal error or misconfiguration
and was unable to complete your request.
Please contact the server administrator, [EMAIL PROTECTED]
and inform them of the time the error occurred, and anything you might
have done that may have caused the error.
More information about this error may be available in
the server error log.


Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port
80


but if i write ScriptAlias /nagios/cgiurl/ /usr/local/nagios or
                  ScriptAlias
/nagios/cgi-bin/ /usr/local/nagios     , and try to access statusmap
then appear:

Not Found
The requested URL /nagios/cgi-bin/statusmap.cgi was not
found on this server.


Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port
80
   

Daniel Tuecks <[EMAIL PROTECTED]> wrote:
Do you have 

ScriptAlias /nagios/cgiurl/ /usr/local/nagios/sbin/

in your httpd.conf?

Daniel


>>> Arief Iqbal schrieb am Donnerstag, 10. August 2006 um
10:04 in Nachricht 04599.CNM350A5869:
> when i try to display statusmap, there's an internal server error,
i don't 
> know why, cause i've configure all configuration, this is the error:
> 
> Internal Server Error The server encountered an internal error or

> misconfiguration and was unable to complete your request.
> Please contact the server administrator, [EMAIL PROTECTED] and inform
them 
> of the time the error occurred, and anything you might have done that
may 
> have caused the error.
> More information about this error may be available in the server error

> log.
> 
> -
> Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 
> and this is in the error_log message:
> 
> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission

> denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer:

> http://192.168.87.100/nagios/side.html 
> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature
end of 
> script headers: statusmap.cgi, referer: 
> http://192.168.87.100/nagios/side.html 
> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does
not 
> exist:/var/www/html/favicon.ico
> 
> please help me, thanks
> 
> 
> -
> How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone
call rates.
> __
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 


-- 

---
Stadtverwaltung Neuwied
Daniel Tücks
- EDV -

Tel.: 02631 / 802 410
Fax: 02631 / 802 850
email: [EMAIL PROTECTED]


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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


Do you Yahoo!?
Everyone is raving about the all-new
Yahoo! Mail Bet

Re: [Nagios-users] My new ERROR PLEASE HELP

2006-08-10 Thread Tom Brown

> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] 
> (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' 
> failed, referer: http://192.168.87.100/nagios/side.html
> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end 
> of script headers: statusmap.cgi, referer: 
> http://192.168.87.100/nagios/side.html
> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not 
> exist:/var/www/html/favicon.ico
> 
> please help me, thanks

either the dir is not a cgi dir or the cgi's have the wrong permissions

are use using SElinux?

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Antw: My new ERROR PLEASE HELP

2006-08-10 Thread Arief Iqbal
yes i have, when i write ScriptAlias /nagios/cgi-bin /usr/local/nagios, and try to access statusmap then appear:  Internal Server Error  The server encountered an internal error or misconfiguration and was unable to complete your request.  Please contact the server administrator,  [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error.  More information about this error may be available in the server error log.   Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80   but if i write ScriptAlias /nagios/cgiurl/ /usr/local/nagios or       ScriptAlias /nagios/cgi-bin/ /usr/local/nagios     , and try to access statusmap then appear:  Not Found  The requested URL /nagios/cgi-bin/statusmap.cgi was
 not found on this server.   Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80     Daniel Tuecks <[EMAIL PROTECTED]> wrote: Do you have ScriptAlias /nagios/cgiurl/ /usr/local/nagios/sbin/in your httpd.conf?Daniel>>> Arief Iqbal schrieb am Donnerstag, 10. August 2006 um10:04 in Nachricht 04599.CNM350A5869:> when i try to display statusmap, there's an internal server error, i don't > know why, cause i've configure all configuration, this is the error:>  >  Internal Server Error  The server encountered an internal error or > misconfiguration and was unable to complete your request.>   Please contact the server administrator,  [EMAIL PROTECTED] and inform them > of the time
 the error occurred, and anything you might have done that may > have caused the error.>   More information about this error may be available in the server error > log.>   > ->  Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 >  and this is in the error_log message:>  >  [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission > denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: > http://192.168.87.100/nagios/side.html >  [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end of > script headers: statusmap.cgi, referer: > http://192.168.87.100/nagios/side.html >  [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not > exist:/var/www/html/favicon.ico>  >  please help me, thanks>  >>
 -> How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.>  __> Do You Yahoo!?> Tired of spam?  Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -- ---Stadtverwaltung NeuwiedDaniel Tücks- EDV -Tel.: 02631 / 802 410Fax: 02631 / 802 850email: [EMAIL PROTECTED]-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing
 listNagios-users@lists.sourceforge.nethttps://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 
	
		Do you Yahoo!? Everyone is raving about the  all-new Yahoo! Mail Beta. 
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] Antw: My new ERROR PLEASE HELP

2006-08-10 Thread Daniel Tuecks
Do you have 

ScriptAlias /nagios/cgiurl/ /usr/local/nagios/sbin/

in your httpd.conf?

Daniel


>>> Arief Iqbal<[EMAIL PROTECTED]> schrieb am Donnerstag, 10. August 2006 um
10:04 in Nachricht 04599.CNM350A5869:
> when i try to display statusmap, there's an internal server error, i don't 
> know why, cause i've configure all configuration, this is the error:
>  
>  Internal Server Error  The server encountered an internal error or 
> misconfiguration and was unable to complete your request.
>   Please contact the server administrator,  [EMAIL PROTECTED] and inform them 
> of the time the error occurred, and anything you might have done that may 
> have caused the error.
>   More information about this error may be available in the server error 
> log.
>   
> -
>  Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 
>  and this is in the error_log message:
>  
>  [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission 
> denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: 
> http://192.168.87.100/nagios/side.html 
>  [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end of 
> script headers: statusmap.cgi, referer: 
> http://192.168.87.100/nagios/side.html 
>  [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not 
> exist:/var/www/html/favicon.ico
>  
>  please help me, thanks
>  
>   
> -
> How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.
>  __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 


-- 

---
Stadtverwaltung Neuwied
Daniel Tücks
- EDV -

Tel.: 02631 / 802 410
Fax: 02631 / 802 850
email: [EMAIL PROTECTED]


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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] My new ERROR PLEASE HELP

2006-08-10 Thread Arief Iqbal
when i try to display statusmap, there's an internal server error, i don't know why, cause i've configure all configuration, this is the error:  Internal Server Error  The server encountered an internal error or misconfiguration and was unable to complete your request.  Please contact the server administrator,  [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error.  More information about this error may be available in the server error log.   Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80  and this is in the error_log message:  [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: http://192.168.87.100/nagios/side.html [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end of script headers:
 statusmap.cgi, referer: http://192.168.87.100/nagios/side.html [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not exist:/var/www/html/favicon.ico  please help me, thanks  
		How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates. __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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