smokeping as an fcgi with httpd

2020-05-10 Thread Tom Smyth
_cgi > > > #edit smokeping.fcgi to call the fcgi in cgi-bin > echo #!/bin/sh >/var/www/htdocs/smokeping/smokeping.fcgi > echo exec /cgi-bin/smokeping_cgi /etc/smokeping/config > >>/var/www/htdocs/smokeping/smokeping.fcgi > > rcctl enable smokeping > rcctl enable smokeping_fcgi > rcctl enable httpd > > rcctl start smokeping > rcctl start smokeping_fcgi > rcctl start httpd > -- Kindest regards, Tom Smyth.

Re: fastnetmon on OpenBSD 6.6 amd64 /var/run/fastnemon missing after reboot

2020-05-10 Thread Tom Smyth
Hello all, Tried manually with install -d -m 0750 -o ${daemon_user} -g ${daemon_user} /var/run/fastnetmon I was wondering about the world writable pid file .. I was wondering why it was needed... appreciate all your time and help thanks again Tom Smyth On Sun, 10 May 2020 at 14:48, Klemens

Re: fastnetmon on OpenBSD 6.6 amd64 /var/run/fastnemon missing after reboot

2020-05-10 Thread Tom Smyth
: > > On 2020/05/10 12:58, Tom Smyth wrote: > > Hello, porters > > > > I was working on fastnetmon on production system > > rcctl starts stops and restarts fastnetmon just fine > > but I noticed when I rebooted the box > > that if I reboot the box fastnetmon

Re: fastnetmon on OpenBSD 6.6 amd64 /var/run/fastnemon missing after reboot

2020-05-10 Thread Tom Smyth
just to clarify Stuarts diff worked, and Jerimies Diff with Jaspers addition worked fine also. sorry I was trigger happy with the send earlier. On Sun, 10 May 2020 at 15:04, Tom Smyth wrote: > > Hello all, > > Tried manually with > > install -d -m 0750 -o ${daemon_user} -g $

fastnetmon on OpenBSD 6.6 amd64 /var/run/fastnemon missing after reboot

2020-05-10 Thread Tom Smyth
/run/fastnemon chown _fastnetmon /var/run/fastnetmon rcctl starts, stops and restarts fastnetmon just fine once that directory is re-created and the permissions set... -- Kindest regards, Tom Smyth.

Re: shells/nsh Request update of port to reflect latest git commit

2021-04-28 Thread Tom Smyth
Hello, Now that the 6.9 release packages on the mirrors are populated , is it possible for someone to commit the latest diff ? Or is it a case of wait for all architecture builds to complete before the changes to nsh can be committed? Thanks for your time On Friday, 16 April 2021, Tom Smyth

Re: shells/nsh Request update of port to reflect latest git commit

2021-04-28 Thread Tom Smyth
Thanks Stuart, Appreciate your help on this... On Wed, 28 Apr 2021 at 21:24, Stuart Henderson wrote: > > On 2021/04/28 20:54, Tom Smyth wrote: > > Hello, > > > > Now that the 6.9 release packages on the mirrors are populated , is it > > possible for som

Re: shells/nsh

2021-03-28 Thread Tom Smyth
is brilliant ... PS im interested in trying to help out with fastnetmon port also Thanks Tom Smyth On Thu, 25 Mar 2021 at 09:12, Marc Espie wrote: > I've looked a bit at this code. > > I'm on the fence between marking it as BROKEN and give Chris a chance to > fix the code, or downri

Re: shells/nsh

2021-03-31 Thread Tom Smyth
ents in constructed argument lists, > but maybe just NULL would be fine. > in commands.c changing line 454 and swapping '\0' to a NULL got rid of the complier warning for me changing 1676and swapping '\0' to a NULL got rid of the complier warning for me Thanks Tom Smyth

nsh commands.c diff to clear some compiler warnings

2021-03-31 Thread Tom Smyth
Hello below is a diff for commands.c to clear some of the compiler warnings, --- commands.c Tue Oct 6 01:59:33 2020 +++ /home/tom/commands.c Thu Apr 1 01:00:16 2021 @@ -451,7 +451,7 @@ flushcmd(int argc, char **argv) static int flush_line(char *line) { - char *argv[] = { PKILL, "-9", "-t",

NSH updating command options to reflect changes in base

2021-04-09 Thread Tom Smyth
confv6temp encouraged by making it only available when an engineer enters ? in the interface config menu ? any advice / directions welcome Thanks Tom Smyth On Thu, 1 Apr 2021 at 01:41, Tom Smyth wrote: > > Hello > below is a diff for commands.c > to clear some of the compiler warnings,

shells/nsh Request update of port to reflect latest git commit

2021-04-15 Thread Tom Smyth
as they have been included or improved upon upstream Thanks Chris, Kurt and everyone who helped. -- Kindest regards, Tom Smyth. Index: Makefile === RCS file: /cvs/ports/shells/nsh/Makefile,v retrieving revision 1.41 diff -u -p -r1.41

Fwd: ports/shells/nsh-10.0.20201006p0-RC

2021-04-13 Thread Tom Smyth
Hello, Please find attached patch for nsh feedback welcome as my C is rusty, I hope this helps, details of proposed patch outlined below Architectures Compiled on: AMD64 Compile errors / warnings 1) warning about an unused variable do not want to delete code just yet 2) errors about '\0'

