help

Mike DePorter mdeporter at whoscalling.com
Mon Sep 9 22:14:09 CEST 2002



-----Original Message-----
From: nagios-users-request at lists.sourceforge.net
[mailto:nagios-users-request at lists.sourceforge.net] 
Sent: Friday, September 06, 2002 1:34 AM
To: nagios-users at lists.sourceforge.net
Subject: Nagios-users digest, Vol 1 #835 - 12 msgs

Send Nagios-users mailing list submissions to
	nagios-users at lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/nagios-users
or, via email, send a message with subject or body 'help' to
	nagios-users-request at lists.sourceforge.net

You can reach the person managing the list at
	nagios-users-admin at lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Nagios-users digest..."


Today's Topics:

   1. Nagios Web Interface IPv6 Weirdness (Terry Simons)
   2. Question regarding remote service checks (Wayne Mitchell)
   3. Errors viewing Nagios web page from remote PC (John Hicks)
   4. RE: Changing Notification Periods (OMeara, Randy)
   5. Re: Question regarding remote service checks (Jamin)
   6. Re: Antwort: Re: [Nagios-users] Image Problems (Jamin)
   7. Re: Changing Notification Periods (Subhendu Ghosh)
   8. Re: Time based WARN/CRIT values (Subhendu Ghosh)
   9. Re: Errors viewing Nagios web page from remote PC (Subhendu Ghosh)
  10. Antwort: Re: Antwort: Re: [Nagios-users] Image Problems partly solved
(ralf.lebeda at ezi.de)
  11. Whats wrong with hostextinfo!! (=?iso-8859-1?Q?Fredrik_W=E4nglund?=)
  12. More problems with hostextinfo!! (=?iso-8859-1?Q?Fredrik_W=E4nglund?=)

--__--__--

Message: 1
Date: Thu, 5 Sep 2002 16:23:59 -0600
From: Terry Simons <galimore at mac.com>
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Nagios Web Interface IPv6 Weirdness

Is anyone using IPv6 with Apache and Nagios?

I'm running into some weird issues that I can't quite track down.

I'm using Apache version 2.0.40 on Slackware and Nagios version 1.0b5.

I don't think it's a Nagios problem... but I just thought I'd ask the 
list to see if anyone else has experienced any problems.

The CGIs aren't doing anything specifically with v4 addresses are they?

Thanks!

- Terry



--__--__--

Message: 2
From: "Wayne Mitchell" <wmitchv71 at hotmail.com>
To: nagios-users at lists.sourceforge.net
Date: Thu, 05 Sep 2002 23:22:20 +0000
Subject: [Nagios-users] Question regarding remote service checks



I am a first time user to nagios, and would like to know if it is possible 
to grant access to the status reports, for an individual ( server per say ).

So that if I have client who would like to know the current and historical 
status of his account, could he do that without gaining access to the rest 
of them? Any Help would be appreciated.
                                                       Woody


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx



--__--__--

Message: 3
From: John Hicks <JHicks at agribeef.com>
To: "'nagios-users at lists.sourceforge.net'"
	 <nagios-users at lists.sourceforge.net>
Date: Thu, 5 Sep 2002 17:47:51 -0600 
Subject: [Nagios-users] Errors viewing Nagios web page from remote PC

Running Nagiso on RH7.2, Nagios is up and running fine. I have enabled cgi
and html authentication and when I open the page from the localhost and
enter username and password I see all hosts fine and all pages are
available, however when I do this from a remote machine I get prompted and
enter my username and password and the nagios page comes up but on all the
status pages the stats are either very old or not there at all. Also the
tactical overview page gives me the error "Error: Could not open main config
file '/usr/local/nagios/etc/nagios.cfg' for reading!" Any ideas would be
great. Thanks,
John Hicks



--__--__--

Message: 4
Date: Thu, 05 Sep 2002 16:51:26 -0700
From: "OMeara, Randy" <randy.omeara at lmco.com>
Subject: RE: [Nagios-users] Changing Notification Periods
To: "'Rusch, Daniel'" <Daniel.Rusch at GlobalCrossing.com>,
       nagios-users at lists.sourceforge.net

