From: Yves <yme...@pe...> - 2005-02-17 09:09:15
|
Hello, > I've find no answers to my problems, but some things are very strange..= . > I start nagios with > /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg > > than I get this output on the command line : > > erfparse-log2* [options] [...] > Missing value for option --serviceperf-log There is probably a typing mistake where you defined perfparse in nagios = config files. Please check them. > /usr/local/nagios/var/perfdata-service.log: line 1: 1108629383: command= not > found Some other explanation : you defined something like perfparse --serviceperf-log /usr/local/nagios/var/perfdata-service.log And nagios, for some reason that I don't know, wants to run "perfparse --= serviceperf-log " and then "/usr/local/nagios/var/perfdata-service.log" Check if you did not type some hidden character somewhere (retype everyth= ing by hand, no copy/paste and this sometimes helps) > My perfdata-service.log: > 1108629443 jholle Ping PING OK - Packet loss =3D 0%, RTA =3D 0= .36 ms > OK If you only have that, perfparse will read it but not give you any perfor= mance data. Performance data follow a | character. Have a look at http://wiki.perfparse.org/tiki-view_faq.php?faqId=3D6#q7 http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN185 to understand. > So this "command" is the timestamp. > > When I try > > agios@rzvlabwks:/usr/local/nagios/bin> perfparse-log2any --help > Perfparse-log2* [Optionen] [...] > 2005/02/17 09:39:09 [perfparse-log2any.c:160 22750 ] No module was lo= aded. > Check the Storage_Module_Load config option. You don't have any Storage_Module_Load item in your config file. Please run perfparse-log2any --show_config, edit the output and put it in= your config file. The output of all perfparse tools with --show_config is supposed to be co= mpatible with the config file and has been made in such a way that it should always be = up to date. This is not the case with the sample config files that we forget to updat= e. Check the faqs (http://wiki.perfparse.org/tiki-list_faqs.php) on how to d= o it. > And in perfparse.log.20050217.log: > > 2005/02/17 08:49:50 [perfparse-log2any.c:155 21654 ] FIFO ist fü= r > PerfParse nicht als Quelle autorisiert > 2005/02/17 08:52:06 [perfparse-log2any.c:155 21714 ] FIFO ist fü= r > PerfParse nicht als Quelle autorisiert > 2005/02/17 09:27:44 [perfparse-log2any.c:155 22482 ] FIFO ist fü= r > PerfParse nicht als Quelle autorisiert > 2005/02/17 09:31:09 [perfparse-log2any.c:155 22584 ] FIFO ist fü= r > PerfParse nicht als Quelle autorisiert > 2005/02/17 09:39:06 [perfparse-log2any.c:155 22744 ] FIFO ist fü= r > PerfParse nicht als Quelle autorisiert This is a message to all who run perfparse in another language than Engli= sh : please run perfparse in English when you want to copy/paste things, or translate the= m to us. Here, I recognize the word "FIFO" and I guess that it complains because y= ou ran perfparsed and the file you defined for the perfdata already exists as a = file. It should either exist as a FIFO or not exist. It it does not exists, perfparse doe= s not complain and creates it. > I don't know what all this mean but i thing that no storage module > /storage_mysql.c) is loaded, but I don't know. Probably right. Storage_Module_Load =3D "mysql" for example ? There is another option for= the directory where to find storage modules. Check the output of perfparsed --show_conf= ig :) Yves --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://www.perfparse.org/ - |