Re: Fwd: ports/shells/nsh-10.0.20201006p0-RC

2021-04-14 Thread Tom Smyth
Thanks Chris, and thanks for the "variations" I can see where you were taking a scalpel out where I had used the sledge hammer :) Appreciate you accepting and improving the patches All the best Tom Smyth On Wed, 14 Apr 2021 at 21:08, Chris Cappuccio wrote: > > I've got all

shells/nsh Request update of port to reflect git commit 20210416

2021-04-16 Thread Tom Smyth
hello, Reuqest import of the attached diff 20210416 Compiled on AMD64 No errors no warnings Changes: 1) pulls in latest code from github (with all fixes discussed in the past 2 months 2) Chris has added in support for llprio on interfaces 3) (all previous fixes by naddy@ , tom smyth and Chris

Re: shells/nsh Request update of port to reflect latest git commit

2021-04-16 Thread Tom Smyth
improves ) that said any of my (humble) contributions need supervision and careful review, I want to see nsh more widely deployed in openBSD community and I would like to use it as a tool to help cisco heads use OpenBSD, Thanks again, Tom Smyth On Fri, 16 Apr 2021 at 20:56

Re: shells/nsh update of port to reflect git commit 20210416

2021-04-17 Thread Tom Smyth
Hi I have amended the subject of the email to clarify that it is a diff to update the port, On Sat, 17 Apr 2021 at 01:52, Tom Smyth wrote: > > hello, > > Reuqest import of the attached diff 20210416 > > Compiled on AMD64 > No errors no warnings > > Changes: >

fastnetmon on OpenBSDamd64 tends to stop and output in insecurity mails

2021-02-17 Thread Tom Smyth
ision 1.0 uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 uhidev0 at uhub0 port 1 configuration 1 interface 0 "QEMU QEMU USB Tablet" rev 2.00/0.00 addr 2 uhidev0: iclass 3/0 ums0 at uhidev0: 3 buttons, Z dir wsmouse1 at ums0 mux 0 vscsi0 at r

Re: fastnetmon on OpenBSDamd64 tends to stop and output in insecurity mails

2021-02-17 Thread Tom Smyth
Hi Antoine, Ill give that a try I'm just trying to work out what it does (pardon my ignorance)... Thanks, Tom Smyth On Wed, 17 Feb 2021 at 17:57, Antoine Jacoutot wrote: > > On Wed, Feb 17, 2021 at 04:37:00PM +0000, Tom Smyth wrote: > > Hello, > > > > I have noticed fa

NSH diff update to 1.0.20210509

2022-02-20 Thread Tom Smyth
me started on the ports framework any feedback welcome -- Kindest regards, Tom Smyth. Index: Makefile === RCS file: /cvs/ports/shells/nsh/Makefile,v retrieving revision 1.42 diff -u -p -u -r1.42 Makefile --- Makefile 28 Apr 2021 20

Re: NSH diff update to 1.0.20210509

2022-02-21 Thread Tom Smyth
added wg (wireguard) support to nsh 4) Chris added improved bridge interface management cli syntax can this be updated in current and stable, Complies clean on amd64 and arp sysctls work as expected thanks to Kurtm and Soleene for their help On Sun, 20 Feb 2022 at 18:10, Tom Smyth wrote

Re: new stuff in pkg_add

2022-04-15 Thread Tom Smyth
operly, but expect *very* significant speed-ups in > frequent pkg_add -u somewhere post 7.1. > -- Kindest regards, Tom Smyth.

Re: update: nsh 1.2

2023-09-29 Thread Tom Smyth
Ok, Tom ... builds fine on 7.3 & 7.4 Current ... Im updating the changelog and will circulate on list... once completed, but it is an exciting release (im well chuffed with the Work that Chris, Stefan, (and somtimes me ) put in ) Thanks, Tom Smyth On Fri, 29 Sept 2023 at 12:22, St