Why not just enter the odd scheduled downtimes with the Nagios Scheduled
Downtime CGI interface using:

For a host:
http://<your-nagios-server>/nagios/cgi-bin/cmd.cgi?cmd_typ=55&host=<DB-serve
r>

For a service:
http://<your-nagios-server>/nagios/cgi-bin/cmd.cgi?cmd_typ=56&host=<DB-host>
&service=<DB-service>

If you have *many* hosts/services to schedule, you could script it to write
to the Nagios cmd pipe.

Regards,

Randy


-----Original Message-----
From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com]
Sent: Thursday, September 05, 2002 2:50 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Changing Notification Periods


All,

How do you handle hosts that the weekly scheduled downtime keeps changing.
For example, I have a system call it Homer that normal goes down for
database backup etc. On Sunday morning at 3 am to 4 am.  But about twice a
month or so they want to change the time to something else (say 4 am to 5
am).  How do you handle this.  I currently as a admin go in and hand edit
the cfg file. It's no big deal for one server but do it for 50, agh...  Is
the a way to allow a "special trusted user" to change this time through the
nagios interface?

Thanks,

Dan


--__--__--

Message: 5
Date: Thu, 5 Sep 2002 19:39:56 -0600 (MDT)
From: Jamin <jragle at unm.edu>
To: Wayne Mitchell <wmitchv71 at hotmail.com>
cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Question regarding remote service checks

Yipes.  Sounds like a difficult problem there.  The only thing I can think 
of off hand is use webmin and make your own module to control what users 
have access to in nagios via the ACLs.

BTW, anyone out there know if the NetSaint module for webmin is going to 
get updated for nagios?  (I would hate to do the extra work of converting 
it over to nagios if it has already been done.)

Nagios and webmin get along nicely.  =)  Now if I could only figure out 
how to syncronize the user lists between the two apps.

-Jamin
----------------------------------------------------------------------
 It is by caffeine alone I set my mind in motion. 
 It is by the beans of Java that thoughts acquire speed.
 The hands acquire shaking.
 The shaking becomes a warning.
 It is by caffeine alone I set my mind in motion. -Influenced by Dune
----------------------------------------------------------------------

On Thu, 5 Sep 2002, Wayne Mitchell wrote:

> 
> 
> I am a first time user to nagios, and would like to know if it is possible

> to grant access to the status reports, for an individual ( server per say
). 
> So that if I have client who would like to know the current and historical

> status of his account, could he do that without gaining access to the rest

> of them? Any Help would be appreciated.
>                                                        Woody
> 
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 




--__--__--

Message: 6
Date: Thu, 5 Sep 2002 20:01:57 -0600 (MDT)
From: Jamin <jragle at unm.edu>
To: ralf.lebeda at ezi.de
cc: nagios-users at lists.sourceforge.net
Subject: Re: Antwort: Re: [Nagios-users] Image Problems

Hmmm, I would suggest doing the usual things:

  o check the permissions on all your files 
  o check the ownership on all your files
  o make sure filenames in the cfg files match the actual files
  o make sure the physical_html_path (in cgi.cfg) is correct
  o ... after that I would try to uncomment the statusmap_image line 
    and comment out the gd2_image line. (I don't think gd2_image is 
    a valid tag for the extended info.)

http://nagios.sourceforge.net/docs/1_0/xedtemplate.html

Actually if you do the above list in reverse order it might save some 
time...  what can I say, I'm sadistic.  =)

On Thu, 5 Sep 2002 ralf.lebeda at ezi.de wrote:

> 
> Hi,
> 
> I've got them in the mentioned directory, but it's still not working.
> 
> Please help
> 
> 
> 
>

>                     Jamin <jragle at unm.edu>

>                     Gesendet von:                         An:
ralf.lebeda at ezi.de                                           
>                     nagios-users-admin at lists.sourc        Kopie:
nagios-users at lists.sourceforge.net                           
>                     eforge.net                            Thema:  Re:
[Nagios-users] Image Problems                            
>

>

>                     04.09.2002 23:59

>

>

