[rrd-users] RRDTool as a server in Solaris
Steve Shipway
s.shipway at auckland.ac.nz
Wed Dec 1 22:32:25 CET 2010
When you run 'rrdtool -' it takes a chain of commands from standard input. However, where are these commands coming from if you run it under SMF? You've nothing to handle listening to a socket, and multiple connections would require multiple invocations... hence it doesnt work.
My 'method 1' (inetd mode) will cause SMF to take care of listening to sockets, and after a connect, the connected socket is linked ot the standard input of the spawned rrdtool process.
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.shipway at auckland.ac.nz<mailto:s.shipway at auckland.ac.nz>
Ph: +64 9 373 7599 ext 86487
________________________________
From: Jose Ignacio Gil Jaldo [naranja82 at gmail.com]
Sent: Wednesday, 1 December 2010 10:15 p.m.
To: Steve Shipway
Cc: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] RRDTool as a server in Solaris
Hi Steve,
I will try what you suggest but there is a couple of things that are strange to me in what you say.
1. I completely agree with except for the fact that when I run in commandline: rrdtool - <directory> the process does not end (it waits until I type commands). That's why it's so strange to me that the process exists inmediately.
2. I know that stop method is not right (as I recognized in my first post) but as I am not very proficient in Solaris/SMF/RRDTOOL I was trying to solve the problem incrementally. So first of all I wanted to start the process.
I will try 1 option and see how it goes.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20101201/f85f296d/attachment.htm
More information about the rrd-users
mailing list