snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Scheduled Maintenances with Notifications

Open MSWork79 opened this issue 8 years ago • 63 comments

Server (please complete the following information):

  • Snipe-IT Version 4.6.4
  • OS: Ubuntu 18.04.1
  • Web Server: Apache
  • PHP Version 7.2.10-0ubuntu0.18.04.1

Is your feature request related to a problem? Please describe. Problem is having to perform routine maintenance on some items (servers, primarily) but not having a convenient way to keep track of it.

Describe the solution you'd like Snipe-IT's current "Maintenance" setup is pretty nice. Types maintenance, repair, upgrade, etc. is pretty convenient and, while it does not have notification features, could be used to track things like "every 30 days do X Task, every 90 days to Y task, etc." Given the original purpose of "Asset Maintenance" I would propose the following:

  1. Add an additional "Asset Maintenance Type" called Upkeep (helps with filtering/sorting/etc.)
  2. Remove the Supplier field as required (or expand who is responsible, such as a user).
  3. Generate notifications that, depending on how No 2. above goes, send notifications to the admins and/or the users responsible for the Upkeep.
  4. Since Upkeep is not a 1-time thing, allow it to be scheduled/repeat until expiration day is met. Might include a 30-day minimum, as it could overwhelm the Maintenance tab and honestly, if you're doing it daily or weekly documenting that in here is a little crazy.

Describe alternatives you've considered Utilize 3rd party software to keep track of reminders/notifications. Unfortunately those would not show up under the maintenance tab.

Also considered just using Licenses and manually setting expiration dates to get hit with notifications. PRO: it'd remind me to do stuff. CON: it's sloppy and doesn't show up under an asset history.

Additional context Similar issues/requests #1884 #1935 #3747

MSWork79 avatar Dec 05 '18 17:12 MSWork79

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

stale[bot] avatar Feb 07 '19 06:02 stale[bot]

Ready for dev stalescrub, be gone.

MSWork79 avatar Feb 07 '19 14:02 MSWork79

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

stale[bot] avatar Feb 07 '19 14:02 stale[bot]

It’s not supposed to stalebot issues with that tag :(

snipe avatar Feb 07 '19 19:02 snipe

Just preemptively stopping stalebot. This would be amazing. Kind of like keeping a maintenance log on your vehicle. While it is implied, reading over the original suggestion, I think there would need to be a way to mark its status: pending (default), delayed, cancelled, complete.

If it is simply changing/updating the exp date, this would still serve as a reminder/notification system but not show up under the history. Would have to chew on the concept some to see if it makes sense or not.

MSWork79 avatar Mar 06 '19 14:03 MSWork79

I too would like to request this feature, I was amazed to see it wasn't already supported. Scheduled maintenance is important for our organization.

emike09 avatar Apr 17 '19 17:04 emike09

Please add my name to the list of interested users! I've setup a workaround using licenses that expire with the maintenance schedule so that's a clunky solution. Not ideal!

guolivar avatar Apr 18 '19 00:04 guolivar

Also interested in this feature.

jpandy1 avatar May 23 '19 14:05 jpandy1

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

stale[bot] avatar Jul 22 '19 17:07 stale[bot]

It's still relevant to me. This would be such useful feature for us.

emike09 avatar Jul 22 '19 19:07 emike09

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

stale[bot] avatar Jul 22 '19 19:07 stale[bot]

definitely need an update to the maintenance feature. Ability to set a next maintenance date and have notifications when date is due.

Additional maintenance types would also be helpful, along with a full upload for reports, certificates etc.

ghost avatar Aug 02 '19 14:08 ghost

Could really use this on our machines that require preventative maintenance to keep our warranties valid. It would make things a heck of a lot easier to manage.

Would love to see an update.

ItsSusanBoyle avatar Sep 04 '19 17:09 ItsSusanBoyle

I'd love this feature. In the meantime: if someone is interested I managed to report maintenance dates with a mysql query:

USE your_snipeit_database_name; SELECT a.name,am.asset_maintenance_type, am.start_date FROM assets AS a, asset_maintenances AS am WHERE a.id = am.asset_id AND DATE_FORMAT(am.start_date - 5, "%Y-%m-%d") = CURDATE();

This query will show assets' names that should do maintenance in 5 days. Example:

+------+------------------------+------------+
| name | asset_maintenance_type | start_date |
+------+------------------------+------------+
| dell | Maintenance            | 2019-09-13 |
+------+------------------------+------------+

I use it from command line (linux) to check every day and send mail with that info.

dragonauta avatar Sep 07 '19 23:09 dragonauta

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

stale[bot] avatar Nov 06 '19 23:11 stale[bot]

Still relevant.

andypalacios avatar Nov 06 '19 23:11 andypalacios

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

stale[bot] avatar Nov 06 '19 23:11 stale[bot]

@snipe stalebot keeps marking this as stale. This is an important feature for us and wouldn’t want it to go stale.

andypalacios avatar Nov 06 '19 23:11 andypalacios

This would be amazing

Odel avatar Dec 13 '19 16:12 Odel

Bumping so it doesn't get flagged by stalebot.

This has been "ready for dev" for over a year. Any chance of this happening soon?

ItsSusanBoyle avatar Jan 02 '20 18:01 ItsSusanBoyle