NRPE hosting a local daemon on a TCP port triggering local scripts on
demand has more security implications, especially if ad-hoc command
parameters are allowed in the NRPE configuration. I prefer to avoid
using NRPE because I don't want another root daemon open to the
network.
I recommend using SNMP and NRDP instead.
VIOS has native SNMP you can enable and make checks relatively easily
remotely via IBM supported software. Look at
HOST-RESOURCES-MIB::hrSWRunTable, HOST-RESOURCES-MIB::hrStorageTable,
IBM-AIX-MIB::aixFsTable, and IBM-AIX-MIB::aixProcTable. The AIX MIBs
are faster to respond, and the aixFsTable works correctly for very
large filesystems where HR wraps negative.
NRDP will let you submit checks of your own scripts via cron job back
to Nagios (ie: PUSH model). There's a simple NRDP Perl submission script
which works on AIX and VIO. Combine that with a cron job to routinely
do a passive check submission, and be sure to monitor your passive
checks for stale data.
On Thu, Mar 23, 2023 at 03:01:29PM +0000, Anthony Cascianelli via IBM Community wrote:
> Has anyone ever installed and ran the Nagios NRPE client on a VIO Server? Are there any things to be careful with when doing so?
>
>
> ------------------------------
> Anthony Cascianelli
> ------------------------------
>
>
> Reply to Sender :
https://community.ibm.com/community/user/eGroups/PostReply?GroupId=6073&MID=361225&SenderKey=11924268-af30-4b7f-8eae-1b232ec0ec2f>
> Reply to Discussion :
https://community.ibm.com/community/user/eGroups/PostReply?GroupId=6073&MID=361225>
>
>
> You are subscribed to "PowerVM" as
Russell.Adams@AdamsSystems.nl. To change your subscriptions, go to
http://community.ibm.com/community/user/preferences?section=Subscriptions. To unsubscribe from this community discussion, go to
http://community.ibm.com/HigherLogic/eGroups/Unsubscribe.aspx?UserKey=c23dfccc-9910-40ae-beeb-fdcbced5bf1f&sKey=KeyRemoved&GroupKey=08137a30-97b3-4ae4-8d8d-fcf834e4f06e.------------------------------------------------------------------
Russell Adams
Russell.Adams@AdamsSystems.nlPrincipal Consultant Adams Systems Consultancy
https://adamssystems.nl/
Original Message:
Sent: 3/23/2023 11:01:00 AM
From: Anthony Cascianelli
Subject: Nagios NRPE Clien on VIO
Has anyone ever installed and ran the Nagios NRPE client on a VIO Server? Are there any things to be careful with when doing so?
------------------------------
Anthony Cascianelli
------------------------------