IBM i Cust service "(No output on stdout) stderr:"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
WilliamLea1
Posts: 11
Joined: Fri Nov 05, 2021 11:00 am

IBM i Cust service "(No output on stdout) stderr:"

Post by WilliamLea1 »

Hi,

I created a service which was working fine last week but today getting this error?

(No output on stdout) stderr:


Its running this SQL

SELECT ELAPSED_TOTAL_FAULTS FROM qsys2.memory_pool_info where
POOL_NAME = '*BASE'

Dont understand why its just stopped working and not just for one system. The SQL runs fine and its looks like its not even getting to run the service on the IBM i, its failing I think before it connects to run.

Cheers Will
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: IBM i Cust service "(No output on stdout) stderr:"

Post by gsmith »

Hi,

Please send me a System Profile so I can take a look.

1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share the file in a private message and then reply to this post to bring it up in the queue.


Thanks
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: IBM i Cust service "(No output on stdout) stderr:"

Post by gsmith »

Hi

Thanks for the System Profile!

Could you please tell me the Config Name(s) and the Service Description(s) of
the service that is giving you problems?

Thanks
WilliamLea1
Posts: 11
Joined: Fri Nov 05, 2021 11:00 am

Re: IBM i Cust service "(No output on stdout) stderr:"

Post by WilliamLea1 »

Hi,

Yeah of course.

Config Name = CIVPRDH
Description = PAGE FAULTS _BASE
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: IBM i Cust service "(No output on stdout) stderr:"

Post by gsmith »

Hi

Please look to see if this file exists:

/usr/local/nagios/var/Nagios.host.java.config.ser

If it does please move it to /tmp

Then run:

/bin/bash /usr/local/nagios/libexec/server_start.sh
service nagios restart


Reference: https://github.com/IBM/nagios-for-i/issues/7

Thanks
WilliamLea1
Posts: 11
Joined: Fri Nov 05, 2021 11:00 am

Re: IBM i Cust service "(No output on stdout) stderr:"

Post by WilliamLea1 »

Hi gsmith,

Thanks, will give that a go and come back :)
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: IBM i Cust service "(No output on stdout) stderr:"

Post by gsmith »

Sounds good.

Thx
WilliamLea1
Posts: 11
Joined: Fri Nov 05, 2021 11:00 am

Re: IBM i Cust service "(No output on stdout) stderr:"

Post by WilliamLea1 »

Hi again,

In the end we pulled the service as we didnt feel it was needed (we are still in the early stages of implementing). But if we come across one that does need to be kept will have a look at your fix then.

Thanks again.
Locked