> 
> 
> 
> 
> Ralf, make sure your images are in the /nagios/share/images/logos
> directory.
> 
> -Jamin
> 
> On Wed, 4 Sep 2002 ralf.lebeda at ezi.de wrote:
> 
> > Hi,
> >
> > how could I get the fancy ICONS to work??
> >
> > In CGI.CFG
> > ...
> > xedtemplate_config_file=/etc/nagios/hostextinfo.cfg
> > ....
> >
> > In HOSTEXTINFO.CFG
> > ...
> > define hostextinfo[
> >      host_name rubin
> >      icon_image     linux40.png
> >      icon_image_alt Suse Linux
> >      vrml_image     linux40.png
> > #    statusmap_image     linux40.gd2
> >      gd2_image linux40.gd2
> >      2d_coords 100,250
> >      3d_coords 100.0,50.0,75.0
> > }
> > ....
> >
> > compiled with
> > ./configure --with-template-extinfo --with-gd-lib=/usr/lib
> > --with-gd-inc=/usr/include --with-nagios-user=daemon
> > --with-nagios-grp=daemon --with-default-status --with-default-comments
> > --with-template-objects --with-default-retention --with-default-perfdata
> > --with-default-downtime --enable-embedded-perl
> >
> > Thanks
> >
> > ---------
> > Ralf Lebeda                                   E-Mail: ralf.lebeda at ezi.de
> > IT - Administration
> >
> > EZI GmbH                                      URL: WWW.EZI.DE
> > Kreuzgasse 42
> > D-35708 Haiger
> >
> > Tel.: +49 (0)2773-835135
> > Fax: +49 (0)2773-835195
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone?  Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
> 
> ----------------------------------------------------------------------
> "The Green Bay Packers never lost a game...they just ran out of time"
>                                               -- Vince Lombardi
> ----------------------------------------------------------------------
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 
> 
> 
> 

______________________________________________________________________
Procrastination - "Hard work often pays off after time, but laziness
                   always pays off now."
______________________________________________________________________





--__--__--

Message: 7
Date: Thu, 5 Sep 2002 23:17:24 -0400 (EDT)
From: Subhendu Ghosh <sghosh at sghosh.org>
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Changing Notification Periods

On Thu, 5 Sep 2002, Rusch, Daniel wrote:

> All,
> 
> How do you handle hosts that the weekly scheduled downtime keeps changing.
> For example, I have a system call it Homer that normal goes down for
> database backup etc. On Sunday morning at 3 am to 4 am.  But about twice a
> month or so they want to change the time to something else (say 4 am to 5
> am).  How do you handle this.  I currently as a admin go in and hand edit
> the cfg file. It's no big deal for one server but do it for 50, agh...  Is
> the a way to allow a "special trusted user" to change this time through
the
> nagios interface?
> 
> Thanks,
> 
> Dan
> 

why edit the cfg?

Anyone who is a contact for the host/service should be able to schedule a 
downtime.  Alternatively a script to submit an external command the 
submits the following:

SCHEDULE_SVC_DOWNTIME;host;service_name;start epoch;end epoch;fixed=1
otherwise=0;duration (sec);contact name;comment

SCHEDULE_HOST_DOWNTIME;host;service_name;start epoch;end epoch;fixed=1
otherwise=0;duration (sec);contact name;comment


-- 

-sg



--__--__--

Message: 8
Date: Thu, 5 Sep 2002 23:19:26 -0400 (EDT)
From: Subhendu Ghosh <sghosh at sghosh.org>
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Time based WARN/CRIT values

On Thu, 5 Sep 2002, Jeremy Tinley wrote:

> Is there a way to change parameters based on time of day without
> hardcoding it into the script.
> 
> I have a process that's allowed to get a little more out-of-control at
> night.  I don't want the pager going off with the same thresholds that
> it does during the day, while I'm at work.
> 
> Currently, I have 2 service checks, process and process-night.
> Process-night has higher critical and warning values.  It's also
> configured to check and notify during nonworkhours.  Same is true for
> the process service check.
> 
> Did I pretty much hit the workaround, or is there something more obvious
> I'm missing?

