I am trying to monitor jenkins process through zabbix server, but proc.num always returns 0

$ zabbix_get -s jenkins.com -k proc.num[,,all,jenkins]
0

Same is the case with artifactory process as well,
$ zabbix_get -s artifactory -k proc.num[,,all,artifactory]...