Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
A plugin to check an OTRS database for tickets with specified queue and ticket state.
Current Version
Last Release Date
2008-12-29
Owner
Nagios Exchange
Requirements:
<ul> <li>php for cli <li>php with mysql support </ul>
<p> Tested with otrs-version 2.0.4.
<pre> check_otrs.php v0.1 (29 Dezember, 2008)
Count tickets in otrs
Usage:check_otrs.php -H host -u user -p pass -d dbname -q queuename -t type [-w ] [-c ] [-l ] [-h]
Options:
-h Print help screen -H MySql hostname -u MySql user -p MySql pass -d MySql db-name -q Queue to query -t Type to query by typing the ID (for example 4 = open tickets in default configuration) You also can use "*" for all types, by using double quotes. [default]
-w Warning -c Critical -l Query to mysql database from otrs to inform about available queues or types. MySql information are required. </pre>
<p> Example:
<pre> check_otrs.php -H 192.168.1.2 -d otrs -u someuser -p somepass -t 4 -q Hardware::Drucker -w 5 -c 9 8 Tickets in queue Hardware::Drucker from type open|Hardware::Drucker=8;5;9;0; </pre>
<pre> check_otrs.php -H 192.168.1.2 -d otrs -u someuser -p somepass -q Hardware::Drucker 751 Tickets in queue Hardware::Drucker from type |Hardware::Drucker=751;0;0;0; </pre>
<pre> check_otrs.php -H 192.168.1.2 -d otrs -u someuser -p somepass -l type 1 new 2 closed successful 3 closed unsuccessful 4 open 5 removed 6 pending reminder 7 pending auto close+ 8 pending auto close- 9 merged </pre>
<pre> check_otrs.php -H 192.168.1.2 -d otrs -u someuser -p somepass -l queue 1 Raw 2 Drucker 3 System::Linux </pre>
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!