[Xymon] Nginx - performance test?

John Horne john.horne at plymouth.ac.uk
Mon Mar 27 14:31:41 CEST 2023


On Mon, 2023-03-27 at 12:54 +1100, Brian Scott wrote:
>
> I used https://github.com/ZeWaren/xymon-nginx for a short while some
> years ago. Seemed to work OK but my requirements changed and I've no
> idea if it is still working. The code is still there on github.
>
Thanks for that. It's a little more than I wanted as all I really need is the
total number of requests and let Xymon work out the number of requests per
second. As it turns out, it is just a few lines of Perl and works well :-)

I should perhaps add that I did also take a look at the Xymon code itself.
Looking at the 'apache' test, it should be possible to cater for Nginx (I'm
wary to say "relatively easily"!) The required URL changes from '/server-
status?auto' for Apache to '/server-status' for Nginx. Secondly, the status
output would need to be modified since obviously the output lines are different
between Apache and Nginx. The rest of the code for the 'apache' test would then
basically be the same for a new 'nginx' test. I haven't got time at the moment
to code this and test, but we still have some other servers to move from Apache
to Nginx, so I may have a bit more time then to look at modifying Xymon.


John.

>
> On 22/3/2023 4:51 am, John Horne wrote:
> > Hello,
> >
> > Does anyone have a test like the 'apache' performance test (as described in
> > the hosts.cfg man page) but for Nginx?
> >
> >
> > Thanks,
> >
> > John.
> >
> > --
> > John Horne | Senior Operations Analyst | Technology and Information
> > Services
> > University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK
> > ________________________________
> > [
> > https://sauopprdwebsite1.z16.web.core.windows.net/email_footer.gif]<http://
> > www.plymouth.ac.uk/worldclass>
> >
> > This email and any files with it are confidential and intended solely for
> > the use of the recipient to whom it is addressed. If you are not the
> > intended recipient then copying, distribution or other use of the
> > information contained is strictly prohibited and you should not rely on it.
> > If you have received this email in error please let the sender know
> > immediately and delete it from your system(s). Internet emails are not
> > necessarily secure. While we take every care, University of Plymouth
> > accepts no responsibility for viruses and it is your responsibility to scan
> > emails and their attachments. University of Plymouth does not accept
> > responsibility for any changes made after it was sent. Nothing in this
> > email or its attachments constitutes an order for goods or services unless
> > accompanied by an official order form.
> > _______________________________________________
> > Xymon mailing list
> > Xymon at xymon.com
> > http://lists.xymon.com/mailman/listinfo/xymon
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon

--
John Horne | Senior Operations Analyst | Technology and Information Services
University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK
________________________________
[https://sauopprdwebsite1.z16.web.core.windows.net/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>

This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, University of Plymouth accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. University of Plymouth does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form.


More information about the Xymon mailing list