Monitoring applications in server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Lazu
Posts: 2
Joined: Tue May 12, 2020 7:16 am

Monitoring applications in server

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Monitoring applications in server

Post 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/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Lazu
Posts: 2
Joined: Tue May 12, 2020 7:16 am

Re: Monitoring applications in server

Post 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.
Locked