Question

how do i parse extra aguments for check commands ?

  • 7 March 2023
  • 1 reply
  • 71 views

Badge +1

once i play the OS-LINUX-Cpu-SNMP-custom check-command i got this message

but when i play this command on backend they conplains that the argument --host is missing, but i don’t say how do i parse it on front end

/usr/lib/centreon/plugins/centreon_linux_snmp.pl --plugin=os::linux::snmp::plugin --mode=cpu --help
Output

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pt_BR.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


1 reply

Badge +1

i tried to do this way

 

Reply