Uptime Kuma vs Netdata for a tiny VPS, what do you actually run?

LisaW_

New Member
Messages
53
Reaction score
0
Location
Edinburgh, UK

So my main site was down for almost 6 hours last week and I only found out because a client emailed asking if I'd "shut the server down for maintenance." Embarrassing. Turned out to be a stuck php-fpm pool, nothing dramatic, but the not knowing was worse than the fix.

Anyway I set up Uptime Kuma in a container over the weekend (Hetzner CX22, 4GB, running 3 small sites) and honestly it's kind of fun? Got it checking all three, email alerts going out. Took me an hour because I've never touched docker-compose before and of course I broke the volumes on the first try.

But now I keep seeing people mention Netdata and I'm wondering if I picked the wrong tool. Uptime Kuma tells me if something died, Netdata seems to tell you why? Do people run both? Also feels a bit silly running monitoring on the same box it's watching, but a second VPS is another $4 a month for what's basically a hobby setup at this point.

What are you all using for small stuff like this? Does anyone bother with a separate monitoring box or is that overkill?

greg_ohio

New Member
Messages
71
Reaction score
0
Location
Columbus, OH

Bhai this exact thing happened to me. My little promo page for a Teen Patti app was down for almost a full day and I only found out when a friend messaged "tera link kaam nahi kar raha" 😅 The not knowing part is genuinely worse than the downtime itself.

I've been on Uptime Kuma for a few months now, just Telegram alerts, and honestly for a hobby setup I think you're fine. Netdata answers a different question. Kuma tells you "it's dead", Netdata tells you "it's dying because RAM/disk is choking" which is useful but it's also another thing to learn and babysit. At 3 small sites do you really need it yet? Probably not. Ask me again in 6 months lol.

About the same-box thing, everyone says never do it, but $4 is $4. I just set mine to ping a free external service (healthchecks.io type thing) every few minutes so that if the whole Hetzner box disappears, the silence itself triggers an alert. Poor man's dead-man switch. Curious if anyone here actually pays for a second VPS just for monitoring, or is that only a "real business" thing.

jen_93

Member
Messages
62
Reaction score
0
Location
Cape Town, ZA

Netdata wouldn't have caught your stuck php-fpm pool either, and that's the part people get wrong about it. Everyone sells it as the "why" tool but it's really the "is the box resource-starved" tool. If your pool wedges while CPU is flat and memory looks fine, Netdata shows you a perfectly healthy graph and you're still staring at a dead site. The actual why for a wedged pool lives in your fpm slow log and the process list. So no, you didn't pick the wrong tool.

That said I do run both, and I'd push back on greg_ohio's "you don't need it yet" a little. Not because Netdata is magic but because at 3 sites on a 4GB box you're one bad cron and one memory leak away from the OOM killer eating mysql at 2am. Netdata's memory chart showing the ramp over a week is how I figured out a log rotation script was quietly eating 300MB a day. Kuma would've just told me the site went down at 2am, which I already knew the next morning.

On the same-box thing, I do exactly what greg_ohio does. Kuma running locally, plus a push heartbeat going out to an external service every few minutes. Box dies, pings stop, I get a text. Something inside the box dies, Kuma's checks catch it. The only thing you genuinely can't do from the same box is distinguish "my site is down" from "my site is unreachable from this specific datacenter," and honestly for a hobby setup who cares.

The second VPS is only worth it if you're monitoring for clients or you've got money sitting behind the uptime. $4 a month to avoid a false alarm from a network blip isn't the trade I'd make. I'd spend that on a backup instead.

FrostyBear

New Member
Messages
67
Reaction score
0
Location
Brisbane, AU

The php-fpm wedge thing jen_93 mentioned is what's bugging me now. My site was flat dead but the box looked totally normal, and I never actually figured out why. Just restarted the pool and moved on like an idiot. Is the slow log something you have to turn on yourself? I don't remember ever touching fpm config, it's whatever the default was on the image.

Also this push heartbeat trick, I want to do that but I keep going back and forth. Every external service I look at wants an account and a cron entry and I'm like... for 3 sites? But greg_ohio's point about the box vanishing entirely is real and Kuma obviously can't email me if Kuma is dead. That part I hadn't thought about at all.

Second VPS still feels like overkill at this scale. Maybe when something actually makes money lol.

emilyb85

New Member
Messages
67
Reaction score
0
Location
Amsterdam, NL

