Hostext info] ANYBODY??????

Larry Naves lnaves at asc.edu
Tue Jan 25 15:14:41 CET 2005


Make sure that you have debian.* in the correct path.
"/usr/local/nagios/share/images/logos/debian.png" Look at your apache (etc.)
error logs and make sure it doesn't tell you that it can't find the debian
image.

   _____  

From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Balestra,
Roberto
Sent: Tuesday, January 25, 2005 3:26 AM
To: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Hostext info] ANYBODY??????


Hi,
your output seems right. The only difference with mine is
notes_url I have relative path but I don't think it may be a problem
icon_image I have a gif image
vrml_image I have a jpg image
 
Try to convert format image. If it doen't work please,may you describe me
what exactly happen to you.
Thanks,
Roberto

-----Original Message-----
From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com]
Sent: lunedì 24 gennaio 2005 18.50
To: Balestra, Roberto
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Hostext info] ANYBODY??????


Hi Roberto,
This is what I  have in my hostextinfo table.
 
mysql> select * from hostextinfo;
+------------+-------------------+------------+------------+----------------
+----------------+------+------+----------+---------+---------+-------------
---+----------------+
| host_name  | notes_url         | icon_image | vrml_image | gd2_icon_image
| icon_image_alt | x_2d | y_2d | x_3d     | y_3d    | z_3d    |
have_2d_coords | have_3d_coords |
+------------+-------------------+------------+------------+----------------
+----------------+------+------+----------+---------+---------+-------------
---+----------------+
| netmonitor | HYPERLINK "http://netmonitor"http://netmonitor | debian.png |
debian.png | debian.gd2     | Debian         |  100 |  200 | 100.0000 |
50.0000 | 75.0000 |              5 |              5 |
| gw198      | none              | debian.png | debian.png | debian.gd2
| Debian         |  100 |  200 | 100.0000 | 50.0000 | 75.0000 |
5 |              5 |
+------------+-------------------+------------+------------+----------------
+----------------+------+------+----------+---------+---------+-------------
---+----------------+

Thanks,
Sudheer

Balestra, Roberto wrote:


Hi,
I have hostextinfo and serviceextinfo on mysql (3.23.58) on RH 7.3 using
Nagios 1.2
In cgi.cfg I had comment hostextinfo and serviextinfo rows and I have added
host, post, db, user and password as you.
I have insert into table parametres that I want.
Nothing else.
If it doesn't work try to see your configuration of mysql, permission or
case character. Try to connect to your mysql with:
mysql -u abc -pabc -D abc
and then run command
select * from hostextinfo;
Please, give me a feedback.
Bye
    Roberto

-----Original Message-----
From: HYPERLINK
"mailto:nagios-users-admin at lists.sourceforge.net"nagios-users-admin at lists.so
urceforge.net [HYPERLINK
"mailto:nagios-users-admin at lists.sourceforge.net"mailto:nagios-users-admin at l
ists.sourceforge.net]On Behalf Of Sudheer Muddappa
Sent: venerdì 21 gennaio 2005 23.16
To: HYPERLINK
"mailto:nagios-users at lists.sourceforge.net"nagios-users at lists.sourceforge.ne
t
Subject: Re: [Nagios-users] Hostext info] ANYBODY??????


Any of you guys using hostextinfo and serviceextinfo with mysql?

Sudheer Muddappa wrote:


I have populated the hostextinfo table wit the data. Still its not working.


Marc Powell wrote:


  

-----Original Message-----

From: HYPERLINK
"mailto:nagios-users-admin at lists.sourceforge.net"nagios-users-admin at lists.so
urceforge.net [HYPERLINK "mailto:nagios-users"mailto:nagios-users-

HYPERLINK "mailto:admin at lists.sourceforge.net"admin at lists.sourceforge.net]
On Behalf Of Sudheer Muddappa

Sent: Friday, January 21, 2005 9:20 AM

To: HYPERLINK
"mailto:nagios-users at lists.sourceforge.net"nagios-users at lists.sourceforge.ne
t

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.



HYPERLINK
"http://nagios.sourceforge.net/docs/1_0/xdata-db.html#config_extinfo"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 HYPERLINK
"http://www.intelliview.com/go/osdn_nl"http://www.intelliview.com/go/osdn_nl

_______________________________________________

Nagios-users mailing list

HYPERLINK
"mailto:Nagios-users at lists.sourceforge.net"Nagios-users at lists.sourceforge.ne
t

HYPERLINK
"https://lists.sourceforge.net/lists/listinfo/nagios-users"https://lists.sou
rceforge.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





  






--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 1/21/2005



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 1/21/2005
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050125/fa518ef2/attachment.html>


More information about the Users mailing list