It is possible to setup monitoring to monitor linux/unix located file that last modified timestamp changed

Chua Liang Wei 186 Reputation points
2021-01-25T08:56:46.297+00:00

It is possible to setup monitoring to monitor linux/unix located file that last modified timestamp changed? Any free MP can be use.

System Center Operations Manager
System Center Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,602 questions
0 comments No comments
{count} votes

Accepted answer
  1. SChalakov 10,576 Reputation points MVP Volunteer Moderator
    2021-01-25T10:53:08.827+00:00

    Hi @Chua Liang Wei ,

    Cyril has a point as always. You need to package the logic within a Lunux shell command and configure a Linux Two State Script Monitor in SCOM.
    So the shell command will be run by the SCOM on your Linux agent and will get back the data to SCOM in the form of a property bag.
    Here are two nice examples on how to achieve this:

    SCOM 2012 – Linux Two-State Monitor With “Script In Script”
    https://www.stefanroth.net/2012/10/21/scom-2012-linux-two-state-monitor-with-script-in-script/

    and

    OpsMgr 2012 UNIX/Linux Authoring Templates: Shell Command
    http://operatingquadrant.com/2012/01/30/opsmgr-2012-unixlinux-authoring-templates-shell-command/

    So, figure out the shell comand, configure the script monitor in SCOM and run it from there.

    Hope this was helpful.

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)
    Regards,
    Stoyan

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. CyrAz 5,181 Reputation points
    2021-01-25T09:12:25.7+00:00

    A Linux script monitor should work just fine, but I don't believe you'll find a ready-to-use MP for that.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.