Helpdesk and Ticketing

check_otrs_tickets.php

Description:

This check returns an amount of tickets via php and php-mysql.

Queues and States are set via script:

## ids (states and queues)
$queue_ids = “42,43,44,48,53,55,68,71,72,77”;
$state_ids = “1,4,6,10,12,14,15”;

## mysql conn
$mysql_host = “localhost”;
$mysql_user = “otrs”;
$mysql_pass = “yourpw”;
$mysql_db = “otrs”;

Usage: /usr/lib/nagios/plugins/check_otrs_tickets.php -w warn -c crit
-w warning limit
-c critical limit
-l states/queues

Samle output:
-l states lists all valid states:
[x] 1 new
[] 2 closed successful
[] 3 closed unsuccessful
[x] 4 in Bearbeitung
[] 5 removed

-l queues lists all valid queues:
[] 3 Junk
[x] 42 First Level Support
[x] 43 Second Level Support
[x] 55 Internal
[x] 44 Third Level Support

-w 5 -c 10
CRITICAL Ticket total is: 75|open=75;10;20

Current Version

1.0

Last Release Date

2013-04-09

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
  • Nagios Fusion

Project Files
Project Notes
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
41,618