diff options
Diffstat (limited to 'src/pmdas/sendmail/pmns')
-rw-r--r-- | src/pmdas/sendmail/pmns | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/pmdas/sendmail/pmns b/src/pmdas/sendmail/pmns new file mode 100644 index 0000000..856448f --- /dev/null +++ b/src/pmdas/sendmail/pmns @@ -0,0 +1,39 @@ +/* + * Metrics for sendmail PMDA + * + * Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +sendmail { + start_date SENDMAIL:0:0 + permailer + total +} + +sendmail.permailer { + msgs_from SENDMAIL:1:0 + bytes_from SENDMAIL:1:1 + msgs_to SENDMAIL:1:2 + bytes_to SENDMAIL:1:3 +} + +sendmail.total { + msgs_from SENDMAIL:2:0 + bytes_from SENDMAIL:2:1 + msgs_to SENDMAIL:2:2 + bytes_to SENDMAIL:2:3 +} |