Page 1 of 1

Monitoring applications in server

Posted: Tue May 12, 2020 7:24 am
by Lazu
Can I somehow check that software is running on server?

My command

Code: Select all

check_nt!PROCSTATE!-d SHOWALL -l software.exe
works fine with all processes that are listed in "services" but then there are few softwares that arent actually services, just opened softwares in servers desktop.

If I put that softwares .exe file that shows up in task manager, monitoring doesnt work.

Is this possible in Core?

Thanks

Re: Monitoring applications in server

Posted: Tue May 12, 2020 3:48 pm
by cdienger
This is possible you just need to find the right client or plugin to give you the information you want. I would suggest checking out the check_nrpe plugin that can be used with nsclient++ or our check_ncpa plugin which would require the NCPA client to be installed.

https://support.nagios.com/kb/article/p ... s-782.html
https://www.nagios.org/ncpa/

Re: Monitoring applications in server

Posted: Wed May 13, 2020 2:44 am
by Lazu
Thanks. It was harder to install nrpe and get it to work that i thought, but i think its now working.

How do i put that on cfg?
I tried

Code: Select all

check_nrpe!check_process!-a process=program.exe show-all
That doesnt work (suprise).

Log shows

Code: Select all

May 13 10:37:45 <localhost> check_nrpe: Remote <host-ip> does not support version 3/4 packets
May 13 10:37:45 <localhost> check_nrpe: Remote <host-ip> accepted a version 2 packet
I am using lates nsclient++ in that server and nrpe-version in nagios is 4.0.2

In web it says "CHECK_NRPE: Invalid packet version received from server. " I tried few different payload lenghts in nsclients config but no change.