syswatch-users Mailing List for SysWatch
Brought to you by:
smirks
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(12) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: G C. <gch...@pa...> - 2004-05-22 16:14:38
|
Hi there long time no messages. Ok I have a question to ask but I don't know if anyone is here now. I have syswatch running quite nicely (non compiled) on my intranet, and as I am about to add it to my web page to go live I wanted to compile it. Only trouble is that when i do compile it the compiled cgi won't work. What I would like to know is what should I be putting in the path line in the .c file? I think that may be my problem. syswatch V1.5.1 Graeme. |
|
From: Graeme C. <gch...@pa...> - 2002-09-30 16:35:12
|
I finally got my syswatch working. it was my web server configured wrong. Now I would like to know if there is a way to limit the 'Resource Information' to only show what I want it to. Just a note. I also found a small glitch with it but it may be just my system... Ok I run seti@home on my linux box. now with out this running. I click on the syswatch link in my page and i get all the headers the same width. But if I VNC into my box and kick in seti ( I use tkseti) the header for who, what, when becomes quite a bit wider... so does the info under that header... Strange aye... "The two most common elements in the Universe are Hydrogen...and Stupidity." -Harlan Ellison |
|
From: Smirks <sm...@sm...> - 2002-09-24 13:27:50
|
Try putting it in your cgi-bin directory. :) S On Tue, 24 Sep 2002, Graeme Chinnery wrote: > Hi there. > Ok I am running a web server on my linux box on my network. It is > running apache that was installed when I set the box up. This is a > closed network so i haven't done anything to apache yet. > The problem I seem to be having is a permission one. i can access all > the files and pages in my web site but as soon as i try to look at > syswatch.gci (not compiled BTW) I get a 403 error you don't have > permission bla bla bla... > > I changed the file to an htm and it shows all the html in my browser and > run from the command line on the linux box shows output. I don't need > the logs so i didn't compile just changed the name of the file and set > all permissions. > > Any Ideas please??? > > Thanks in advance. > Graeme. > > -- > "The two most common elements in the Universe are Hydrogen...and > Stupidity." -Harlan Ellison > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > syswatch-users mailing list > sys...@li... > https://lists.sourceforge.net/lists/listinfo/syswatch-users > |
|
From: Graeme C. <gch...@pa...> - 2002-09-24 07:26:42
|
Hi there. Ok I am running a web server on my linux box on my network. It is running apache that was installed when I set the box up. This is a closed network so i haven't done anything to apache yet. The problem I seem to be having is a permission one. i can access all the files and pages in my web site but as soon as i try to look at syswatch.gci (not compiled BTW) I get a 403 error you don't have permission bla bla bla... I changed the file to an htm and it shows all the html in my browser and run from the command line on the linux box shows output. I don't need the logs so i didn't compile just changed the name of the file and set all permissions. Any Ideas please??? Thanks in advance. Graeme. -- "The two most common elements in the Universe are Hydrogen...and Stupidity." -Harlan Ellison |
|
From: Smirks <sm...@sm...> - 2000-12-06 17:13:54
|
SysWatch v1.5 was just made available. Download from www.smirks.org/syswatch and enjoy. :) C |
|
From: Smirks <sm...@sm...> - 2000-12-06 16:44:22
|
Last night SysWatch was downloaded for the 10,000th time from the main site! That's not including places like Tucows, PacketStorm and Sourceforge that host a copy of the files on their own server. This program has become a great success (one that I didn't even plan), so thank you all for downloading and using SysWatch! Chris |
|
From: Smirks <sm...@sm...> - 2000-11-28 16:24:48
|
First of all, I don't quite understand what is going on and why you have to restart apache, but here's what I think.... I'm guessing apaches logs are being rotated on a nightly basis. Well, apache is quite picky and when it's logs are rotated it cant write to a new file without being restarted first. That seems to be what is going on here, so the fix you have put it place should be ok. :) Chris On Mon, 27 Nov 2000, hawkeye wrote: > In my last post I mentioned what I did to add more logs to be proccessed > and displayed. I did this this with my Apache access_log and the > error_log files. This evening I noticed that when cron ran last night it > quit reading those 2 files. I then decided to add a restart to cron so > the files can be read. > > I created a file called apache_restart in /usr/local/sbin and added the > following: > /usr/local/apache/bin/apachectl restart > > Then set permissions to: > chmod 750 /usr/local/sbin/apache_restart > > I the created a file called apache_restart in /etc/cron.daily and added > the following: > #!/bin/sh > PATH=/usr/bin:/bin:/sbin:/usr/sbin > /usr/local/sbin/apache_restart | mail -s "Apache Restart `/bin/hostname` > at `/bin/date ' > +%H:%M/%m-%d-%Y'`" root > > Then set permissions to > chmod 750 /usr/local/sbin/apache_restart > > The above will run with cron daily and execute the script in > /usr/local/sbin. It will the email the results to root. The following is > what my email looked like: > > Date: Mon, 27 Nov 2000 21:15:31 -0500 > From: root <ro...@ha...> > To: ro...@ha... > Subject: Apache Restart hawkeye.dynhost.com at 21:15/11-27-2000 > > /usr/local/apache/bin/apachectl restart: httpd restarted > > > ### If anyone has a better way of doing this please post back to the > list. I am failry new at this so what you see here from me is just > tinkering for me to get things to run the way I want them to run. > > > > > David Price > > _______________________________________________ > syswatch-users mailing list > sys...@li... > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > |
|
From: hawkeye <ha...@ha...> - 2000-11-28 02:24:21
|
In my last post I mentioned what I did to add more logs to be proccessed and displayed. I did this this with my Apache access_log and the error_log files. This evening I noticed that when cron ran last night it quit reading those 2 files. I then decided to add a restart to cron so the files can be read. I created a file called apache_restart in /usr/local/sbin and added the following: /usr/local/apache/bin/apachectl restart Then set permissions to: chmod 750 /usr/local/sbin/apache_restart I the created a file called apache_restart in /etc/cron.daily and added the following: #!/bin/sh PATH=/usr/bin:/bin:/sbin:/usr/sbin /usr/local/sbin/apache_restart | mail -s "Apache Restart `/bin/hostname` at `/bin/date ' +%H:%M/%m-%d-%Y'`" root Then set permissions to chmod 750 /usr/local/sbin/apache_restart The above will run with cron daily and execute the script in /usr/local/sbin. It will the email the results to root. The following is what my email looked like: Date: Mon, 27 Nov 2000 21:15:31 -0500 From: root <ro...@ha...> To: ro...@ha... Subject: Apache Restart hawkeye.dynhost.com at 21:15/11-27-2000 /usr/local/apache/bin/apachectl restart: httpd restarted ### If anyone has a better way of doing this please post back to the list. I am failry new at this so what you see here from me is just tinkering for me to get things to run the way I want them to run. David Price |
|
From: Smirks <sm...@sm...> - 2000-11-27 16:48:36
|
Thanks. I'll have a look at them. Chris On Sun, 26 Nov 2000, hawkeye wrote: > Here is a link to the diff files that I made to make this work the way I > was wanting it to. http://hawkeye.dynhost.com/syswatch_diff.tar.gz > You can see how it runs here > http://hawkeye.dynhost.com/cgi-bin/syswatch.cgi > > I was going to attach the file to this but pine quit crashing on me.. > > /note to self.. Look into pine crashing.. > > On Sun, 26 Nov 2000, Smirks wrote: > > > Oh, I see.... > > > > Well, in that case you should be able to find the section in the code that > > is for $showlogs, change all the directives to something new, add a > > variable in the .cf file and BAM. This may be a good addition for a new > > version. Have a coma delimited list of files to tail and the script will > > then automatically parse each one. I'll look into it for the next > > release. > > > > Chris > > > > On Sun, 26 Nov 2000, hawkeye wrote: > > > > > This works great.. However what I was looking for was to have seperate > > > banners for both the Access Log and the Error Log. That is why I was > > > trying to modify the actual scripts. > > > > > > > > > On Sun, 26 Nov 2000, Smirks wrote: > > > > > > > It is pretty simple actually.... > > > > > > > > In the syswatch.cf file simply add the paths to the files you want to > > > > monitor with spaces between them. For example, if I wanted to monitor the > > > > system messages and an apache logfile I'd have this: > > > > > > > > $logs = "/var/log/syslog /web/logs/www.access.log"; > > > > > > > > The output of this is @ http://www.smirks.org/cgi-bin/syswatch.cgi > > > > > > > > That should do the trick for ya. ;) > > > > > > > > Chris > > > > > > > > On Sun, 26 Nov 2000, hawkeye wrote: > > > > > > > > > I am curious what all needs to be modified in order to add new logs to be > > > > > viewed? I am wanting to display the: > > > > > /usr/local/apache/logs/access_log and the > > > > > /usr/local/apache/logs/error_log on the report > > > > > > > > > > All things that I have tried have failed in one way or the other. I am > > > > > sure that it will probably be something simple but I have yet to find it. > > > > > > > > > > Thanks in advance, > > > > > > > > > > David Price > > > > > > > > > > _______________________________________________ > > > > > syswatch-users mailing list > > > > > sys...@li... > > > > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > > > > > > > > > > > > > > > _______________________________________________ > > > > syswatch-users mailing list > > > > sys...@li... > > > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > > > > > > > > > _______________________________________________ > > syswatch-users mailing list > > sys...@li... > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > > _______________________________________________ > syswatch-users mailing list > sys...@li... > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > |
|
From: Smirks <sm...@sm...> - 2000-11-27 16:48:04
|
Ok.... What exactly is your problem? Everything looks fine. You've come into the middle of another thread and haven't gone into what type of help you need. Please provide more information as to what your problem is. Chris On Mon, 27 Nov 2000, Chilly Willy wrote: > Thank you! > You should check the permissions on the files. here's the output of my cgi-bin folder(relative files only): > Output from ls -alF /var/www/cgi-bin .. > > -rwxr-xr-x 1 root root 2271 Nov 21 23:28 syswatch.cf* > -rwsr-xr-x 1 root root 14000 Nov 25 22:54 syswatch.cgi* > -rwxr-xr-x 1 root root 9165 Nov 24 08:28 syswatch.pl* > > > > Yours is looking fine.... should I be looking for something special? > > > > Chris > > > > On Mon, 27 Nov 2000, Chilly Willy wrote: > > > > > Hey There, > > > I have one running on a RedHat Linux 7.0 box. > > > http://iced.dhs.org/cgi-bin/syswatch.cgi > > > > > > > > > > Do you have a URL where I can see what you get in the browser? > > > > > > > > Chris > > > > > > > > On Sun, 26 Nov 2000, Colin PC wrote: > > > > > > > > > Running the script from the command line produces most of the results > > > > > but strangely, I still get nothing displayed in the browser! > > > > > > > > > > Any ideas? > > > > > > > > > > - Colin PC > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: sys...@li... > > > > > > [mailto:sys...@li...]On Behalf Of Smirks > > > > > > Sent: 26 November 2000 8:36 PM > > > > > > To: Colin PC > > > > > > Cc: sys...@li... > > > > > > Subject: Re: [syswatch-users] No Output > > > > > > > > > > > > > > > > > > It *should*. I haven't had access to a BSDi box in a few months, so I'm > > > > > > not sure if it still works. I know it worked on 4.0 and probably 4.0.1 > > > > > > too. Try running it from the command line to see what you get. > > > > > > > > > > > > Chris > > > > > > > > > > > > On Sun, 26 Nov 2000, Colin PC wrote: > > > > > > > > > > > > > > > > > > > > Does this script work with BSD/OS 4.0.1 > > > > > > > > > > > > > > The only output I'm getting is the OS version under System Information. > > > > > > > > > > > > > > Thanks. > > > > > > > _______________________________________________ > > > > > > > syswatch-users mailing list > > > > > > > sys...@li... > > > > > > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > syswatch-users mailing list > > > > > > sys...@li... > > > > > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > > > > > > > > > _______________________________________________ > > > > > syswatch-users mailing list > > > > > sys...@li... > > > > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > > > > > > > > > > > _______________________________________________ > > > > syswatch-users mailing list > > > > sys...@li... > > > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > > > > > > > > > > > > > > > > > > |
|
From: Smirks <sm...@sm...> - 2000-11-27 04:53:43
|
Do you have a URL where I can see what you get in the browser? Chris On Sun, 26 Nov 2000, Colin PC wrote: > Running the script from the command line produces most of the results > but strangely, I still get nothing displayed in the browser! > > Any ideas? > > - Colin PC > > > > > -----Original Message----- > > From: sys...@li... > > [mailto:sys...@li...]On Behalf Of Smirks > > Sent: 26 November 2000 8:36 PM > > To: Colin PC > > Cc: sys...@li... > > Subject: Re: [syswatch-users] No Output > > > > > > It *should*. I haven't had access to a BSDi box in a few months, so I'm > > not sure if it still works. I know it worked on 4.0 and probably 4.0.1 > > too. Try running it from the command line to see what you get. > > > > Chris > > > > On Sun, 26 Nov 2000, Colin PC wrote: > > > > > > > > Does this script work with BSD/OS 4.0.1 > > > > > > The only output I'm getting is the OS version under System Information. > > > > > > Thanks. > > > _______________________________________________ > > > syswatch-users mailing list > > > sys...@li... > > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > > > > > _______________________________________________ > > syswatch-users mailing list > > sys...@li... > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > _______________________________________________ > syswatch-users mailing list > sys...@li... > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > |
|
From: Colin P. <co...@bi...> - 2000-11-26 22:47:46
|
Running the script from the command line produces most of the results but strangely, I still get nothing displayed in the browser! Any ideas? - Colin PC > -----Original Message----- > From: sys...@li... > [mailto:sys...@li...]On Behalf Of Smirks > Sent: 26 November 2000 8:36 PM > To: Colin PC > Cc: sys...@li... > Subject: Re: [syswatch-users] No Output > > > It *should*. I haven't had access to a BSDi box in a few months, so I'm > not sure if it still works. I know it worked on 4.0 and probably 4.0.1 > too. Try running it from the command line to see what you get. > > Chris > > On Sun, 26 Nov 2000, Colin PC wrote: > > > > > Does this script work with BSD/OS 4.0.1 > > > > The only output I'm getting is the OS version under System Information. > > > > Thanks. > > _______________________________________________ > > syswatch-users mailing list > > sys...@li... > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > > _______________________________________________ > syswatch-users mailing list > sys...@li... > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > |
|
From: hawkeye <ha...@ha...> - 2000-11-26 21:47:55
|
Here is a link to the diff files that I made to make this work the way I was wanting it to. http://hawkeye.dynhost.com/syswatch_diff.tar.gz You can see how it runs here http://hawkeye.dynhost.com/cgi-bin/syswatch.cgi I was going to attach the file to this but pine quit crashing on me.. /note to self.. Look into pine crashing.. On Sun, 26 Nov 2000, Smirks wrote: > Oh, I see.... > > Well, in that case you should be able to find the section in the code that > is for $showlogs, change all the directives to something new, add a > variable in the .cf file and BAM. This may be a good addition for a new > version. Have a coma delimited list of files to tail and the script will > then automatically parse each one. I'll look into it for the next > release. > > Chris > > On Sun, 26 Nov 2000, hawkeye wrote: > > > This works great.. However what I was looking for was to have seperate > > banners for both the Access Log and the Error Log. That is why I was > > trying to modify the actual scripts. > > > > > > On Sun, 26 Nov 2000, Smirks wrote: > > > > > It is pretty simple actually.... > > > > > > In the syswatch.cf file simply add the paths to the files you want to > > > monitor with spaces between them. For example, if I wanted to monitor the > > > system messages and an apache logfile I'd have this: > > > > > > $logs = "/var/log/syslog /web/logs/www.access.log"; > > > > > > The output of this is @ http://www.smirks.org/cgi-bin/syswatch.cgi > > > > > > That should do the trick for ya. ;) > > > > > > Chris > > > > > > On Sun, 26 Nov 2000, hawkeye wrote: > > > > > > > I am curious what all needs to be modified in order to add new logs to be > > > > viewed? I am wanting to display the: > > > > /usr/local/apache/logs/access_log and the > > > > /usr/local/apache/logs/error_log on the report > > > > > > > > All things that I have tried have failed in one way or the other. I am > > > > sure that it will probably be something simple but I have yet to find it. > > > > > > > > Thanks in advance, > > > > > > > > David Price > > > > > > > > _______________________________________________ > > > > syswatch-users mailing list > > > > sys...@li... > > > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > > > > > > > > > > > _______________________________________________ > > > syswatch-users mailing list > > > sys...@li... > > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > > > > > _______________________________________________ > syswatch-users mailing list > sys...@li... > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > |
|
From: Smirks <sm...@sm...> - 2000-11-26 20:35:59
|
It *should*. I haven't had access to a BSDi box in a few months, so I'm not sure if it still works. I know it worked on 4.0 and probably 4.0.1 too. Try running it from the command line to see what you get. Chris On Sun, 26 Nov 2000, Colin PC wrote: > > Does this script work with BSD/OS 4.0.1 > > The only output I'm getting is the OS version under System Information. > > Thanks. > _______________________________________________ > syswatch-users mailing list > sys...@li... > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > |
|
From: Smirks <sm...@sm...> - 2000-11-26 20:34:31
|
Oh, I see.... Well, in that case you should be able to find the section in the code that is for $showlogs, change all the directives to something new, add a variable in the .cf file and BAM. This may be a good addition for a new version. Have a coma delimited list of files to tail and the script will then automatically parse each one. I'll look into it for the next release. Chris On Sun, 26 Nov 2000, hawkeye wrote: > This works great.. However what I was looking for was to have seperate > banners for both the Access Log and the Error Log. That is why I was > trying to modify the actual scripts. > > > On Sun, 26 Nov 2000, Smirks wrote: > > > It is pretty simple actually.... > > > > In the syswatch.cf file simply add the paths to the files you want to > > monitor with spaces between them. For example, if I wanted to monitor the > > system messages and an apache logfile I'd have this: > > > > $logs = "/var/log/syslog /web/logs/www.access.log"; > > > > The output of this is @ http://www.smirks.org/cgi-bin/syswatch.cgi > > > > That should do the trick for ya. ;) > > > > Chris > > > > On Sun, 26 Nov 2000, hawkeye wrote: > > > > > I am curious what all needs to be modified in order to add new logs to be > > > viewed? I am wanting to display the: > > > /usr/local/apache/logs/access_log and the > > > /usr/local/apache/logs/error_log on the report > > > > > > All things that I have tried have failed in one way or the other. I am > > > sure that it will probably be something simple but I have yet to find it. > > > > > > Thanks in advance, > > > > > > David Price > > > > > > _______________________________________________ > > > syswatch-users mailing list > > > sys...@li... > > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > > > > > > > _______________________________________________ > > syswatch-users mailing list > > sys...@li... > > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > > > |
|
From: Colin P. <co...@bi...> - 2000-11-26 17:31:38
|
Does this script work with BSD/OS 4.0.1 The only output I'm getting is the OS version under System Information. Thanks. |
|
From: Smirks <sm...@sm...> - 2000-11-26 17:00:29
|
It is pretty simple actually.... In the syswatch.cf file simply add the paths to the files you want to monitor with spaces between them. For example, if I wanted to monitor the system messages and an apache logfile I'd have this: $logs = "/var/log/syslog /web/logs/www.access.log"; The output of this is @ http://www.smirks.org/cgi-bin/syswatch.cgi That should do the trick for ya. ;) Chris On Sun, 26 Nov 2000, hawkeye wrote: > I am curious what all needs to be modified in order to add new logs to be > viewed? I am wanting to display the: > /usr/local/apache/logs/access_log and the > /usr/local/apache/logs/error_log on the report > > All things that I have tried have failed in one way or the other. I am > sure that it will probably be something simple but I have yet to find it. > > Thanks in advance, > > David Price > > _______________________________________________ > syswatch-users mailing list > sys...@li... > http://lists.sourceforge.net/mailman/listinfo/syswatch-users > |
|
From: hawkeye <ha...@ha...> - 2000-11-26 16:31:29
|
I am curious what all needs to be modified in order to add new logs to be viewed? I am wanting to display the: /usr/local/apache/logs/access_log and the /usr/local/apache/logs/error_log on the report All things that I have tried have failed in one way or the other. I am sure that it will probably be something simple but I have yet to find it. Thanks in advance, David Price |