James Carlson wrote: > Jim Walker writes: > >> And I've updated the check list file according your comments: >> http://greatwall.prc/~ll222647/mrtg/ >> > > Please archive with the materials. That's not accessible from outside > the SWAN. > Please see the attachment. > >> Generally people run mrtg by crontab to create the traffic statistic >> info, such as: >> 5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/mrtg-2/bin/mrtg >> /var/apache2/ >> 2.2/htdocs/mrtg.cfg >> >> There's no daemon process, too. So I think it's perhaps not applicable >> to be a SMF service, is it reasonable ? >> > > OK ... I had expected there'd be more integration. > > (One of the underlying issues is that cron-driven things don't really > have an SMF representation, and they should, so that users can control > them easily and so that we can ship prototype configurations. But > that's not your problem.) > > >> Are passwords stored within the file system for the component? >> [*] Yes >> [ ] No - continue to next section (section 3.4.6) >> > > Should probably say something about where passwords are stored, just > for completeness. > Generally command 'cfgmaker' is used to introduce a config file for 'mrtg' like this: # cfgmaker public at 192.168.1.100 > mrtg.cfg So the 'community' password is stored in the file mrtg.cfg , it's owned by root and could be saved in any location. The clients from web can't see this file since they can just access the files allowed by apache.
> >>> Why /usr/bin? Do ordinary users invoke this? >>> >>> >> Yes, users may use these commands manually or by crontab. >> > > I did some looking around, and that seems common enough. > > -- Thanks, Lizhong -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: FCL-mrtg URL: <http://mail.opensolaris.org/pipermail/opensolaris-arc/attachments/20090302/321a5f4f/attachment.ksh>