You are pretty much on target.  The plugins have no concept of time.  so 
two different definitions would be needed...

-- 

-sg



--__--__--

Message: 9
Date: Thu, 5 Sep 2002 23:21:50 -0400 (EDT)
From: Subhendu Ghosh <sghosh at sghosh.org>
To: John Hicks <JHicks at agribeef.com>
cc: "'nagios-users at lists.sourceforge.net'"
<nagios-users at lists.sourceforge.net>
Subject: Re: [Nagios-users] Errors viewing Nagios web page from remote PC

On Thu, 5 Sep 2002, John Hicks wrote:

> Running Nagiso on RH7.2, Nagios is up and running fine. I have enabled cgi
> and html authentication and when I open the page from the localhost and
> enter username and password I see all hosts fine and all pages are
> available, however when I do this from a remote machine I get prompted and
> enter my username and password and the nagios page comes up but on all the
> status pages the stats are either very old or not there at all. Also the
> tactical overview page gives me the error "Error: Could not open main
config
> file '/usr/local/nagios/etc/nagios.cfg' for reading!" Any ideas would be
> great. Thanks,
> John Hicks
> 
> 

Umm.. something with your apache config.  Do you have a single definition 
for the nagios site or two in httpd.conf?


-- 
-sg



--__--__--

Message: 10
Subject: Antwort: Re: Antwort: Re: [Nagios-users] Image Problems partly
solved
To: Jamin <jragle at unm.edu>
Cc: nagios-users at lists.sourceforge.net
From: ralf.lebeda at ezi.de
Date: Fri, 6 Sep 2002 07:50:55 +0200


Hi ,

I found the trouble of not displaying the images.

I had all the "cfg-files" in a directory /etc/nagios. Within the files I
put all the paths corresponding to my /etc/nagios directory.
Everything was working but the hostextinfo icons were not displayed and
also the the help icon for onlinehelp wasn't there.

I copied all the "cfg-files" to /usr/local/nagios/etc and changed all the
lines within again.

Since then I get all the icons displayed and the help icon.   Great, great
:-))))))

It seems that the CGI-scripts tried to find the information within
/usr/local/nagios/etc and not in /etc/nagios.
I think I must give the changing "etc" path somewhere at configuration
time, but I don't know where.

Maybe someone does know that??????

Thanks and Rgds
Ralf



 

                    Jamin

                    <jragle at unm.e        An:     ralf.lebeda at ezi.de

                    du>                  Kopie:
nagios-users at lists.sourceforge.net                           
                                         Thema:  Re: Antwort: Re:
[Nagios-users] Image Problems               
                    06.09.2002

                    04:01

 

 





Hmmm, I would suggest doing the usual things:

  o check the permissions on all your files
  o check the ownership on all your files
  o make sure filenames in the cfg files match the actual files
  o make sure the physical_html_path (in cgi.cfg) is correct
  o ... after that I would try to uncomment the statusmap_image line
    and comment out the gd2_image line. (I don't think gd2_image is
    a valid tag for the extended info.)

http://nagios.sourceforge.net/docs/1_0/xedtemplate.html

Actually if you do the above list in reverse order it might save some
time...  what can I say, I'm sadistic.  =)

On Thu, 5 Sep 2002 ralf.lebeda at ezi.de wrote:

>
> Hi,
>
> I've got them in the mentioned directory, but it's still not working.
>
> Please help
>
>
>
>

>                     Jamin <jragle at unm.edu>

>                     Gesendet von:                         An:
ralf.lebeda at ezi.de
>                     nagios-users-admin at lists.sourc        Kopie:
nagios-users at lists.sourceforge.net
>                     eforge.net                            Thema:  Re:
[Nagios-users] Image Problems
>

>

>                     04.09.2002 23:59

>

>

