Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_otrs_tickets.php
1.0
2013-04-09
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
- Nagios Fusion
41683
File | Description |
---|---|
check_otrs_tickets.php | check_otrs_tickets.php |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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
Reviews (0)
Be the first to review this listing!