Depuis quelques temps j'essai de mettre en place nagios ds mon réseau.
En fait tout tourne niquel à part que je n'arrive pas a avoir un
statusmap personnalisé.
Quelqu'un aurait il deja configurer le statusmap personnaliser de nagios.
Voici ma config:
Toutes les icones sont dans /usr/share/doc/nagios/htdocs/images/logos/
j'ai inclu cette ligne dans le fichier /etc/nagios/dgi.cfg:
xedtemplate_config_file=/etc/nagios/hostextinfo.cfg
et voici mon fichier hostextinfo.cfg :
# This definition is used as a template
define hostextinfo{
name linux ; This name is
referenced in other hostextinfo definitions that
; want to use
this as a template
icon_image tux.png
icon_image_alt Linux template
vrml_image novell40.png
gd2_image tux.gd2
register 0 ; DO NOT
REGISTER THIS DEFINITION - IT IS JUST A TEMPLATE!!
}
# A 'normal' definition
define hostextinfo{
use linux ; Use the
hostextinfo definition with name 'he1' as a template
; for this
definition
host_name router2 ; Name of the host, as
recognized/used by Nagios
2d_coords 100,350 ; 2-D drawing
coordinates
3d_coords 4.0,0.0,0.0 ; 3-D drawing
coordinates
}
# Another 'normal' definition
define hostextinfo{
use linux ; Use the
hostextinfo definition with name 'he1' as a template
; for this
definition.
host_name router1 ; Name of the
host, as recognized/used by Nagios
2d_coords 65,425 ; 2-D drawing
coordinates
3d_coords 3.0,0.0,0.0 ; 3-D drawing
coordinates
}
# A very minimalistic definition - has only 3-D drawing coorindates
define hostextinfo{
use linux
host_name switch1
2d_coords 65,500
3d_coords 4.0,0.0,-1.0
}
define hostextinfo{
use linux
host_name switch2
2d_coords 100,300
3d_coords 4.0,0.0,-1.0
}
Malgré tout cela lorsque j'essai d'acceder au statusmap il me repond :
You have not supplied any host drawing coordinates, so you cannot use
this layout method.
Si quequ'un pourait m'aider a comprendre se serai genial.
Merci d'avance
--
###L'abus de debian est bon pour la santé###
Martins Armando
--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Martins Armando
Martins Armando a écrit :
Bonjour à tous,
Depuis quelques temps j'essai de mettre en place nagios ds mon réseau.
En fait tout tourne niquel à part que je n'arrive pas a avoir un statusmap personnalisé.
Quelqu'un aurait il deja configurer le statusmap personnaliser de nagios.
Voici ma config:
Toutes les icones sont dans /usr/share/doc/nagios/htdocs/images/logos/
j'ai inclu cette ligne dans le fichier /etc/nagios/dgi.cfg: xedtemplate_config_file=/etc/nagios/hostextinfo.cfg
et voici mon fichier hostextinfo.cfg :
# This definition is used as a template define hostextinfo{ name linux ; This name is referenced in other hostextinfo definitions that ; want to use this as a template icon_image tux.png icon_image_alt Linux template vrml_image novell40.png gd2_image tux.gd2 register 0 ; DO NOT REGISTER THIS DEFINITION - IT IS JUST A TEMPLATE!! }
# A 'normal' definition define hostextinfo{ use linux ; Use the hostextinfo definition with name 'he1' as a template ; for this definition host_name router2 ; Name of the host, as recognized/used by Nagios 2d_coords 100,350 ; 2-D drawing coordinates 3d_coords 4.0,0.0,0.0 ; 3-D drawing coordinates }
# Another 'normal' definition define hostextinfo{ use linux ; Use the hostextinfo definition with name 'he1' as a template ; for this definition. host_name router1 ; Name of the host, as recognized/used by Nagios 2d_coords 65,425 ; 2-D drawing coordinates 3d_coords 3.0,0.0,0.0 ; 3-D drawing coordinates }
# A very minimalistic definition - has only 3-D drawing coorindates define hostextinfo{ use linux host_name switch1 2d_coords 65,500 3d_coords 4.0,0.0,-1.0 } define hostextinfo{ use linux host_name switch2 2d_coords 100,300 3d_coords 4.0,0.0,-1.0 }
Malgré tout cela lorsque j'essai d'acceder au statusmap il me repond :
You have not supplied any host drawing coordinates, so you cannot use this layout method.
Si quequ'un pourait m'aider a comprendre se serai genial.
Merci d'avance
C bon en fait le problème venait du fait que j'utilise mysql, et les
info sont stocker dans la base de données et non dans le fichier hostextinfo.cfg
-- ###L'abus de debian est bon pour la santé###
Martins Armando
-- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench
Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to with a subject of "unsubscribe". Trouble? Contact
Martins Armando a écrit :
Bonjour à tous,
Depuis quelques temps j'essai de mettre en place nagios ds mon réseau.
En fait tout tourne niquel à part que je n'arrive pas a avoir un
statusmap personnalisé.
Quelqu'un aurait il deja configurer le statusmap personnaliser de nagios.
Voici ma config:
Toutes les icones sont dans /usr/share/doc/nagios/htdocs/images/logos/
j'ai inclu cette ligne dans le fichier /etc/nagios/dgi.cfg:
xedtemplate_config_file=/etc/nagios/hostextinfo.cfg
et voici mon fichier hostextinfo.cfg :
# This definition is used as a template
define hostextinfo{
name linux ; This name is
referenced in other hostextinfo definitions that
; want to use
this as a template
icon_image tux.png
icon_image_alt Linux template
vrml_image novell40.png
gd2_image tux.gd2
register 0 ; DO NOT
REGISTER THIS DEFINITION - IT IS JUST A TEMPLATE!!
}
# A 'normal' definition
define hostextinfo{
use linux ; Use the
hostextinfo definition with name 'he1' as a template
; for this
definition
host_name router2 ; Name of the host, as
recognized/used by Nagios
2d_coords 100,350 ; 2-D drawing
coordinates
3d_coords 4.0,0.0,0.0 ; 3-D drawing
coordinates
}
# Another 'normal' definition
define hostextinfo{
use linux ; Use the
hostextinfo definition with name 'he1' as a template
; for this
definition.
host_name router1 ; Name of the
host, as recognized/used by Nagios
2d_coords 65,425 ; 2-D drawing
coordinates
3d_coords 3.0,0.0,0.0 ; 3-D drawing
coordinates
}
# A very minimalistic definition - has only 3-D drawing coorindates
define hostextinfo{
use linux
host_name switch1
2d_coords 65,500
3d_coords 4.0,0.0,-1.0
}
define hostextinfo{
use linux
host_name switch2
2d_coords 100,300
3d_coords 4.0,0.0,-1.0
}
Malgré tout cela lorsque j'essai d'acceder au statusmap il me repond :
You have not supplied any host drawing coordinates, so you cannot use
this layout method.
Si quequ'un pourait m'aider a comprendre se serai genial.
Merci d'avance
C bon en fait le problème venait du fait que j'utilise mysql, et les
info sont stocker dans la base de données et non dans le fichier
hostextinfo.cfg
--
###L'abus de debian est bon pour la santé###
Martins Armando
--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Depuis quelques temps j'essai de mettre en place nagios ds mon réseau.
En fait tout tourne niquel à part que je n'arrive pas a avoir un statusmap personnalisé.
Quelqu'un aurait il deja configurer le statusmap personnaliser de nagios.
Voici ma config:
Toutes les icones sont dans /usr/share/doc/nagios/htdocs/images/logos/
j'ai inclu cette ligne dans le fichier /etc/nagios/dgi.cfg: xedtemplate_config_file=/etc/nagios/hostextinfo.cfg
et voici mon fichier hostextinfo.cfg :
# This definition is used as a template define hostextinfo{ name linux ; This name is referenced in other hostextinfo definitions that ; want to use this as a template icon_image tux.png icon_image_alt Linux template vrml_image novell40.png gd2_image tux.gd2 register 0 ; DO NOT REGISTER THIS DEFINITION - IT IS JUST A TEMPLATE!! }
# A 'normal' definition define hostextinfo{ use linux ; Use the hostextinfo definition with name 'he1' as a template ; for this definition host_name router2 ; Name of the host, as recognized/used by Nagios 2d_coords 100,350 ; 2-D drawing coordinates 3d_coords 4.0,0.0,0.0 ; 3-D drawing coordinates }
# Another 'normal' definition define hostextinfo{ use linux ; Use the hostextinfo definition with name 'he1' as a template ; for this definition. host_name router1 ; Name of the host, as recognized/used by Nagios 2d_coords 65,425 ; 2-D drawing coordinates 3d_coords 3.0,0.0,0.0 ; 3-D drawing coordinates }
# A very minimalistic definition - has only 3-D drawing coorindates define hostextinfo{ use linux host_name switch1 2d_coords 65,500 3d_coords 4.0,0.0,-1.0 } define hostextinfo{ use linux host_name switch2 2d_coords 100,300 3d_coords 4.0,0.0,-1.0 }
Malgré tout cela lorsque j'essai d'acceder au statusmap il me repond :
You have not supplied any host drawing coordinates, so you cannot use this layout method.
Si quequ'un pourait m'aider a comprendre se serai genial.
Merci d'avance
C bon en fait le problème venait du fait que j'utilise mysql, et les
info sont stocker dans la base de données et non dans le fichier hostextinfo.cfg
-- ###L'abus de debian est bon pour la santé###
Martins Armando
-- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench
Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to with a subject of "unsubscribe". Trouble? Contact
Martins Armando
Julien a écrit :
Salut @ tous,
J'aurais aimer savoir si tu avais suivis une documentation spécial pour mettre en place Nagios ?