https://bugzilla.wikimedia.org/show_bug.cgi?id=51983

       Web browser: ---
            Bug ID: 51983
           Summary: gitblit need a process monitor in Icinga
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Git/Gerrit
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

gitblit is hosted on antinomy.wikimedia.org which only have the default checks:
puppet freshness, NTP and SSH.

https://icinga.wikimedia.org/cgi-bin/icinga/status.cgi?search_string=antimony

It would need a check that monitor whether gitblit is running.

templates/icinga/nrpe_local.cfg.erb has a bunch of examples if you look for
'java'. An example for Jenkins:


command[check_jenkins]=/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1
--ereg-argument-array '^/usr/bin/java .*-jar /usr/share/jenkins/jenkins.war'


Which make sure there is one and only one java process with jenkins.war.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to