Page 1 of 1

printing more than one plugin output as one

Posted: Tue Oct 02, 2018 6:29 am
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.

Re: printing more than one plugin output as one

Posted: Tue Oct 02, 2018 8:47 am
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.

Re: printing more than one plugin output as one

Posted: Tue Oct 02, 2018 1:26 pm
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