printing more than one plugin output as one

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
bhaskarbabar
Posts: 19
Joined: Tue Jun 05, 2018 6:48 am

printing more than one plugin output as one

Post by bhaskarbabar »

I have 2 plugins check_snmp and check_cisco_int which separately given output of port but i want to combine there output as one.

how can i combine this 2 check commands output as one.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: printing more than one plugin output as one

Post by mcapra »

The check_multi plugin is a good option:
https://exchange.nagios.org/directory/P ... ti/details

Feel free to ask questions if something about the plugin's usage is unclear from the documentation.
Former Nagios employee
https://www.mcapra.com/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: printing more than one plugin output as one

Post by scottwilkerson »

The only other options would be to write a wrapper script that executes each of them and then you would have to build your own login into the script for triggering any warning or critical values
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked