Get the check_snmp_citrix Plugin from NagiosExchange
Download the ddl’s from here: http://www.wtcs.org/snmp4tpc/snmp4ctx.htm
copy the files to all Terminal Servers.
Then
copy SNMP4CTX.dll %SystemRoot%\system32
snmp4ctx.reg
net stop “SNMP Service”
net start “SNMP Service”
add the following lines to your commands.cfg
# Citrix users
# check_snmp_citrix command definition
define command{
command_name check_snmp_citrix
command_line /usr/lib/nagios/plugins/check_snmp_citrix $HOSTNAME$ $ARG1$ $ARG2$ -w 21 -c 25
}
add the following lines to your services definitions:
define service {
use template1
name check-citrix-users
service_description Citrix check users
host_name server1, server2
check_command check_snmp_citrix!SNMP-COMMUNITY-NAME!WFActive}
Restart Nagios with /etc/init.d/nagios3 restart
Enjoy !