FrostyBear, no, the slow log is off by default on basically every PHP image I've ever touched. You have to set it yourself in the pool config, something like request_slowlog_timeout = 5s and slowlog = /var/log/php-fpm/slow.log. Then when the pool wedges you actually get a stack trace showing which function was hanging, which is the real "why" everyone keeps promising you'll get from monitoring tools and mostly don't. Worth doing even if you never touch Netdata.

Where I'll push back on jen_93 a little, and I say this as someone who ran Netdata for over a year: the memory ramp story is real, but it's also the one thing a dumb cron job catches. free -m >> /var/log/mem.log every 15 min and you'd have spotted that 300MB/day creep just as fast. Netdata's actual value isn't the data, it's that you look at it. If you're the type who checks a dashboard, great. If you're not, you've installed another thing that sends you graphs you ignore. I was the second type and eventually pulled it.

Same box thing, I'm with you and greg_ohio. Local Kuma plus an external heartbeat is the right shape for 3 sites. The second VPS only starts making sense once downtime actually costs you money. And if you're already on Hetzner, there's a thread here about why people keep landing there over DO:

https://websiteforums.info/threads/digitalocean-overrated-switched-to-hetzner-yesterday.14

Genuine question though, has anyone here actually been saved by Netdata in a way Kuma plus a cron wouldn't have caught? Not being snarky, I want the counterexample before I reinstall it.

tallguy_tx

New Member
Messages
61
Reaction score
0
Location
Austin, TX

emilyb85 nailed the slow log thing, that's the one config change I'd make before even thinking about Netdata. I ran a wedged pool for probably two months before I found it, because the box looked fine and I kept just restarting fpm like FrostyBear and calling it fixed. Turned out it was an outbound call to a payment API that was hanging on connect with no timeout set. Slow log would've pointed straight at it in one line. Set request_slowlog_timeout = 5s and move on, genuinely.

Where I'll push back on her "free -m in a cron catches the memory creep" point though. In theory yeah. In practice I had exactly that cron running for like a year and never once looked at the file. The log existed, the ramp was sitting right there, and I still got blindsided. So the data was never the problem, it's whether you actually read it. Which I guess is her actual point, so fine, I'm arguing with myself here lol.

The same-box thing, my situation is a little different from you guys. Most of my sites are gambling affiliate stuff and my cards get declined left and right for anything hosting related, so "another $4 a month" is really "another $4 plus an hour of fighting with whatever payment processor hasn't blocked me yet." That changes the math a lot. I ended up on Hetzner for a reason, it's one of the few that takes what I can actually pay with. For anyone on normal sites though yeah, local Kuma plus an external heartbeat is the right shape, I do the same.

FrostyBear one thing nobody mentioned, don't overthink the heartbeat service. healthchecks.io free tier is fine for 3 sites, you don't need an account with a fancy dashboard, you need a URL that yells at you when it stops getting pinged. Took me 10 minutes, most of which was copy pasting the cron.

https://websiteforums.info/threads/digitalocean-overrated-switched-to-hetzner-yesterday.14

w0lfpack88

New Member
Messages
72
Reaction score
0
Location
Oslo, NO

tallguy_tx's line about cards getting declined for hosting is the most relatable thing I've read on this forum. Half my sites are casino affiliate stuff and my bank treats "web hosting" like I'm trying to buy a boat, so it's never just $4, it's $4 plus an hour of arguing with a processor. I ended up on a prepaid card I top up with PayID, and one of my hosts now only takes crypto and honestly I've stopped fighting it. How are you handling it? Genuinely curious because "declined for hosting" is my whole personality at this point.

On the actual thread though, the slow log is the real answer and I don't think it got said loud enough. emilyb85's right that it's off by default, and until you turn it on, the box looking fine is the entire problem. I sat on a wedged pool for weeks doing the restart-and-move-on thing FrostyBear and tallguy_tx both described. Turned out to be an outbound cURL with no timeout to a payment API, same as tallguy_tx. Set request_slowlog_timeout = 5s, it wedged again two days later, and one line in the log pointed straight at the function. No dashboard was ever going to tell me that.

As for the second VPS, I'll push back on the whole thread a little. I don't run one. The dead-man switch is cheap and correct, but in my experience it's never the whole box that dies, it's always the app, and Kuma catches that fine. So the $4 only makes sense if you're the type who actually looks at the second box. Which is exactly emilyb85's point about Netdata, and I'm self-aware enough to know I'm not that guy.

You must log in or register to reply here.