Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Re: perfSONAR error logging

Subject: perfsonar development work

List archive

Re: [pS-dev] Re: perfSONAR error logging


Chronological Thread 
  • From: Domenico Vicinanza <>
  • To: "Luchesar V. ILIEV" <>
  • Cc: Nicolas Simar <>, Jochen Reinwand <>, , ,
  • Subject: Re: [pS-dev] Re: perfSONAR error logging
  • Date: Fri, 06 Jun 2008 17:57:33 +0100
  • Organization: DANTE Ltd

Hi Luchesar,



I'm afraid I can't understand that. Could you please elaborate about that variable and it's role for syslog-ng. (I'm not questioning your choice in any way, I'd just like to better understand what you're doing.)

Sure. Our service monitoring is using a syslog-ng server which is receiving log files from the monitored clients.
Clients are the hosts running perfSONAR services we are maintaining.
The log file the clients send are http, audit, exist, cacti,... log files and the perfsonar ones:

/opt/perfsonar/services/xml-ls/WEB-INF/logs/perfsonar.log
/opt/perfsonar/services/geant2-java-as/WEB-INF/logs/perfsonar.log
...

These logs, to be properly processed by syslog-ng (namely to be properly stored in a mysql database), need to have start with the name of the application who generated the log.

For example, the following perfSONAR log, sent by the Autentication Service (perfSONAR-AS) running on the machine srv3.ams.nl:

perfSONAR-AS: 2008-06-06 14:02:28,230  INFO - GenericServiceLSRegistrator: register to [http://62.40.123.162:8080/xml-ls/services/LookupService]

will be stored in the syslog-ng server database as:

| srv3.ams.nl | user     | notice   | notice | 0d   | 2008-06-06 | 14:02:28 | perfSONAR-AS | perfSONAR-AS: 2008-06-06 14:02:28,230  INFO - GenericServiceLSRegistrator: register to [http://62.40.123.162:8080/xml-ls/services/LookupService] | 2850 |

The fields are: host, facility, priority, level, tag, date, time, program, message, seq number (for the sake of information)

The field named "program" takes the value from the first word of the log entry (perfSONAR-AS in the example above)

The other fields can be organized as you were suggesting. Our perfSONAR logentries should start with

perfSONAR-AS ...
perfSONAR-LS ...
...

I guess today is not my day... What do AS and LS mean?

Autentication Service, Lookup Service

So, either today is indeed not my day, or you I'm guessing correctly that you capture "non-syslog" log files and pipe them to syslog. Right?
Exaclty, we are piping the perfSONAR logs to the syslog-ng server.

Many many thanks and I hope that now the situation would appear a little bit clearer...

Cheers,
Domenico



-- 
______________________________________________________________________

Domenico Vicinanza
Services Support Engineer

DANTE - www.dante.net

Tel: +44 (0)1223 371 300
Fax: +44 (0)1223 371 371
Email: 


City House, 126-130 Hills Road
Cambridge CB2 1PQ
UK
_____________________________________________________________________



Archive powered by MHonArc 2.6.16.

Top of Page