Projet

Général

Profil

Révision 6f0e91f8

ID6f0e91f8507f26415d8f1b8ce17fa37a7c632537
Parent bffbc23a
Enfant 3f92394b

Ajouté par HaseHarald il y a plus de 5 ans

Add perldoc-style header.

Voir les différences:

plugins/disk/btrfs_device_stats
1 1
#!/usr/bin/env python3
2
#
2

  
3

  
4
"""
5
=pod
6

  
7
=head1 NAME
8

  
9
btrfs_device_stats - Script to monitor btrfs device statistics
10

  
11
=head1 CONFIGURATION
12

  
13
Simply create a symlink in your plugins directory like with any other plugin.
14
No configuration needed.
15

  
16
=head2 DEFAULT CONFIGURATION
17

  
18
=head1 BUGS
19

  
20
=head1 AUTHOR
21

  
22
2019, HaseHarald
23

  
24
=head1 MAGIC MARKERS
25

  
26
 #%# family=auto
27
 #%# capabilities=autoconf suggest
28

  
29
=head1 LICENSE
30

  
31
LGPLv3
32

  
33
=cut
34
"""
35

  
36

  
3 37
# This file contains a munin-plugin to gather btrfs statistics per device.
4 38
#
5 39
# This is free software: you can redistribute it and/or modify
plugins/disk/btrfs_device_usage
1 1
#!/usr/bin/env python3
2
#
2

  
3

  
4
"""
5
=pod
6

  
7
=head1 NAME
8

  
9
btrfs_device_usage - Script to monitor usage of btrfs devices
10

  
11
=head1 CONFIGURATION
12

  
13
Simply create a symlink in your plugins directory like with any other plugin.
14
No configuration needed.
15

  
16
=head2 DEFAULT CONFIGURATION
17

  
18
=head1 BUGS
19

  
20
=head1 AUTHOR
21

  
22
2019, HaseHarald
23

  
24
=head1 MAGIC MARKERS
25

  
26
 #%# family=auto
27
 #%# capabilities=autoconf suggest
28

  
29
=head1 LICENSE
30

  
31
LGPLv3
32

  
33
=cut
34
"""
35

  
36

  
3 37
# This file contains a munin-plugin to gather btrfs statistics per device.
4 38
#
5 39
# This is free software: you can redistribute it and/or modify

Formats disponibles : Unified diff