import React from "react"; import { FormField, FormItem, FormLabel, FormControl, FormMessage, FormDescription } from "@/components/ui/form"; import { Input } from "@/components/ui/input"; import { Control } from "react-hook-form"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; interface PlaceholdersTabContentProps { control: Control; } export const PlaceholdersTabContent: React.FC = ({ control }) => { return (
Template Placeholders
( Service Name Placeholder Used for service name in messages )} /> ( Response Time Placeholder Used for response time in milliseconds )} /> ( Status Placeholder Used for service status (UP, DOWN, etc.) )} /> ( URL Placeholder Used for service URL )} /> ( Host/IP Placeholder Used for service host or IP address )} /> ( Service Type Placeholder Used for service type (HTTP, PING, TCP, DNS) )} /> ( Port Placeholder Used for service port number )} /> ( Domain Placeholder Used for domain name (DNS services) )} /> ( Region Name Placeholder Used for regional agent name )} /> ( Agent ID Placeholder Used for regional agent ID )} /> ( Uptime Placeholder Used for service uptime percentage )} /> ( Time Placeholder Used for current date and time )} /> ( Error Message Placeholder Used for error details when service is down )} />
Placeholder Usage Guide

These placeholders will be replaced with actual values when notifications are sent:

${"{service_name}"}

The name of the service

${"{response_time}"}

Response time in milliseconds

${"{status}"}

Service status (UP, DOWN)

${"{url}"}

Service URL

${"{host}"}

Service host or IP address

${"{service_type}"}

Service type (HTTP, PING, TCP, DNS)

${"{port}"}

Service port number

${"{domain}"}

Domain name (DNS services)

${"{region_name}"}

Regional agent name

${"{agent_id}"}

Regional agent ID

${"{uptime}"}

Service uptime percentage

${"{time}"}

Current date and time

${"{error_message}"}

Error details when service is down

); };