Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Night-Sky Monitoring Public Release - Page 2
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Night-Sky Monitoring Public Release

2

Comments

  • Nah. Once it's GPL'd, it'll be taken in as a base package and then ignored until someone finds an exploit.

  • FalzoFalzo Member
    edited November 2017

    @Neoon said:

    Ask if you need help.

    thanks... but need to figure last issues myself I think. otherwise I wouldn't be able to fix things if needed. using nginx+php-fpm on stretch here. just the curl for the remote server does not come up correctly with a 200 inside the fetch function as it seems, though I can curl that check url correctly from commandline and see the correct result.... fixed.

    it's working as expected, after quite some learning-what-you-were-doing ;-)

  • Hi,
    i've deploy, but how to register my self? register link give me this
    "Currently out of Stock, but here is a Video:
    What is something? and why does it happen?"

    thanks

  • NeoonNeoon Community Contributor, Veteran
    edited November 2017

    @mgilang said:
    Hi,
    i've deploy, but how to register my self? register link give me this
    "Currently out of Stock, but here is a Video:
    What is something? and why does it happen?"

    thanks

    Edit the config, set the user limit higher.

    @Falzo said:

    @Neoon said:

    Ask if you need help.

    thanks... but need to figure last issues myself I think. otherwise I wouldn't be able to fix things if needed. using nginx+php-fpm on stretch here. it's working nearly as expected, just the curl for the remote server does not come up correctly with a 200 inside the fetch function as it seems, though I can curl that check url correctly from commandline and see the correct result....

    Location => Russia

    IP => somwhat.blyat.ru or 127.0.0.1

    Port => 443 (hopefully and not 80)

    Online => will be set to 1 when reachable and the Cronjob runs.

    edit:

    Actually I just looked into the code, https is hardocded, so http wont work.

    curl installed on php?

    Thanked by 1Falzo
  • FalzoFalzo Member
    edited November 2017

    Neoon said: Actually I just looked into the code, https is hardocded, so http wont work.

    yes, and if one provides an IP for IP (cause the tablename suggests so) curl won't work correctly because the cert is off... ;-)

    another hint: you only sending cookies while on ssl also gave me headaches earlier, till I found it ;-)

    now it's looking rather good, will go to sleep because it's nearly 2 a.m. here... setting up more remotes tomorrow and moving over my checks then.

    again muchas gracias for developing and sharing this! best easiest monitoring/alerting tool ever (once its running) ...

  • NeoonNeoon Community Contributor, Veteran
    edited November 2017

    @Falzo said:

    Neoon said: Actually I just looked into the code, https is hardocded, so http wont work.

    yes, and if one provides an IP for IP (cause the tablename suggests so) curl won't work correctly because the cert is off... ;-)

    another hint: you only sending cookies while on ssl also gave me headaches earlier, till I found it ;-)

    Well, lemme update the ReadMe, I missed that.

    Its better security wise to only allow cookies on SSL/TLS.

    Thanked by 1Falzo
  • @Neoon said:
    Actually I just looked into the code, https is hardocded, so http wont work.

    Holy fuck. You weren't kidding about cuttenpaste.

  • NeoonNeoon Community Contributor, Veteran

    @WSS said:

    @Neoon said:
    Actually I just looked into the code, https is hardocded, so http wont work.

    Holy fuck. You weren't kidding about cuttenpaste.

    I rather do hardcode https before I do allow http.

  • @Neoon said:

    @WSS said:

    @Neoon said:
    Actually I just looked into the code, https is hardocded, so http wont work.

    Holy fuck. You weren't kidding about cuttenpaste.

    I rather do hardcode https before I do allow http.

    lucky for us there is letsencrypt ;-)

  • NeoonNeoon Community Contributor, Veteran

    We finally added an new feature: WebHooks.

    The WebHooks should work with any kind of API which uses a GET/POST or PUT requests.
    You can configure a json payload even the headers, so for example it works with Cloudflare to update your dns updates, also Discord does work to post messages into channels.

    If you have an existing installation you should follow these steps to upgrade it:

    • stop the cronjob's
    • backup your /content/configs, also your modified files, git status should show you the changes
    • use git checkout to restore the files to default, then run git pull
    • import the sql migration file to your database from /content/sql/migrations/webhooks.sql
    • restore the configs and your files, its the last time you need to do that, for further updates there has been added a .gitignore for /content/configs/
    • truncate the table threads, to make sure there are no locked up jobs
    • start up the cronjob's again

    Enjoy.

    Thanked by 2Falzo MikePT
  • Thank you for developing it and sharing it with the community. I looked through the project page and didn't find an answer to my question. What was the reason to write this? Did you decide to roll out your solution because current applications (zabbix/statuscake/etc) didn't satisfy your specific need, to implement something differently or due to unrelated reasons aka just for fun? Does Night Sky has an edge in something? I think in the crowded place of monitoring apps a paragraph on this would be potentially interesting for people new to this project.

  • NeoonNeoon Community Contributor, Veteran
    edited December 2017

    @Yura said:
    Thank you for developing it and sharing it with the community. I looked through the project page and didn't find an answer to my question. What was the reason to write this? Did you decide to roll out your solution because current applications (zabbix/statuscake/etc) didn't satisfy your specific need, to implement something differently or due to unrelated reasons aka just for fun?

    I needed something like statuscake or uptimerobot, with 60s checks and less.

    There is no reason why I should pay them, when you can create this by yourself.

    And something so complex like zabbix was not needed.

    Does Night Sky has an edge in something? I think in the crowded place of monitoring apps a paragraph on this would be potentially interesting for people new to this project.

    Theoretically it scales until the database server dies off.

    But I do not have any exact numbers for it.

    I have something in mind, to make it HA, where it can scale over multiple servers, but lets see.

    Thanked by 1Yura
  • Thanks for this, I remembered your free one from before I was hoping for a revival. This will do!

  • MikePTMikePT Moderator, Patron Provider, Veteran

    Thank you for developing it even further. Great stuff here with the Webhooks. Need to get some time to test this.

  • also have to thank @Neoon for developing this even further, just need to find some time to apply the update... if anyone wants to test or use this monitoring for free, I have a working version in place willing to share. PM me for details on how to get a login ;-)

  • NeoonNeoon Community Contributor, Veteran
    edited December 2017

    I pushed another update, which does some code changes, fixes a few bugs and adds a new feature.
    You can find the new migration file in /migrations. Also update your config files.

    Everyone who has not updated currently, you should do that, I did fixed a nasty bug which leads to that some of the checks are not executed properly.

    The bug was brought in, by a update, a few weeks ago.

    I will take necessary measures, to reduce the risk that this will happen again.

    Thanked by 1Falzo
  • Is there a public demo of this?

  • If not a public demo, some screenshots please? Thanks

  • NeoonNeoon Community Contributor, Veteran

    @ramesh_vish said:
    If not a public demo, some screenshots please? Thanks

    https://imgur.com/a/Z8Dyo

  • abytecuriousabytecurious Member
    edited December 2017

    Looks great! Thanks for the screenshots. One of my idle VMs has found a purpose. :)

  • NeoonNeoon Community Contributor, Veteran

    Small update:

    • fixed a bug in remote cronjob
    • replaced the simple tcp check with a http check on the external nodes

      This detects Webserver errors, invalid TLS certs.. on the external nodes.

    • added a internal status page for external nodes

    A rework of the external nodes scripts is next + http checks.

    Thanked by 1Aidan
  • NeoonNeoon Community Contributor, Veteran
    edited May 2018

    Another update:

    • reworked the external nodes script, stuff is now passed as payload in json
    • added Domain support
    • added Support for http(s) checks
    • added support for v6
    • fixed a few bugs

    If you upgrade, stop the cron, import the sql migration, update the external scripts, run git pull, start up the cronjob.

    Make sure you are using dual stack if you add v6 ip's or v6 only domains.

    Thanked by 2FHR ma2t
  • hawchawc Moderator, LIR

    Mod edit: verbal request from @Neoon to move thread to general.

  • NeoonNeoon Community Contributor, Veteran

    Moved to Gitlab: https://gitlab.com/Ne00n/Night-Sky

    No updates will be pushed to Github anymore.

    Please update the repo origin.

  • @Neoon said:
    Moved to Gitlab: https://gitlab.com/Ne00n/Night-Sky

    No updates will be pushed to Github anymore.

    Please update the repo origin.

    Is this in response to the "Microsoft will acquire GitHub"?

  • NeoonNeoon Community Contributor, Veteran

    @Vinnyletje said:

    @Neoon said:
    Moved to Gitlab: https://gitlab.com/Ne00n/Night-Sky

    No updates will be pushed to Github anymore.

    Please update the repo origin.

    Is this in response to the "Microsoft will acquire GitHub"?

    Most likely yes, but the Import took a while, since Gitlab is a bit under load.

  • HxxxHxxx Member

    That's a nasty move right there from MICRO to Buy Github.
    Good for Gitlab.

    There is Jira's Bit Bucket too.

  • ddhhzddhhz Member
    edited June 2018

    Welcome to Microsoft Azure

  • NeoonNeoon Community Contributor, Veteran

    @ddhhz said:

    Welcome to Microsoft Azure

    Thanked by 1FHR
  • NeoonNeoon Community Contributor, Veteran

    Regarding this Project, I am still using it, actively for myself and I plan to continue that. Since I wont spend $$ on monitoring, rather on servers.

    Night-Sky runs great on PHP 7.2 but sadly PHP 7.2 goes into extended support soon and a bit later EOL, so I will take a look at the Code and push maintenance updates to make it work on PHP 7.3 and maybe if released PHP 7.4.

    I am pretty sure that it will break on PHP 7.3 in the current state.

    Same goes for Bootstrap 3 which is already EOL still works fine as expected.
    We will see when this upgrade is needed.

    And yea, the Repo will stay at Gitlab, that was a quick bloody move.
    Just wanted to let you know, since I was using it in silence.

Sign In or Register to comment.