Nagios 3
Hola, instale en mi debian nagios para monitoreo, simplemente APTITUDE INSTALL NAGIOS3, el tema es que quiero hacer monitoreo de impresoras y veo que en la pagina de nagios mencionan un plugin en este caso "CHECK_HPJD" el cual segun la misma pagina viene incorporado en la instalacion. Sin embargo veo que las configuraciones que ellos plantean es diferente (corrijanme si me equivoco) a los path que configura debian.
concretamente tuve que crear a mano la carpeta OBJECT esto dentro de /etc/nagios3 y saque los templates desde el /usr/share/doc/nagios3.
Volviendo al monitoreo de impresora, tome el template y lo copie en el /ETC/NAGIOS3/OBJECT. y la unica modificacion que hice, eso para probar, fue cambiar la IP de ejemplo por la que uso, ahora al hacer un NAGIOS -V PRINTER.CFG me da un error
/etc/nagios3/objects# nagios3 -v printer.cfg
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
Reading configuration data...
Error in configuration file '/etc/nagios3/objects/printer.cfg' - Line 25 (NULL v
alue)
***> The name of the main configuration file looks suspicious...
Make sure you are specifying the name of the MAIN configuration file on
the command line and not the name of another configuration file. The
main configuration file is typically '/usr/local/nagios/etc/nagios.cfg'
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
Reitero: simplemente copio el PRINTER.CFG del /usr/share... y solo modifico la ip. anteriormente cambie el nombre del host y nada mas, con el mismo error.
Saludos
-----------------------------------
\|||||||/
( @ @ )
------oOOo-( )---oOOo--------
| Ricardo Delgado |
| |
|http://delgado.homelinux.net|
| |
| |
| |
| |
---------------0ooo---------
ooo0 ( )
( ) ) /
\ ( (_/
\_)
Por Favor, no hagas Top Posting
http://es.wikipedia.org/wiki/Top-posting
Por Favor, sin formato html
http://es.wikipedia.org/wiki/Netiquette
Sin formatos propietarios.
Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/
Reply to:
- Follow-Ups:
- Re: Nagios 3
- From: "Carmen Marcela Alegria C." <alegria071@yahoo.com.mx>