Projet

Général

Profil

Révision cbfa6b45

IDcbfa6b45786e6b11c8f31a75f04932f14ae96af1
Parent 8fbe0ebe
Enfant db74999f

Ajouté par Helmut Grohne il y a presque 13 ans

support warning and critical environment variables

Like the mainline plugins do.

Voir les différences:

tools/munin-plugins-busybox/open_inodes.c
19 19
				"used.info The number of currently open inodes.\n"
20 20
				"max.label inode table size\n"
21 21
				"max.info The size of the system inode table. This is dynamically adjusted by the kernel.");
22

  
22
			print_warncrit("used");
23
			print_warncrit("max");
23 24
			return 0;
24 25
		}
25 26
		if(!strcmp(argv[1], "autoconf")) {

Formats disponibles : Unified diff