Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Microsoft Protocol – SNMP agent removing a service from the Services table if not running?

Solved1.07K views23rd June 2023adl2099 Microsoft SNMP Windows service monitoring WMI
3
Alberto De Luca [DevOps Enabler]4.58K 21st June 2023 0 Comments

Hi Dojo,
I'm using the Microsoft SNMP protocol to monitor the state of a "GivenService" via the Service Table so that I can build a dashboard to report the state of this "GivenService" across a few servers in the monitored infrastructure - all fine as long as the service status is "Running" on the target Windows OS:

I've configured the alarm template to provide a warning for any other value of the parameter "Svc Oper. State" shown above.

Here's the issue... when the state is no longer "Active", I cannot retrieve the entry in the table:

Any hint from any Wintel Wizard, perhaps to configure the service in a different way?

Wondering if it is a limitation of the Microsoft SNMP agent - if so, is it worth deploying the WMI-based protocol to monitor the state of a given service across different Windows servers?
Or would it be the same?

Any steer will be helpful.
Thanks

Alberto De Luca [DevOps Enabler] Selected answer as best 23rd June 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Chris Glover [DevOps Advocate]1.13K Posted 22nd June 2023 2 Comments

We're using the WMI driver to monitor windows machines. We have a few where we alarm on a missing process, you do need to make sure "Auto Clear Task Manager" is set to off.

The process of interest needs to have been seen since the element started, otherwise it won't detect that it is missing.

In the alarm template, alarm on task name, set a filter for the appliaction of interest (e.g. Notepad*) then in the green status box have the same again, and in the red status box have "Not Found".

Chris Glover [DevOps Advocate] Posted new comment 26th June 2023
Alberto De Luca [DevOps Enabler] commented 23rd June 2023

Top notch, Chris – Thanks for sharing

I think that’s what I need – pretty much like DVB services in MPTS on probes 😉
or missing PIDs in a dekTec, back in my TV days ^^

“Video killed the radio star” – The Buggles
(soundtrack for re-deployment 😉 )

Chris Glover [DevOps Advocate] commented 26th June 2023

Glad it was useful!

2
Floris Cockaerts [SLC] [DevOps Advocate]2.43K Posted 22nd June 2023 1 Comment

Hi Alberto,

This seems to be a quirk of both Windows, and the driver. Namely, when polling the OIDs for services on the host, Windows only replies with the active services. This results in the Services Table Config (on the Service Monitor Config page), which doesn't retain deleted keys as it is an SNMP table. The enabled rows are then pushed to the Services Table.

I presume the developers at the time assumed that inactive services would be reported as well, or Windows has changed its behaviour over time. The problem with retaining inactive services is that we won't know if the service is stopped, or actually deleted. So although it's possible to solve this in the driver, it may need manual maintenance to then remove deleted services.

Alberto De Luca [DevOps Enabler] Edited comment 23rd June 2023
Alberto De Luca [DevOps Enabler] commented 23rd June 2023

Thanks for your explanation, Floris, much appreciated – it makes perfect sense.

Indeed I remember that in the past I was using a Microsoft driver to monitor services, but it’s likely that it was the WMI version, as I had not encountered this before – I’ll check if that version can be deployed in the target environment, as it sounds like a quicker fix.

If not (e.g. fw port restrictions) we’ll check with the squad if the “missing” behaviour described by Chris in his answer could be a viable option for the SNMP version too.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

On gauge the values are not visible? 1 Answer | 2 Votes
How to implement bearer token refresh? 1 Answer | 5 Votes
Web Applications exception in Cube due to invalid certificate 0 Answers | 2 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin