adding info in hostextinfo.cfg

jeff vier jeff.vier at tradingtechnologies.com
Mon Nov 3 22:45:04 CET 2003


hostextinfo has nothing to do with this - it's just extra information
about the host.  There's no script running or anything like that.

If you want a "readout" of a traceroute command upon clicking on the
extra info icon, then write a CGI that does that and link to it (Which
it sounds like you're doing, so I don't know what you're missing that
the hostextinfo otherwise provides).

The title is going to be the same - the host is the host, not
traceroute.  Thus, it's not going to say "traceroute" (if it did, how
confusing would that be?  and, anyway, as I said before, the hostextinfo
def doesn't support a *_description field, so there's nowhere to pull
that information from, unless you want to get into some hacking of the
core code).

The icon should have changed (on the "Service Detail" page, for
instance) or, I should say, should have appeared.  If it didn't, then
there's a pathing issue.

If you want the more info folder thing to change, then put a different
image in the images directory (I did that, too).

On Mon, 2003-11-03 at 14:08, Tom wrote:
> I don't want it as a service to be monitored, just an additional script run
> against the host when asked to be run.  Which it does do now, just can't
> change the title or the icon for it.  A traceroute to the host would be
> additional info on the host not specifically a service on the machine.
> 
> Or is it considered a service by nagios?
> ----- Original Message ----- 
> From: "jeff vier" <jeff.vier at tradingtechnologies.com>
> To: "Kurgoth" <kurgoth at comcast.net>
> Cc: "Nagios-Users (E-mail)" <nagios-users at lists.sourceforge.net>
> Sent: Monday, November 03, 2003 1:32 PM
> Subject: Re: [Nagios-users] adding info in hostextinfo.cfg
> 
> 
> > I think you're confusing hostextinfo and serviceextinfo
> > The hostextinfo is explicitly for additional information about the host,
> > not a service on it.
> >
> > http://nagios.sourceforge.net/docs/1_0/xedtemplate.html
> >
> > note, there is no service_description field in hostextinfo defs.
> >
> > On Mon, 2003-11-03 at 12:45, Kurgoth wrote:
> > > I made the following addtionions to my hostextinfo.cfg
> > >
> > > define hostextinfo{
> > > host_name Server
> > > icon_image win40.jpg
> > > icon_image_alt windows
> > > vrml_image win40.png
> > > statusmap_image win40.png
> > > service_description    traceroute  <-- this doesn't seem to add
> > > anything at all.
> > > notes_url              /nagios/cgi-bin/traceroute.cgi?$HOSTADDRESS$
> > > }
> > >
> > >
> > > Which adds the little red folder over in the right hand corner saying
> > > there are additonal notes for this host.  When I click it it opens the
> > > traceroute cgi for the host.
> > >
> > > Is there a way to make this addition, and tell it to be named
> > > traceroute? and/or change hte image from that of the little red
> > > folder?
> > >
> > > Thanks.
> >
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list