completely override shortname
Eric Schoeller <eric.schoeller-4gSe3/[email protected]>
| Newsgroups | gmane.network.nagios.plugins.devel |
|---|---|
| Message-ID | <[email protected]> |
hi, I saw this mentioned on a list (I thought this one) recently, but I can't seem to find the message. We're using the nagios-plugin perl module and I have a need to override the default "SHORTNAME OK -" plugin output to just "OK -". Setting shortname to "" during Plugin->new doesn't work, and setting shortname to " " leaves a space in from the the service state in the output. How do I remove shortname altogether without modifying Plugin.pm? Thanks, Eric ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________________ Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null