j053ph4 / ZenPacks.community.zenNrpeComponent

Treat check_nrpe-based commands as device components
1 stars 0 forks source link

Output from plugin command #1

Open JosefJezek opened 11 years ago

JosefJezek commented 11 years ago

Could you add Output from plugin command to GUI, ex.

DISK OK - free space: / 9910 MB (75% inode=90%);| /=3169MB;11023;12401;0;13779

This output add to details of component and to table column of component, see attach screenshot.

selection_007

Thank you

j053ph4 commented 11 years ago

Josef,

I like your idea but the only way i can think to achieve it would be to have a component method that executes the check script directly (instead of through zencommand).

On Wed, Oct 2, 2013 at 2:52 AM, Josef Jezek notifications@github.comwrote:

Could you add Output from plugin command to GUI, ex.

DISK OK - free space: / 9910 MB (75% inode=90%);| /=3169MB;11023;12401;0;13779

This output add to details of component and to table column of component, see attach screenshot.

[image: selection_007]https://f.cloud.github.com/assets/2110319/1251746/718ceffc-2b37-11e3-9491-e17d3531eabb.png

Thank you

— Reply to this email directly or view it on GitHubhttps://github.com/j053ph4/ZenPacks.community.zenNrpeComponent/issues/1 .

JosefJezek commented 11 years ago

Could you make it? I need show info from nagios plugin with return code bind to zenoss event.

JosefJezek commented 11 years ago

And add modeler plugin for check new nagios plugin in /etc/nagios/nrpe.cfg on remote server.

Or create modeler for check new snmp exec for create components.

See http://community.zenoss.org/docs/DOC-2498 Return code and info string have own OID.

SNMP Extend is better, see http://www.cmdln.org/2011/04/28/extended-monitoring-via-snmp/

Here is newest python script for snmp extend https://github.com/NoBodyCam/check_snmp_extend