Hostext info] ANYBODY??????

Marc Powell marc at ena.com
Fri Jan 21 16:59:39 CET 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Sudheer Muddappa
> Sent: Friday, January 21, 2005 9:20 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Hostext info] ANYBODY??????
> 
> Guys,
> 
> Can some one help me on this?
> 
> I have these parameters in my cgi.cfg file
> # DG EXTENDED DATA
> # Note: These config directives are only used if you compiled
> # in database support for extended data!
> # The user you specify here only needs SELECT privileges on the
> # 'hostextinfo' table in the database.
> 
> xeddb_host=localhost
> xeddb_port=3306
> xeddb_database=abc
> xeddb_username=abc
> xeddb_password=abc

If you've compiled Nagios with extended data in a database (as you
indicate above) then everything below is pointless. Nagios will look for
the extinfo definitions in the database, not hostextinfo.cfg.

http://nagios.sourceforge.net/docs/1_0/xdata-db.html#config_extinfo

You'll need to create the appropriate tables and populate them with your
extinfo data.

--
Marc
> 
> and
> 
> xedteplate_config_file=/etc/nagios/hostextinfo.cfg
> 
> in hostexetinfo.cfg i have this entry.
> 
> define hostextinfo{
>                 host_name netmonitor
>                 notes_url      none
>                 icon_image debian.png
>                 vrml_image debian.png
>                 gd2_icon_image debian.gd2
>                 icon_image_alt Debian Server
>                 statusmap_image debian.gd2
>                 2d_coords 100,200
>                 3d_coords 100.0,50.0,75.0
>            }
> 
> Is this right? Do i need to configure anything else?
> 
> Other severvices of nagios are managed by mysql db.




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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