Nagios plugin for Documentum

This post is bit outdated, please check Q & A. VIII for complete description


 ~]# easy_install argparse nagiosplugin dctmpy
Searching for argparse
Best match: argparse 1.2.1
Processing argparse-1.2.1.tar.gz
Running argparse-1.2.1/ -q bdist_egg ...
Adding argparse 1.2.1 to easy-install.pth file

Installed /usr/lib/python2.6/site-packages/argparse-1.2.1-py2.6.egg
Processing dependencies for argparse
Finished processing dependencies for argparse
Searching for nagiosplugin
Best match: nagiosplugin 1.2
Running nagiosplugin-1.2/ -q bdist_egg ...
Adding nagiosplugin 1.2 to easy-install.pth file

Installed /usr/lib/python2.6/site-packages/nagiosplugin-1.2-py2.6.egg
Processing dependencies for nagiosplugin
Finished processing dependencies for nagiosplugin
Searching for dctmpy
Best match: dctmpy 0.1.2
Processing dctmpy-0.1.2.tar.gz
Running dctmpy-0.1.2/ -q bdist_egg ...
Adding dctmpy 0.1.2 to easy-install.pth file
Installing nagios_check_docbase script to /usr/bin
Installing nagios_check_docbroker script to /usr/bin

Installed /usr/lib/python2.6/site-packages/dctmpy-0.1.2-py2.6.egg
Processing dependencies for dctmpy
Finished processing dependencies for dctmpy

Check session creation:

 ~]$ nagios_check_docbase -H -l dmadmin -a dmadmin \
        -m login

Check session count:

 ~]$ nagios_check_docbase -H -l dmadmin -a dmadmin \
       -m sessioncount -w 70 -c 80
SESSIONCOUNT OK - sessioncount is 8
| sessioncount=8;70;80;0;100

Check projection targets:

 ~]$ nagios_check_docbase -H -l dmadmin -a dmadmin \
       -m targets
TARGETS OK - ssc_dev.ssc_dev has status Open on

Check JMS status:

 ~]$ nagios_check_docbase -H -l dmadmin -a dmadmin \
       -m jmsstatus
JMSSTATUS OK - JMS docu70dev01.sinera.remote:9080 for ssc_dev.ssc_dev - OK

Check failed auto-activities:

 ~]$ nagios_check_docbase -H -l dmadmin -a dmadmin \
       -m failedtasks
FAILEDTASKS CRITICAL - 1 task(s): 'Last Performer' (tp002-000_user1)

Check job scheduling:

 ~]$ nagios_check_docbase -H -l dmadmin -a dmadmin \
     -m jobs -j "dm_DMFilescan,dm_LogPurge" -n system_clenup_jobs
SYSTEM_CLENUP_JOBS CRITICAL - dm_DMFilescan is inactive, dm_LogPurge is inactive

Check indexagent status:

 ~]$ nagios_check_docbase -H -l dmadmin -a dmadmin \
     -m indexagents
INDEXAGENTS WARNING - Indexagent ssc_dev_ftindex_01/docu70dev01_9200_IndexAgent is stopped

Check fulltext indexing queue:

 ~]$ nagios_check_docbase -H -l dmadmin -a dmadmin \
     -m indexqueue -w 1000 -c 2000
INDEXQUEUE CRITICAL - _fulltext_index_user is 4.978e+04 (outside range 0:2000)
| _fulltext_index_user=49781;1000;2000;0

2 thoughts on “Nagios plugin for Documentum

  1. Pingback: Q & A. VIII. | Documentum in a (nuts)HELL

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s