#Plugins Nagios #This plugin checks for software updates on systems that use package management #systems based on the apt-get command[check_apt]=/usr/local/opmon/libexec/check_apt $ARG1$ #This plugin reports the signal strength of a Breezecom wireless equipment command[check_breeze]=/usr/local/opmon/libexec/check_breeze $ARG1$ #This plugin uses SSH to execute commands on a remote host command[check_by_ssh]=/usr/local/opmon/libexec/check_by_ssh $ARG1$ #This plugin tests CLAMD connections with the specified host (or unix socket). command[check_clamd]=/usr/local/opmon/libexec/check_clamd $ARG1$ #This plugin tests the availability of DHCP servers on a network. command[check_dhcp]=/usr/local/opmon/libexec/check_dhcp $ARG1$ #This plugin test the DNS service on the specified host using dig command[check_dig]=/usr/local/opmon/libexec/check_dig $ARG1$ #This plugin checks the amount of used disk space on a mounted file system and generates #an alert if free space is less than one of the threshold values command[check_disk]=/usr/local/opmon/libexec/check_disk $ARG1$ #Perl Check SMB Disk plugin for Nagios command[check_disk_smb]=/usr/local/opmon/libexec/check_disk_smb $ARG1$ #This plugin uses the nslookup program to obtain the IP address for the given host/domain query. #An optional DNS server to use may be specified. #If no DNS server is specified, the default server(s) specified in /etc/resolv.conf will be used. command[check_dns]=/usr/local/opmon/libexec/check_dns $ARG1$ #This plugin will simply return the state corresponding to the numeric value #of the argument with optional text command[check_dummy]=/usr/local/opmon/libexec/check_dummy $ARG1$ #File must be no more than this many seconds old and File must be at least this many bytes long command[check_file_age]=/usr/local/opmon/libexec/check_file_age $ARG1$ #Check available flexlm license managers command[check_flexlm]=/usr/local/opmon/libexec/check_flexlm $ARG1$ #This plugin will use the fping command to ping the specified host for a fast check #Note that it is necessary to set the suid flag on fping. command[check_fping]=/usr/local/opmon/libexec/check_fping $ARG1$ #This plugin tests FTP connections with the specified host (or unix socket). command[check_ftp]=/usr/local/opmon/libexec/check_ftp $ARG1$ #This plugin tests game server connections with the specified host. command[check_game]=/usr/local/opmon/libexec/check_game $ARG1$ #This plugin tests the STATUS of an HP printer with a JetDirect card. #Net-snmp must be installed on the computer running the plugin. command[check_hpjd]=/usr/local/opmon/libexec/check_hpjd $ARG1$ #This plugin tests the HTTP service on the specified host. It can test #normal (http) and secure (https) servers, follow redirects, search for #strings and regular expressions, check connection times, and report on #certificate expiration times. command[check_http]=/usr/local/opmon/libexec/check_http $ARG1$ #Warning: This plugin must be either run as root or setuid root. #To set the setuid permissions, use the command: chmod u+s check_icmp command[check_icmp]=/usr/local/opmon/libexec/check_icmp $ARG1$ #This plugin checks a local hard drive with the (Linux specific) #SMART interface [http://smartlinux.sourceforge.net/smart/index.php]. command[check_ide_smart]=/usr/local/opmon/libexec/check_ide_smart $ARG1$ #check_ifoperstatus plugin for Nagios monitors operational #status of a particular network interface on the target host command[check_ifoperstatus]=/usr/local/opmon/libexec/check_ifoperstatus $ARG1$ #check_ifstatus plugin for Nagios monitors operational #status of each network interface on the target host command[check_ifstatus]=/usr/local/opmon/libexec/check_ifstatus $ARG1$ #This plugin tests IMAP connections with the specified host (or unix socket). command[check_imap]=/usr/local/opmon/libexec/check_imap $ARG1$ #Perl Check IRCD plugin for Nagios command[check_ircd]=/usr/local/opmon/libexec/check_ircd $ARG1$ #This plugin tests JABBER connections with the specified host (or unix socket). command[check_jabber]=/usr/local/opmon/libexec/check_jabber $ARG1$ #If this plugin is called via 'check_ldaps', method 'STARTTLS' will be #implied (using default port 389) unless --port=636 is specified. #In that case 'SSL on connect' will be used no matter how the plugin was called. command[check_ldap]=/usr/local/opmon/libexec/check_ldap $ARG1$ #If this plugin is called via 'check_ldaps', method 'STARTTLS' will be #implied (using default port 389) unless --port=636 is specified. #In that case 'SSL on connect' will be used no matter how the plugin was called. command[check_ldaps]=/usr/local/opmon/libexec/check_ldaps $ARG1$ #This plugin tests the current system load average. command[check_load]=/usr/local/opmon/libexec/check_load $ARG1$ #Log file pattern detector plugin for Nagios command[check_log]=/usr/local/opmon/libexec/check_log $ARG1$ #Checks the number of messages in the mail queue (supports multiple sendmail queues, qmail) command[check_mailq]=/usr/local/opmon/libexec/check_mailq $ARG1$ #This plugin will check either the average or maximum value of one of the #two variables recorded in an MRTG log file. command[check_mrtg]=/usr/local/opmon/libexec/check_mrtg $ARG1$ #This plugin will check the incoming/outgoing transfer rates of a router, #switch, etc recorded in an MRTG log. If the newest log entry is older #than , a WARNING status is returned. If either the #incoming or outgoing rates exceed the or thresholds (in #Bytes/sec), a CRITICAL status results. If either of the rates exceed #the or thresholds (in Bytes/sec), a WARNING status results. command[check_mrtgtraf]=/usr/local/opmon/libexec/check_mrtgtraf $ARG1$ #This program tests connections to a MySQL server command[check_mysql]=/usr/local/opmon/libexec/check_mysql $ARG1$ #This program checks a query result against threshold levels command[check_mysql_query]=/usr/local/opmon/libexec/check_mysql_query $ARG1$ #This plugin tests NNTP connections with the specified host (or unix socket) command[check_nntp]=/usr/local/opmon/libexec/check_nntp $ARG1$ #This plugin tests NNTPS connections with the specified host (or unix socket). command[check_nntps]=/usr/local/opmon/libexec/check_nntps $ARG1$ #This plugin checks the selected ntp server command[check_ntp_peer]=/usr/local/opmon/libexec/check_ntp_peer $ARG1$ #This plugin checks the clock offset with the ntp server command[check_ntp_time]=/usr/local/opmon/libexec/check_ntp_time $ARG1$ #This plugin collects data from the NSClient service running on a #Windows NT/2000/XP/2003 server. command[check_nt]=/usr/local/opmon/libexec/check_nt $ARG1$ #This plugin attempts to contact the MRTGEXT NLM running on a #Novell server to gather the requested system information. command[check_nwstat]=/usr/local/opmon/libexec/check_nwstat $ARG1$ #Check Oracle status command[check_oracle]=/usr/local/opmon/libexec/check_oracle $ARG1$ #This plugin attempts to contact the Over-CR collector daemon running on the #remote UNIX server in order to gather the requested system information. command[check_overcr]=/usr/local/opmon/libexec/check_overcr $ARG1$ #Test whether a PostgreSQL Database is accepting connections. command[check_pgsql]=/usr/local/opmon/libexec/check_pgsql $ARG1$ #Use ping to check connection statistics for a remote host. command[check_ping]=/usr/local/opmon/libexec/check_ping $ARG1$ #This plugin tests POP connections with the specified host (or unix socket). command[check_pop]=/usr/local/opmon/libexec/check_pop $ARG1$ #Checks all processes and generates WARNING or CRITICAL states if the specified #metric is outside the required threshold ranges. The metric defaults to number #of processes. Search filters can be applied to limit the processes to check. command[check_procs]=/usr/local/opmon/libexec/check_procs $ARG1$ #Tests to see if a RADIUS server is accepting connections. command[check_radius]=/usr/local/opmon/libexec/check_radius $ARG1$ #This plugin tests the REAL service on the specified host. command[check_real]=/usr/local/opmon/libexec/check_real $ARG1$ #Check if a rpc service is registered and running using #rpcinfo -H host -C rpc_command command[check_rpc]=/usr/local/opmon/libexec/check_rpc $ARG1$ #This plugin checks hardware status using the lm_sensors package. command[check_sensors]=/usr/local/opmon/libexec/check_sensors $ARG1$ #This plugin tests SIMAP connections with the specified host (or unix socket). command[check_simap]=/usr/local/opmon/libexec/check_simap $ARG1$ #This plugin will attempt to open an SMTP connection with the host. command[check_smtp]=/usr/local/opmon/libexec/check_smtp $ARG1$ #Check status of remote machines and obtain system information via SNMP command[check_snmp]=/usr/local/opmon/libexec/check_snmp $ARG1$ #This plugin tests SPOP connections with the specified host (or unix socket). command[check_spop]=/usr/local/opmon/libexec/check_spop $ARG1$ #Try to connect to an SSH server at specified server and port command[check_ssh]=/usr/local/opmon/libexec/check_ssh $ARG1$ #This plugin tests SSMTP connections with the specified host (or unix socket). command[check_ssmtp]=/usr/local/opmon/libexec/check_ssmtp $ARG1$ #Check swap space on local machine. command[check_swap]=/usr/local/opmon/libexec/check_swap $ARG1$ #This plugin tests TCP connections with the specified host (or unix socket). command[check_tcp]=/usr/local/opmon/libexec/check_tcp $ARG1$ #This plugin will check the time on the specified host. command[check_time]=/usr/local/opmon/libexec/check_time $ARG1$ #This plugin tests UDP connections with the specified host (or unix socket). command[check_udp]=/usr/local/opmon/libexec/check_udp $ARG1$ #This plugin tests the UPS service on the specified host. Network UPS Tools #from www.networkupstools.org must be running for this plugin to work. command[check_ups]=/usr/local/opmon/libexec/check_ups $ARG1$ #This plugin checks the number of users currently logged in on the local #system and generates an error if the number exceeds the thresholds specified. command[check_users]=/usr/local/opmon/libexec/check_users $ARG1$ #This plugin checks the number of users currently logged in on the local #system and generates an error if the number exceeds the thresholds specified. command[check_wave]=/usr/local/opmon/libexec/check_wave $ARG1$ #Negates the status of a plugin (returns OK for CRITICAL and vice-versa). #Additional switches can be used to control which state becomes what. command[negate]=/usr/local/opmon/libexec/negate $ARG1$ #Plugins OpServices #Monitora os canais IAX ativos command[asterisk_iaxlag]=/usr/local/opmon/libexec/opservices/asterisk_iaxlag.pl $ARG1$ #Monitora as informa▒▒ces do m▒dulo server-status do Apache command[check_apache.pl]=/usr/local/opmon/libexec/opservices/check_apache.pl $ARG1$ #This plugin will query the Asterisk service via the manager interface for the #status and interpret the output. command[check_asterisk]=/usr/local/opmon/libexec/opservices/check_asterisk $ARG1$ #This plugin is used to monitor memory usage growth(rss) of a given process command[check_bloating_process]=/usr/local/opmon/libexec/opservices/check_bloating_process.pl $ARG1$ #This plugin uses the command 'mpstat' to check the cpu usage of the machine. command[check_cpu_usage]=/usr/local/opmon/libexec/opservices/check_cpu_usage.pl $ARG1$ #Monitora user, nice, cpu_utilization, etc, baseado no sar(sysstat) command[check_cpu_utilization]=/usr/local/opmon/libexec/opservices/check_cpu_utilization.pl $ARG1$ #Monitora cswitch baseado no sar(sysstat) command[check_cs]=/usr/local/opmon/libexec/opservices/check_cs.pl $ARG1$ #Monitora array de discos da Dell com SNMP command[check_dell_disk_array]=/usr/local/opmon/libexec/opservices/check_dell_disk_array.pl $ARG1$ #Monitora FAN da Dell com SNMP command[check_dell_fan_status]=/usr/local/opmon/libexec/opservices/check_dell_fan_status.pl $ARG1$ #Checks Dell OpenManage server health using SNMP command[check_dellom_snmp]=/usr/local/opmon/libexec/opservices/check_dellom_snmp.pl $ARG1$ #Monitora temperatura da Dell com SNMP command[check_dell_temp_status]=/usr/local/opmon/libexec/opservices/check_dell_temp_status.pl $ARG1$ #Monitora o tamanho de arquivos em determinado diret▒rio command[check_dir]=/usr/local/opmon/libexec/opservices/check_dir.pl $ARG1$ #Monitora o tamanho do diret▒rio ou de um arquivo command[check_filesize]=/usr/local/opmon/libexec/opservices/check_filesize.pl $ARG1$ #Monitora as filas do gearman command[check_gearman]=/usr/local/opmon/libexec/opservices/check_gearman.pl $ARG1$ #Monitora as metricas atrav▒s do iostat como request issued, queue merged, sectors, average size, average queue length, average time, average service e CPU. command[check_iostat_health]=/usr/local/opmon/libexec/opservices/check_iostat_health.pl $ARG1$ #This script was tested with success agains following printers: #Lexmark T644 version NC2.NPS.N211 kernel 2.6.10 All-N-1 command[check_lxT664_printer]=/usr/local/opmon/libexec/opservices/check_lxT664_printer.pl $ARG1$ #This plugin uses the command "free -m" to check the memory usage of the machine. command[check_memory]=/usr/local/opmon/libexec/opservices/check_memory.pl $ARG1$ #Monitora uso da mem▒ria f▒sica command[check_mem]=/usr/local/opmon/libexec/opservices/check_mem.pl $ARG1$ #Check various parameters of MySQL databases command[check_mysql_health]=/usr/local/opmon/libexec/opservices/check_mysql_health $ARG1$ #Monitora altera▒▒es em arquivos de sistema configurados em scm-files.ini e scm-files-local.ini command[opscm]=/usr/local/opmon/libexec/opservices/opscm-client/opscm $ARG1$ -d /usr/local/opmon/libexec/opservices/opscm-client/ #Check the number of opened files on system linux. #This script was tested with success agains following printers: #OKI OkiLAN 8300e Rev.04.50 10/100BASE Ethernet PrintServer: Attached to C6100 Rev.D1.08 : (C)2005 Oki Data Corporation command[check_oki_printer]=/usr/local/opmon/libexec/opservices/check_oki_printer.pl $ARG1$ #Testa a conex▒o ao Asterisk command[check_pbx]=/usr/local/opmon/libexec/opservices/check_pbx.pl $ARG1$ #Monitora a fila de emails do postfix atrav▒s do postqueue command[check_postfix_queue]=/usr/local/opmon/libexec/opservices/check_postfix_queue.pl $ARG1$ #Monitora impressora atrav▒s de SNMP (paper,toner,miscalerts,tray,supply,output,load,uptime,status,storage) command[check_printer]=/usr/local/opmon/libexec/opservices/check_printer.pl $ARG1$ #Monitora se um process n▒o est▒ rodando e alerta os PID caso rodando command[check_procs_negate]=/usr/local/opmon/libexec/opservices/check_procs_negate.pl $ARG1$ #Monitora o processo e usuario que o executa command[check_proc_user]=/usr/local/opmon/libexec/opservices/check_proc_user.pl $ARG1$ #Checks the mount table for read-only mounts - these are usually a sign of #trouble (broken filesystem etc.) command[check_ro_mounts]=/usr/local/opmon/libexec/opservices/check_ro_mounts $ARG1$ #Monitora a aloca▒▒o de mem▒ria compartilhada command[check_shmem]=/usr/local/opmon/libexec/opservices/check_shmem.pl $ARG1$ #Get interface's operStatus and adminStatus via SNMP. command[check_snmp_ifstatus]=/usr/local/opmon/libexec/opservices/check_snmp_ifstatus $ARG1$ #Monitora o Lotus Notes atra▒ves de SNMP. command[check_snmp_notes]=/usr/local/opmon/libexec/opservices/check_snmp_notes.pl $ARG1$ #Monitora swap atrav▒s do vmstat command[check_swap_io]=/usr/local/opmon/libexec/opservices/check_swap_io.pl $ARG1$ #Monitora o uso de swap baseado no total de mem▒ria f▒sica command[check_swap_mem]=/usr/local/opmon/libexec/opservices/check_swap_mem.pl $ARG1$ #This script checks uptime and optionally verifies if the uptime #is below MINIMUM or above MAXIMUM uptime treshholds command[priax_check_uptime]=/usr/local/opmon/libexec/priax/check_uptime.sh $ARG1$ #Monitora usuario idle na console command[check_user_idle]=/usr/local/opmon/libexec/opservices/check_user_idle.pl $ARG1$ #Monitora os processos rodando de um usu▒rio command[check_user_proc]=/usr/local/opmon/libexec/opservices/check_user_proc.pl $ARG1$ #Monitora cpu, processo, memoria e swap atrav▒s do vmstat command[check_vmstat]=/usr/local/opmon/libexec/opservices/check_vmstat.pl $ARG1$ #Nagios plugin to test for Yum updates on RedHat/CentOS Linux. command[check_yum]=/usr/local/opmon/libexec/opservices/check_yum $ARG1$ #Forma a execucao do inventario command[inventory]=/usr/local/opmon/libexec/opservices/inventory.pl $ARG1$ #Checagem da fila de impressao command[check_cups_queue]=/usr/local/opmon/libexec/opservices/check_cups_queue.sh $ARG1$ #Plugins Customizados PRIAX #This plugin uses the command 'ps' to check how much memory (VmRSS) is being used by a process. command[priax_check_proc_memory]=/usr/local/opmon/libexec/priax/check_proc_memory.pl $ARG1$ #Monitora as metricas IO disk através do iostat command[priax_check_iostat_health]=/usr/local/opmon/libexec/priax/check_diskstat.sh $ARG1$ #Monitora cpu, processo, memoria e swap atrav▒s do vmstat command[priax_check_vmstat]=/usr/local/opmon/libexec/priax/check_vmstat.pl $ARG1$ #is below MINIMUM or above MAXIMUM uptime treshholds #command[priax_check_uptime]=/usr/local/opmon/libexec/priax/check_uptime.sh $ARG1$ #of processes. Search filters can be applied to limit the processes to check. command[priax_check_procs]=/usr/local/opmon/libexec/check_procs $ARG1$ #of proc. MEM and CPU the process activity command[priax_check_proc_mem_cpu]=/usr/local/opmon/libexec/priax/mem_cpu_per_proc.pl $ARG1$ command[check_open_files]=/usr/local/opmon/libexec/priax/check_open_files.pl $ARG1$ #Check HSC licenses, etc... command[priax_check_hsc]=/usr/local/opmon/libexec/priax/hsc/check_hsc.php $ARG1$ #Check Interfaces command[priax_check_network_interfaces]=/usr/local/opmon/libexec/priax/check_netint.pl $ARG1$ #Check Zimbra Status command[priax_check_zmstatus]=/usr/local/opmon/libexec/priax/check_zmstatus.pl $ARG1$ #check mem TOTAL, USED, FREE and CACHES command[priax_check_mem]=/usr/local/opmon/libexec/priax/check_mem.pl $ARG1$ #Monitora as metricas IO disk através do iostat command[priax_check_diskstat]=/usr/local/opmon/libexec/priax/check_diskstat.sh $ARG1$ #generic command command[run_command]=/usr/local/opmon/libexec/$ARG1$ #Plugins Customizados do Cliente