nsh manual rewrite in mandoc draft feedback requested style ideas etc

2022-04-25 Thread Tom Smyth
are they too much what I should do more of? what i should do less of? any advice comments would be appreciated before we push the diff into ports / upstream nsh Thanks Tom Smyth. nsh.8 Description: Unix manual page

Re: nsh manual rewrite in mandoc draft feedback requested style ideas etc

2022-04-26 Thread Tom Smyth
be checked by Chris and included in the nsh source. Attached is the updated version any other feedback / adivce would be appreciated Thanks again Tom On Mon, 25 Apr 2022 at 21:59, Ingo Schwarze wrote: > > Hi Tom, > > Tom Smyth wrote on Mon, Apr 25, 2022 at 11:08:26AM +0

Re: Is there a way to display the block of another man page inside a man page

2022-05-01 Thread Tom Smyth
a .Xr telnet 1 session to the given TCP .Ar port on the remote server .Ar host , specified by name or IP address. If the port is not specified the IANA assigned port 23 for telnet will be used. The .Ar options are documented in the .Xr telnet 1 manual page. Thanks again Ingo Tom Smyth On Mon, 2

Is there a way to display the block of another man page inside a man page

2022-05-01 Thread Tom Smyth
-- Kindest regards, Tom Smyth.

Re: READMEs files for ports

2022-05-06 Thread Tom Smyth
Antoine Merci ... I dont know How I missed that Thanks for pointing me in the direction . On Thu, 5 May 2022 at 09:24, Antoine Jacoutot wrote: > > On Thu, May 05, 2022 at 02:02:40AM +0100, Tom Smyth wrote: > > Hello Marc, Folks > > > > regarding the READMEs in ports

Re: nsh manual rewrite in mandoc draft feedback requested style ideas etc

2022-05-04 Thread Tom Smyth
Any other adivice / feedback welcome, as im still updating and improving it ... (it will need a few more passes for certain On Tue, 26 Apr 2022 at 14:28, Tom Smyth wrote: > > Hello Ingo, > Thanks for all your feedback, It s very much appreciated. > Re mandoc(1) vs mdoc(7) thanks for th

Re: READMEs files for ports

2022-05-04 Thread Tom Smyth
already aware of, but nevertheless this might give an idea > about priorities on what to work on first) > -- Kindest regards, Tom Smyth.

Re: Update nsh to 1.0.20220919 Bug Fixes and improved manual Pages.

2022-09-21 Thread Tom Smyth
Smyth On Wed, 21 Sept 2022 at 18:04, Tom Smyth wrote: > Hello, > The following port update includes the following enhancements > 1) nsh.8 manpage > 2) a number of important bugfixes with bridge commands (strtonum) > 3) more complete net.inet and net.inet6 sysctl support > 4) up

Update nsh to 1.0.20220919 Bug Fixes and improved manual Pages.

2022-09-21 Thread Tom Smyth
, Scott Mc Donnell, Tom Smyth and Chris Cappuccio, Thanks to all the folks who worked over the the past few months to improve nsh... Thanks again, Tom Smyth

What do you do for spell check on files ?

2022-09-23 Thread Tom Smyth
o I typically use mg to edit the man page.. any suggestions on what other porters do to improve quality of the manual pages it would be wll appreciated -- Kindest regards, Tom Smyth.

Re: What do you do for spell check on files ?

2022-09-23 Thread Tom Smyth
:19, Tom Smyth wrote: > > Hi folks, > > > > some diffs proposed to nsh.8 manual (thanks StuartH & Omar) for them, > > It higlighted a (fairly big gap) in my manual writing ... and I > appreciate > > the improvements requested. > > > > what do peop

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-08 Thread Tom Smyth
4:16, Stuart Henderson wrote: > > On 2023/03/07 14:38, Tom Smyth wrote: > > the config below seems to get rrdcached working with httpd in OpenBSD. ... > > Thanks, I've added this to the pkg-readme. > > > the loading of the smokeping detailed graphs still takes a while ..

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-08 Thread Tom Smyth
is way faster ... for the user interface... ... Ill let you know if there are any negative impact on the graphs ... Thanks Tom Smyth On Wed, 8 Mar 2023 at 15:21, Tom Smyth wrote: > > Hello > I found that RRDCached helps with the gaps in the graphs... (write > i/o burst sm

Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-06 Thread Tom Smyth
ol Shows the latency of the \ Wireless Connectnetwork. alerts = Sustained_5%_loss,Sudden_10%_Loss,Sporadic_Loss,Latency_Over_50ms,Offline_at_startup #config-sniped######### smoke1# rcctl ls started cron dhcpleased httpd ntpd pflogd resolvd rrdcached smokeping smokeping_fcgi smtpd sshd syslogd -- Kindest regards, Tom Smyth.

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-10 Thread Tom Smyth
d down the httpd path. I have been > > running with httpd since that time. > > I can't remember the details, but think I initially tried w/o the cp'd > > files, but was not successful so began incrementally moving goodies into > > /var/www until it worked. > > I will try rm'ing or mv'ing those in /var/www and see how it goes. > > > > Thanks for your help. > > > > Regards, Glen > -- Kindest regards, Tom Smyth.

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-08 Thread Tom Smyth
that time. > I can't remember the details, but think I initially tried w/o the cp'd files, > but was not successful so began incrementally moving goodies into /var/www > until it worked. > I will try rm'ing or mv'ing those in /var/www and see how it goes. > > Thanks for your help. > > Regards, Glen > -- Kindest regards, Tom Smyth.

Re: nsh1.1 update diff attached

2023-03-15 Thread Tom Smyth
; used to exit interface configuration modes 12) nsh.8 manual page updated to include the new features, improved cross referencing feedback ,comments, ideas, testers contributors welcome... Thanks again, Tom Smyth On Mon, 13 Mar 2023 at 12:34, Stuart Henderson wrote: > > On 2023/03/13 12:12, Tom

