ossec role
This commit is contained in:
		
							
								
								
									
										12211
									
								
								slack/prod/ossec/files/etc/netdata/netdata.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12211
									
								
								slack/prod/ossec/files/etc/netdata/netdata.conf
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										9
									
								
								slack/prod/ossec/files/etc/netdata/stream.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								slack/prod/ossec/files/etc/netdata/stream.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					[stream]
 | 
				
			||||||
 | 
					    # Enable this on slaves, to have them send metrics.
 | 
				
			||||||
 | 
					    enabled = yes
 | 
				
			||||||
 | 
					    destination = tcp:toolbox.turnsys.net:19999
 | 
				
			||||||
 | 
					    api key = 6ed9e20a-c819-4ebc-b894-322eb0710d03
 | 
				
			||||||
 | 
					    timeout seconds = 60
 | 
				
			||||||
 | 
					    buffer size bytes = 1048576
 | 
				
			||||||
 | 
					    reconnect delay seconds = 5
 | 
				
			||||||
 | 
					    initial clock resync iterations = 60
 | 
				
			||||||
							
								
								
									
										8
									
								
								slack/prod/ossec/scripts/postinstall
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										8
									
								
								slack/prod/ossec/scripts/postinstall
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo "stopping ossec..."
 | 
				
			||||||
 | 
					/var/ossec/bin/ossec-control stop
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo "starting ossec..."
 | 
				
			||||||
 | 
					/var/ossec/bin/ossec-control start
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Reference in New Issue
	
	Block a user