alex0cy
2012-12-28 07:45:48 UTC
alex0cy [http://community.zenoss.org/people/alex0cy] created the discussion
"Re: How to set clearsummary field in nagios plugin check"
To view the discussion, visit: http://community.zenoss.org/message/70738#70738
--------------------------------------------------------------
I added replaced the code
*msg = 'Cmd: %s - Code: %s - Msg: %s' % (*
*Â Â Â Â Â Â Â Â Â Â Â cmd.command, exitCode, getExitMessage(exitCode))*
with
*msg = '%s' % (cmd.result.output)*
in function _handleExitCode in $ZENHOME/Products/ZenRRD/zencommand.py
Seems that this solved the issue.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70738#70738]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Re: How to set clearsummary field in nagios plugin check"
To view the discussion, visit: http://community.zenoss.org/message/70738#70738
--------------------------------------------------------------
I added replaced the code
*msg = 'Cmd: %s - Code: %s - Msg: %s' % (*
*Â Â Â Â Â Â Â Â Â Â Â cmd.command, exitCode, getExitMessage(exitCode))*
with
*msg = '%s' % (cmd.result.output)*
in function _handleExitCode in $ZENHOME/Products/ZenRRD/zencommand.py
Seems that this solved the issue.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70738#70738]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]