Re: nsh1.1 update diff attached

2023-03-15 Thread Tom Smyth
after tab-completion finds a unique command, so e.g. you can do 'shrun" > without typing an extra space; might be a useful addition for people > coming from other systems. > -- Kindest regards, Tom Smyth.

Re: nsh1.1 update diff attached

2023-03-13 Thread Tom Smyth
Hi Stuart ill have a look at this... and see what can be done on GH with Stefan and Chris Thanks On Mon 13 Mar 2023, 11:09 Stuart Henderson, wrote: > On 2023/03/13 00:44, Tom Smyth wrote: > > Folks, > > please find attached, update for nsh to nsh1.1-20230312 > > I wou

nsh1.1 update diff attached

2023-03-12 Thread Tom Smyth
shout out to Justin who helped identify where we could improve the show commands / diagnostic commands based on his use of other networking platforms. -- Kindest regards, Tom Smyth. nsh-1.1.20230312 Description: Binary data

Smokeping pkg_add -u from 7.2 to 7.3 fails because /usr/sbin/dig is crashing

2023-03-07 Thread Tom Smyth
e 1. this appears to be because dig making a bad syscall and crashing just a heads up ... -- Kindest regards, Tom Smyth.

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-07 Thread Tom Smyth
0 1264K 1956K idle kqread0:00 0.00% ntpd 30532 root 20 1716K 2164K idle kqread0:00 0.00% smtpd On Tue, 7 Mar 2023 at 08:36, Stuart Henderson wrote: > On 2023/03/07 07:10, Tom Smyth wrote: > > I m running smokeping fcgi and rrdcached ontop of OpenbSD, to smok

Re: Smokeping pkg_add -u from 7.2 to 7.3 fails because /usr/sbin/dig is crashing

2023-03-07 Thread Tom Smyth
Folks issue was I was using /usr/sbin/dig rather than /usr/bin/dig correcting the config in smokeping ... resolved the issue (thanks Peter Hessler) cheers, Tom Smyth On Tue, 7 Mar 2023 at 12:49, Tom Smyth wrote: > Folks, > During the pkg_add -u in current (from 7.2 stable to 7.3 c

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-07 Thread Tom Smyth
ePing of Wireless Connect Ltd. \ This Tool Shows the latency of the \ Wireless Connectnetwork. alerts = Sustained_5%_loss,Sudden_10%_Loss,Sporadic_Loss,Latency_Over_50ms,Offline_at_startup #########config-sniped# smoke1# rcctl ls started cron dhcpleased ht

Re: nsh1.1 update diff attached

2023-03-29 Thread Tom Smyth
for the feeback much obliged Tom Smyth On Wed, 15 Mar 2023 at 23:01, Tom Smyth wrote: > > Thanks Stuart > Ihave created an issue for this .. It makes sense... it will be > implemented shortly ... > > https://github.com/yellowman/nsh/issues/64 > > On Wed, 15 Mar 2023 at

Re: sparc64 bulk build report

2024-01-04 Thread Tom Smyth
Folks Sorry for not picking this up sooner I will fix nsh by the end of January ... sorry for the delay in getting back to you on this Tom Smyth On Wed, 20 Dec 2023 at 09:30, wrote: > Bulk build on sparc64-0a.ports.openbsd.org > > Started : Sun Dec 17 01:48:55 MST 2023 > Finished