How to configure non host service in Nagios?

amazon-s3, nagios

Solution

I ended up calling this command from one of the servers Nagios is monitoring. It looks like Nagios monitoring has to be bounded with a host.

Problem

I need to monitor some file existence in an AWS S3 bucket and I created a simple Nagios plugin for that. Now I have to configure it and defined it as a command something like this: ``` define command{        command_name    check_s3file_exist        command_line    /usr/lib/nagios/plugins/check_s3_exist.py $ARG1$ } ``` Now the command needs to be used in service definition but as far as I can see Nagios is centered around the concept of host but S3 isn't a host so I am at a loss where to call this command.

Original source