commands.cfg 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # We use "$USER3" as user macro for path to teamix monitoring plugins
  2. ### check_apaches.py
  3. # check_command check_apaches!40!70
  4. define command {
  5. command_name check_apaches
  6. command_line $USER3$/check_apaches.py -H $HOSTADDRESS$ -w $ARG1$ -c $ARG3$
  7. }
  8. # check_command check_apaches_full
  9. define command {
  10. command_name check_apaches_full!https!webserver!443!/hidden-status!user:password!40!70
  11. command_line $USER3$/check_apaches.py -P $ARG1$ -H $ARG2$ -p $ARG3$ -u $ARG4$ -a $ARG5$ -w $ARG6$ -c $ARG7$
  12. }
  13. ### check_iface-dns.py
  14. # check_command check_iface-dns!ppp0!your-name.dyndns.org,other-name.homeip.net
  15. define command {
  16. command_name check_iface-dns
  17. command_line $USER3$/check_iface-dns.py -i $ARG1$ -d $ARG2$
  18. }
  19. ### check_junos_bgp.pl
  20. ### check_junos_vc.pl
  21. ### check_naf.py
  22. # check_command check_naf!global cpu disk disk,spare nvram version
  23. # check_command check_naf!vol_data+vol_snap+vol_inode+vol_files,/vol/vol0/+/vol/vol1/,50%,75%
  24. define command {
  25. command_name check_naf
  26. command_line $USER3$/check_naf.py -H $HOSTADDRESS$ -P2 $ARG1$
  27. }
  28. ### check_nagiostats.py
  29. # check_command check_nagiostats!AVGACTSVCLAT,AVGACTSVCEXT,AVGACTHSTLAT,AVGACTHSTEXT!1!2
  30. # check_command check_nagiostats!AVGACTSVCLAT,AVGACTSVCEXT,AVGACTHSTLAT,AVGACTHSTEXT!1,1,1,1!2,2,2,2
  31. define command {
  32. command_name check_nagiostats
  33. command_line $USER3$/check_nagiostats.py -V $ARG1$ -w $ARG2$ -c $ARG3$
  34. }
  35. ### check_netconnections.py
  36. # check_command check_netconnections!22
  37. define command {
  38. command_name check_netconnections
  39. command_line $USER3$/check_netconnections -p $ARG1$
  40. }
  41. # check_command check_netconnections_udp!53
  42. define command {
  43. command_name check_netconnections_udp
  44. command_line $USER3$/check_netconnections --udp -p $ARG1$
  45. }
  46. ### check_sensors.py
  47. # check_command check_sensors!20000,20001!16:20!14:24!40:60!30:70
  48. define command {
  49. command_name check_sensors
  50. command_line $USER3$/check_sensors.py -s $ARG1$ -w $ARG2$ -c $ARG3$ -W $ARG4$ -C $ARG5$
  51. }
  52. # check_command check_sensors_temperature!20000!16:20!14:24
  53. define command {
  54. command_name check_sensors_temperature
  55. command_line $USER3$/check_sensors.py -s $ARG1$ -w $ARG2$ -c $ARG3$
  56. }
  57. # check_command check_sensors_humidity!20001!40:60!30:70
  58. define command {
  59. command_name check_sensors_humidity
  60. command_line $USER3$/check_sensors.py -s $ARG1$ -W $ARG2$ -C $ARG3$
  61. }
  62. ### check_zypper.sh
  63. # check_command check_zypper
  64. define command {
  65. command_name check_zypper
  66. command_line $USER3$/check_zypper.sh
  67. }