I want to monitor jboss if its running or not through Icinga.
I don't want to check
I did this by monitored jboss process using
ps aux | grep "\-D\[Standalone\]" for standalone mode and
ps aux | grep "\-D\[Server" for domain mode.