>
>
>
>
> Ralf, make sure your images are in the /nagios/share/images/logos
> directory.
>
> -Jamin
>
> On Wed, 4 Sep 2002 ralf.lebeda at ezi.de wrote:
>
> > Hi,
> >
> > how could I get the fancy ICONS to work??
> >
> > In CGI.CFG
> > ...
> > xedtemplate_config_file=/etc/nagios/hostextinfo.cfg
> > ....
> >
> > In HOSTEXTINFO.CFG
> > ...
> > define hostextinfo[
> >      host_name rubin
> >      icon_image     linux40.png
> >      icon_image_alt Suse Linux
> >      vrml_image     linux40.png
> > #    statusmap_image     linux40.gd2
> >      gd2_image linux40.gd2
> >      2d_coords 100,250
> >      3d_coords 100.0,50.0,75.0
> > }
> > ....
> >
> > compiled with
> > ./configure --with-template-extinfo --with-gd-lib=/usr/lib
> > --with-gd-inc=/usr/include --with-nagios-user=daemon
> > --with-nagios-grp=daemon --with-default-status --with-default-comments
> > --with-template-objects --with-default-retention
--with-default-perfdata
> > --with-default-downtime --enable-embedded-perl
> >
> > Thanks
> >
> > ---------
> > Ralf Lebeda                                   E-Mail:
ralf.lebeda at ezi.de
> > IT - Administration
> >
> > EZI GmbH                                      URL: WWW.EZI.DE
> > Kreuzgasse 42
> > D-35708 Haiger
> >
> > Tel.: +49 (0)2773-835135
> > Fax: +49 (0)2773-835195
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone?  Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
>
> ----------------------------------------------------------------------
> "The Green Bay Packers never lost a game...they just ran out of time"
>                                               -- Vince Lombardi
> ----------------------------------------------------------------------
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>
>

______________________________________________________________________
Procrastination - "Hard work often pays off after time, but laziness
                   always pays off now."
______________________________________________________________________









--__--__--

Message: 11
Date: Fri, 6 Sep 2002 09:03:01 +0200
From: =?iso-8859-1?Q?Fredrik_W=E4nglund?= <Fredrik.Wanglund at datavis.se>
To: <nagios-users at lists.sourceforge.net>
Subject: [Nagios-users] Whats wrong with hostextinfo!!

I can't get hostextinfo to work. I am using template-based configuration =
and my cgi.cfg has the following line

xedtemplate_config_file=3D/usr/local/nagios/etc/xedtemplate.cfg

the file xedtemplate.cfg looks like this:

define hoststextinfo{
host_name               sheriff
notes_url               http://localhost.com/info
icon_image              linux40.png
icon_image_alt          Mandrake-8.2
vrml_image              linux40.png
statusmap_image         linux40.gd2
2d_coords               100,250
3d_coords               100.0,50.0,75.0
}

define serviceextinfo{
host_name               sheriff
service_description     Ftp
notes_url               http://localhost.com/info
icon_image              sun40.png
icon_image_alt          Security-Related Alerts
}


When I look at the service, a SUN-logo and an icon with a link to the =
notes_url is shown. But when I look at the host nothing of my ext-info =
is shown, neither in the host-details nor in the status-map. Why?
The logos are in /usr/local/nagios/share/logos and everyone have =
read-access.



/FredrikW


--__--__--

Message: 12
Date: Fri, 6 Sep 2002 10:32:52 +0200
From: =?iso-8859-1?Q?Fredrik_W=E4nglund?= <Fredrik.Wanglund at datavis.se>
To: <nagios-users at lists.sourceforge.net>
Subject: [Nagios-users] More problems with hostextinfo!!

I am using the template-based configuration below. In this case, all my =
linux-boxes got an penguin-logo, but if I uncomment the last two lines =
on the last host ALL three hosts get the RedHat-logo.. Have I =
misunderstood the template-concept?


define hostextinfo{
name                    linux_template
icon_image              linux40.png
icon_image_alt          Linux
vrml_image              linux40.png
statusmap_image         linux40.gd2
2d_coords               100,250
3d_coords               100.0,50.0,75.0
register                0
}

define hostextinfo{
host_name               barbar
use                     linux_template
}
define hostextinfo{
host_name               sheriff
use                     linux_template
}
define hostextinfo{
host_name               bepa
use                     linux_template
#icon_image             redhat.png
#statusmap_image                redhat.png
}




--__--__--

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


End of Nagios-users Digest


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list