> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Nilesh Shastrakar > Sent: Wednesday, March 14, 2007 2:19 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Process Information Plugin > > Dear All, > > I have written a scripts which we will give the output like top command > but on nagios screen it shows me only one line status information also in > mail notification. > > I want to print all output of this file on mail as well as on Nagios > status Information screen
This is not directly possibly yet. Nagios < 2.x only supports one line of plugin output. Nagios-3 will support multi-line plugin output. You could work around the notification limitation by having your plugin include the contents of the file in the e-mail you send. You _might_ be able to force multi-line display in the web interface by substituting all carriage returns in the output with <BR> and only sending one long line of text but the formatting still wouldn't be right as standard rendering will reduce your tabbed columns to single space separated unless you do more processing (i.e. inserting multiple ) -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null