[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netsaint-users
Subject:    RE: [netsaint] new user to netsaint 0..0.7 debian install
From:       "Merritt Rob" <MerrittR () spsd ! sk ! ca>
Date:       2003-03-20 18:07:00
[Download RAW message or body]

thanks guys  I think that did the trick ,go past the prefilght anyway and I see jobs \
running when I do psm -ax


-----Original Message-----
From: Fabricio Nunes Monte [mailto:fabricio.monte@comdominio.com.br]
Sent: Thursday, March 20, 2003 11:46 AM
To: NetSaint List
Subject: Re: [netsaint] new user to netsaint 0..0.7 debian install


This directive should be in the commands.cfg file:

command[check_ping]=$USER1$/check_ping $HOSTADDRESS$ 20 80 40.0 100.0 -p 5

And the variable $USER1$ above should be defined in the resource.cfg file.
The variable $USER1$ is the path of your plugins (check_ping, check_ftp 
, ...........)

As I could see in your email below, this variable should be set to 
"/usr/lib/netsaint/plugins/".

Fabricio Nunes Monte
Network Analyst - Network Area

.comDominio Ltda.

fabricio.monte@comdominio.com.br
www.comdominio.com.br
www.bighost.com.br

Esta mensagem e os arquivos nela contidos são confidenciais e legalmente protegidos, \
somente podendo ser usada pelo indivíduo ou entidade a quem foi endereçada.  Caso \
você a tenha recebido por engano, queira por gentileza devolvê-la ao remetente e, \
posteriormente, apagá-la, pois, a disseminação, encaminhamento, uso, impressão ou \
cópia do conteúdo desta mensagem são expressamente proibidos.



Wayne Harmsworth wrote:

> At a glance I'd suggest that u check the commands.cfg file for a command
> similar to the following as it may be missing.
> 
> command[check_ping]=$USER1$/check_ping $HOSTADDRESS$ 20 80 40.0 100.0 -p 5
> 
> then check hosts.cfg for a service check similar to the following
> 
> service[SYD-ITVBUILD1]=Host
> Status;0;24x7;3;1;1;itv-ops;120;24x7;1;1;0;;check_ping
> 
> Live Life to the Max!
> I hope this helps........if not you can get more info on the pre-flight
> check by doing the following
> 
> $ /path-to-netsaint-binary/netsaint -v /path-to-netsaint-config/netsaint.cfg
> 
> 
> -----Original Message-----
> From: netsaint-users-admin@lists.sourceforge.net
> [mailto:netsaint-users-admin@lists.sourceforge.net]On Behalf Of Merritt
> Rob
> Sent: Monday, 17 March 2003 10:54 AM
> To: Whitney, Sean; netsaint-users@lists.sourceforge.net
> Subject: RE: [netsaint] new user to netsaint 0..0.7 debian install
> 
> 
> I seem to be missing something here i tried your suggestion and got:
> 
> 
> debian:/etc/netsaint# apt-cache search netsaint
> netsaint-statd-plugins - netsaint_statd plugins
> netsaint-statd-server - the netsaint_statd daemon (server portion)
> netsaint - A host/service/network monitoring and management system.
> netsaint-neat - A web frontend for NetSaint configuration.
> netsaint-nrpe-plugin - NetSaint remote plugin executor (plugin)
> netsaint-nrpe-server - NetSaint remote plugin executor (server)
> netsaint-plugins - Plugins for NetSaint
> netsaint-plugins-extra - Extra plugins for NetSaint (dummy package with
> dependencies).
> netsaint-plugins-fping - check_fping plugin for NetSaint
> netsaint-plugins-game - check_game plugin for NetSaint
> netsaint-plugins-ldap - check_ldap plugin for NetSaint
> netsaint-plugins-mysql - check_mysql plugin for NetSaint
> netsaint-plugins-pgsql - check_pgsql plugin for NetSaint
> netsaint-plugins-radius - check_radius plugin for NetSaint
> netsaint-plugins-samba - check_smb plugin for NetSaint
> netsaint-plugins-snmp - check_snmp and check_hpjd plugins for NetSaint
> You have new mail in /var/mail/root
> debian:/etc/netsaint#
> 
> 
> so I thought perhaps the plugins or plugins-extra wasn't installed (plugins
> was)
> 
> then tried :debian:/etc/netsaint# /usr/sbin/netsaint -v netsaint.cfg
> 
> NetSaint 0.0.7
> Copyright (c) 1999-2002 Ethan Galstad (netsaint@netsaint.org)
> Last Modified: 03-01-2002
> License: GPL
> 
> Reading configuration data...
> 
> Running pre-flight check on configuration data...
> 
> Checking services...
> Error: Service check command 'check_ping' specified in service 'PING' for
> host 'localhost' not defined anywhere!
> 
> ***> One or more problems was encountered while running the pre-flight
> check...
> 
> Check your configuration file(s) to ensure that they contain valid
> directives and data defintions.  If you are upgrading from a previous
> version of NetSaint, you should be aware that some
> variables/definitions
> may have been removed or modified in this version.  Make sure to read
> the HTML documentation on the main and host config files, as well as
> the
> 'Whats New' section to find out what has changed.
> 
> any Ideas
> 
> 
> 
> 
> -----Original Message-----
> From: Whitney, Sean [mailto:SWhitney@chartercom.com]
> Sent: Friday, March 14, 2003 12:32 PM
> To: Merritt Rob; netsaint-users@lists.sourceforge.net
> Subject: RE: [netsaint] new user to netsaint 0..0.7 debian install
> 
> 
> apt-cache search netsaint
> 
> should answer all your questions.
> 
> 
> Sean
> 
> -----Original Message-----
> From: Merritt Rob [mailto:MerrittR@spsd.sk.ca]
> Sent: Tuesday, March 11, 2003 10:17 AM
> To: netsaint-users@lists.sourceforge.net
> Subject: [netsaint] new user to netsaint 0..0.7 debian install
> 
> 
> Hi I recently did a debian install
> 
> debian:/usr/local/src# apt-get install netsaint
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
> netsaint
> 0 packages upgraded, 1 newly installed, 0 to remove and 0  not upgraded.
> Need to get 0B/1484kB of archives. After unpacking 3719kB will be used.
> Preconfiguring packages ...
> Selecting previously deselected package netsaint.
> (Reading database ... 19191 files and directories currently installed.)
> Unpacking netsaint (from .../netsaint_0.0.7c-0.1_i386.deb) ...
> Setting up netsaint (0.0.7c-0.1) ...
> Reloading apache configuration.
> Updating password for user netsaintadmin
> Starting netsaint: netsaint.
> 
> I went through the doc and everything looks like it was set up cgi etc...
> 
> (other than /usr/share/netsaint/htdocs didn't have the html files they were
> all in /usr/share/netsaint/ index.html etc...)
> then when I check the cat /var/log/netsaint/netsaint.log I get :
> 
> [1047405999] NetSaint 0.0.7 starting... (PID=32118)
> [1047405999] Error: Service check command 'check_ping' specified in service
> 'PING' for host 'localhost' not defined anywhere!
> [1047405999] Bailing out due to errors encountered while running the
> pre-flight check... (PID=32118)
> 
> so then I check check_ping to localhost itself:
> /usr/lib/netsaint/plugins/check_ping localhost 40 80 5.0 100.0
> PING OK - Packet loss = 0%, RTA = 0.00 ms
> and
> /usr/lib/netsaint/plugins/check_ping 172.16.5.199 40 80 5.0 100.0
> PING OK - Packet loss = 0%, RTA = 0.20 ms
> 
> so check_ping to nodes works...
> 
> any Ideas were my prefilght problem lies?
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:Crypto Challenge is now open!
> Get cracking and register here for some mind boggling fun and
> the chance of winning an Apple iPod:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> _______________________________________________
> Netsaint-users mailing list
> Netsaint-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/netsaint-users
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:Crypto Challenge is now open!
> Get cracking and register here for some mind boggling fun and
> the chance of winning an Apple iPod:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> _______________________________________________
> Netsaint-users mailing list
> Netsaint-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/netsaint-users
> 
> 




-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Netsaint-users mailing list
Netsaint-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netsaint-users


-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Netsaint-users mailing list
Netsaint-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netsaint-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic