mirror of
				https://github.com/centreon/centreon-plugins.git
				synced 2025-10-31 11:23:50 +01:00 
			
		
		
		
	Refs #5354
This commit is contained in:
		
							parent
							
								
									593876b8dd
								
							
						
					
					
						commit
						3310e2deb2
					
				| @ -179,7 +179,7 @@ sub run { | |||||||
|      |      | ||||||
|     my $exit = $self->{perfdata}->threshold_check(value => $num_processes_match, threshold => [ { label => 'critical', 'exit_litteral' => 'critical' }, { label => 'warning', exit_litteral => 'warning' } ]); |     my $exit = $self->{perfdata}->threshold_check(value => $num_processes_match, threshold => [ { label => 'critical', 'exit_litteral' => 'critical' }, { label => 'warning', exit_litteral => 'warning' } ]); | ||||||
|     $self->{output}->output_add(severity => $exit, |     $self->{output}->output_add(severity => $exit, | ||||||
|                                 short_msg => "Number of current processes running: $num_processes_match"); |                                 short_msg => "Number of current processes: $num_processes_match"); | ||||||
|     $self->{output}->perfdata_add(label => 'nbproc', |     $self->{output}->perfdata_add(label => 'nbproc', | ||||||
|                                   value => $num_processes_match, |                                   value => $num_processes_match, | ||||||
|                                   warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning'), |                                   warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning'), | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user