Howdy, Stranger!

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


scrd: How do I get it to return service information?
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.

scrd: How do I get it to return service information?

diffradiffra Member
edited February 2013 in General

Hey, I know there's quite a few folks here who are familiar with scrd, so I'm hoping one of you might be able to help. I'm trying to get it to return service status info, but no matter what I do the svc section of the JSON response is blank. Any pointers? For what it's worth, I'm building a new server status page, and am looking at the JSON directly.

Comments

  • HalfEatenPieHalfEatenPie Veteran
    edited February 2013

    I'm assuming you meant SRCDS (Source Dedicated Server) instead of SCRD...

    This is what I googled up (sorry I can't really say I know how to do that specifically)

    https://github.com/RJMiller/srcds-tools
    https://github.com/PinionTech/srcds-info
    https://github.com/Nican/SRCDS-node.js-tools/blob/master/package.json

    I know you're going to hate me for this, but ask here for SRCDS: http://forums.srcds.com/

    I'm stupid, do you mean this?

    https://github.com/DimeCadmium/scrd/

    That's been outdated for a while. I'd personally talk to @DimeCadmium about that

  • Did you try to telnet port 12908 on the server ?

  • yes, that's the one. I wasn't aware it was outdated, is there a newer version? I've been using it with a heavily modified version of nikki's frontend for awhile and ended up scrapping it and writing my own frontend (http://james.bertelson.me/status/) The only catch is that the service checks aren't working. If there's another similar app, i'm all ears.

    telnet 12908 works fine, but in the json response the svc tree is always empty even when there are known good services listed in scrd's config file. That's where I'm lost. I guess I could dive into the code for it, but I hoped it was an easy fix/PEBKAC.

  • I suggest you find a new monitoring script (or code your own!). That monitoring script is long-gone outdated.

  • OpenStatus combines scrd and nikki's frontend, and adds a few features. Services checks work, and you can write your own custom checks (for example, a check for the number of files in a directory, or, really, the output of any command). It has some I/O issues (the database gets pretty big and needs to be manually pruned) and a few other bugs that I haven't had time to work out, but for basic monitoring, it gets the job done. Demo here

  • @HalfEatenPie said: I suggest you find a new monitoring script (or code your own!). That monitoring script is long-gone outdated.

    But it still works like a charm :D There is nothing comparable lightweight.
    I am using it in my own status script, too.

  • @NickM said: OpenStatus combines scrd and nikki's frontend

    But is equally outdated, slightly more bloated, and the developer's all but disappeared. I guess i'll take a crack at forking scrd. Thanks guys!

  • @diffra said: the developer's all but disappeared.

    I haven't exactly disappeared :P But yes, I haven't been updating OpenStatus lately. Not due to a lack of caring about OpenStatus, but because I've had some other projects occupying most of my time. :(

Sign In or Register to comment.