Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_otrs_user.pl

Rating
0 votes
Favoured:
0
Hits
102198
Files:
FileDescription
check_otrsuser.plmain check script
Nagios CSP

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!
check_otrs_user.pl
Even if you want to know how many users are still logged in on your OTRS installation you can just take a look at the session management through OTRS. Specially you want to know through which times the most users are online you may look into the weblogs of your webserver. Just in case you need to know how many agents and customers are logged in through 24h / 7days a week you need this plugin.
The plugin checks the MySQL database of an OTRS installation. It looks into the tables of session management to count the agent and users.
The return of the scripts includes count of agent, customers and the sum of both.

define command {
command_name check_otrs_user
command_line $USER1$/check_otrsuser.pl -H $HOSTADDRESS$ -U $ARG1$ -P $ARG2$ -w $ARG3$ -c $ARG4$
}

define service {
...
check_command check_otrs_user!nagios!nagios!20!25
...
}

These definition checks through the hosts MySQL database with user nagios and same pass. If eq 20 or more users are logged in the plugin returns a warning. 25 users at the same time will let the script return a critical state.

have a lot of fun...