2 alerts but I don't see anything

In the recent days I’ve noticed that the Alert button in the web GUI has a bubble with a 2 indicating 2 alerts. This is new, I’ve never seen this before. However, when I click all the options under Alerts there is nothing indicating 2 of anything and I don’t see how to get rid of that 2.

Thanks.

Does anyone have any suggestions? the bubble displaying a 2 is driving me nuts, I’m not sure what is being called out as an alert. Thanks.

I found the silly bug, 2 is the number of different severities you have.

Should be fixed soon: Fix alert count and change style by murrant · Pull Request #20270 · librenms/librenms · GitHub

Where do I find these severities? I’m not able to connect to the work librenms, at the moment, but librenms that I’m running at home doesn’t have severities that I’m aware of (no alerts here).

150+ alerts today, but nothing to indicate where/what they are.

@dt-lib click on the Alerts menu, then click Notifications.

Ok, I see. Is this the bug that you mentioned yesterday or something new? I don’t need/want to acknowledge a port going up then down. Also, there is a port utilization over threshold, this is new to me. The default rule/alert may have always been there, but I’ve never see notices for this event. I’d only want to know of an over utilization if I’ve manually created a rule for a port.

Hopefully this is the bug you are referring to and an update will correct this behavior.

Is there a way to acknowledge all at once?

@dt-lib you control the alert rules. Just go to alert rules and disable/delete any you don’t care about. (you could also map them to specific devices if you only partially care)

I’ve been running librenms for years and have never seen this. Something has changed.

How can I acknowledge all at once? I’m not clicking that eyeball 163 times.

I might control them as you say, but this has never appeared before, which means some logic has changed somewhere.

You’ve never seen alerts? If you aren’t using alerts, just go in to the alert rules page and delete them all. You could also set alert.disable to true lnms config:set alert.disable true.

Yes, the alert menu now shows the count of how many active alerts you have. It didn’t change if the alerts were triggered.

No I have not, which means something has been changed on the LibreNMS side. I’m sure I had alerts, but I never had a bubble with a number to catch my eye.

I use my own alerts, just not the ones LibreNMS auto configures.

Is it possible to have these changes toggled on/off? Not everyone wants to see these changes when LibreNMS updates. I’m thankful for fixes/patches/etc but some of these new features are not user friendly.

Yeah, it is called a new feature and it is only a cosmetic one.

Take it up with the author. I didn’t write the code, I just fixed it.

As s I said LibreNMS comes with no alert rules out of the box. I highly recommend you remove the ones you have if you don’t want them.

LibreNMS doesn’t auto configure any. You have to click a button to import some default rules.

Sounds like you need to do some tidying up.

I know you and Tony work on LibreNMS and know what you are talking about, but there are default rules/alerts. I’m looking at a handful that I did not set up and they are attached to all my devices. I’m the only user/admin of this system for my work and home installs so I’m not sure what to say other than default alerts/rules do exist unless we are talking about two different things.

For starters, if I added a rule to port utilization I would not have spelled it like it is listed in LibreNMS which is utilisation. I did not add that, yet I see as an alert that I need to ‘tidy up’.

It was just a general comment, regarding seeing new features that are not as good as the previous option, but I don’t know how to write code or modify the existing librenms instance so I guess I need to live with it or switch to another platform. I like LibreNMS the best of all the other options out there, so I guess I just need to live with the few things that I don’t like as much. No matter what I do, I can’t adjust to the new search. When I click ‘save’ for a certain filter, I have no clue where it has been saved to. I’ll find it eventually (maybe).

Only if you click the big button that’s labelled Click here to create the default alert rules. LibreNMS doesn’t auto configure them as you stated.

But that’s your opinion, like others have their opinion and it means that it’s impossible to please everyone, just like any other software.

We can’t add user options to toggle everything on/off so yes, users do have to live with the decisions of a few (I wanted an easy glance at the number of alerts so I added the feature in)

I didn’t click any buttons. I did a default install of librenms and added my own alerts as needed.

Is there a way to delete an alert? Or is there a way to have them remove off the alerts page once you’ve acknowledged…maybe after 24 hours of being acknowledged they can go away? Not sure, just asking to see my options at this point.

Honestly, you did. I wrote the original code to allow users to import the default rules, it’s never been forced on users.

Fix the issue or disable/delete the alert rule.

I can assure you I did not click any buttons. It must be set to ‘enabled’ on a clean install that’s the only way I can see the global rules being listed.

There is nothing to fix. I don’t have any ports with 80% utilization yet the alert tells me I do.

Another alert I see is for a device that rebooted. The device is back up but the alert is still listed. How do I ‘fix’ the device reboot alert? I don’t want to acknowledge it, I don’t need to see it as an alert.