2009/5/11 <mohanda...@tcs.com>: > > Hi, > > I am currently working on drraw but i have been finding it very difficult to > configure the same. So can anyone please help me to implement it. Any help > would be appreciated. > > Regards, > Mohandas Kudva K > Mailto: mohanda...@tcs.com
I doubt I've remembered everything, but hopefully these notes might help... I downloaded the tarball drraw-2.2b2.tar.gz from http://web.taranis.org/drraw/#download I extracted it under /var/www, then renamed the directory from drraw-2.2bd to drraw. I editted the file /var/www/drraw/drraw.conf to set the datadirs like so: %datadirs = ('/usr/local/nagios/share/perfdata-nagios2' => '[Nagios2] ', '/usr/local/nagios/share/perfdata' => '[Nagios3] ', ); You probably only need the one datadir - I have some old .rrds in perfdata-nagios2 I like to be able to look at too. I set variables for the working directories for drraw like so: $saved_dir = '/usr/local/drraw/saved'; $tmp_dir = '/usr/local/drraw/tmp'; These already existed on my system from a previous install - you may need to create them. Put them wherever you think is suitable and make sure they are writeable by apache (on my system permissions on these are "drwxr-xr-x 2 www-data www-data"). I create the file /etc/apache2/conf.d/drraw.conf like so: # ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" Alias /drraw "/var/www/drraw" <Directory "/var/www/drraw"> DirectoryIndex drraw.cgi # SSLRequireSSL Options +ExecCGI AddHandler cgi-script .cgi AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user </Directory> and restarted the apache daemon to make it take effect. I hope this helps. If you're still having trouble, please be a bit more specific about what you are having a problem with. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null