Check_By_SSH

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nickgt30
Posts: 3
Joined: Thu Apr 09, 2015 1:04 pm

Check_By_SSH

Post by nickgt30 »

I've created a custom bash script that I'm executing with "xi_check_by_ssh" and the script works perfectly and returns the value I'm expecting but I can't graph it. Is there anyway to store the returned value as perfdata or graph it otherwise? I'm returning a numerical value between 0-250.
nickgt30
Posts: 3
Joined: Thu Apr 09, 2015 1:04 pm

Re: Check_By_SSH

Post by nickgt30 »

I was able to fix this by rewriting by shell script and including a pipe symbol with my output on both sides. So if the output was 50, I now have 50 | 50 and the perfdata is coming through.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Check_By_SSH

Post by cdienger »

Hi nickgt30,

Beat me to it : ) I was going to point out https://assets.nagios.com/downloads/nag ... fdata.html which has some more details. Glad you were able to resolve it though. Are we okay locking the thread?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked