You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,11 +46,11 @@ Installing NagiosTV
46
46
-------------
47
47
- Download the latest NagiosTV tar.gz release from https://github.com/chriscareycode/nagiostv-react/releases or you can just copy and paste the command below to get it:
- Extract the NagiosTV release using tar. This will create a nagiostv/ folder.
52
52
```console
53
-
tar xvfz nagiostv-0.9.7.tar.gz
53
+
tar xvfz nagiostv-0.9.8.tar.gz
54
54
```
55
55
- We're going to host the NagiosTV folder from the built-in Nagios web ui. Copy/Move the nagiostv/ folder into your Nagios web ui folder. For Nagios Core 4 the Nagios web ui folder might be at `/usr/local/nagios/share/` or `/usr/nagios/share/`. Nagios XI might be at `/var/www/html/` or `/usr/local/nagiosxi/html/`.
56
56
@@ -104,8 +104,8 @@ Then pretty much the same process as above. Download and overwrite the nagiostv
104
104
Remember your web ui destination folder `/usr/local/nagios/share/nagiostv/` may vary depending on your Nagios install.
You are a helpful assistant analyzing Nagios monitoring data. Provide concise insights about the current infrastructure health, identify critical issues, and suggest priorities for resolution. Today's date is {{DATE}}. The time is {{TIME}}. Day of the week is {{DAY_OF_WEEK}}. If you mention "flapping", capitalize it as "FLAPPING". Always add an emoji in the first position at the beginning of the response; it will be displayed as a "large icon" next to the response.
151
+
`,
146
152
llmPromptAllOk: `
147
-
You are an expert IT and Networking admin and know how to diagnose issues.
148
-
149
153
All systems are operating normally with no detected issues.
150
154
151
155
Please start by announcing the time in plain language, and saying the following:
152
156
"All systems OK".
153
157
154
-
If the current day is significant, like a major holiday, mention it.
155
-
156
-
Optionally append a single happy or network or server related emoji on the end of the response, be creative with your choice.
158
+
If the current day is significant, like a major holiday, mention it. If it is not, don't mention it and be more brief.
157
159
`,
158
160
llmPromptNotOk: `
159
-
You are an expert IT and Networking admin and know how to diagnose issues.
160
-
161
161
Provide a brief summary of the current situation.
162
162
163
+
Alerts are always in the past, and I like to measure how long since the last alert. If it happened recently then it's worth mentioning. If it happened > 1 hour ago then not as interesting.
164
+
163
165
- If you mention a host name, service name, or check name, put backticks around the name so it will emphasize in the markup.
164
166
165
167
- If there are no host issues, then do not mention there are no host issues; only focus on the service issues.
@@ -176,6 +178,9 @@ RECOMMENDATIONS if the service is not in OK state:
<strong>LocalAI:</strong> Run via Docker: <codestyle={{backgroundColor: '#1e1e1e',padding: '2px 6px',borderRadius: '3px'}}>docker run -p 8080:8080 localai/localai:latest</code>
Local client settings are applied AFTER loading settings from the server, so you can think of server settings as a way to set defaults
1091
1100
for all clients, but they can still be customized individually with settings saved in client settings. Delete the client settings and refresh the page to fetch server setting defaults again.
Copy file name to clipboardExpand all lines: src/components/llm/LocalLLM.README.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,7 @@ import LocalLLM from './summary/LocalLLM';
26
26
### 2. Configure LLM Server
27
27
The component uses the following settings from `clientSettings`:
28
28
29
-
-`llmServerHost`: Hostname of the LLM server (default: 'localhost')
30
-
-`llmServerPort`: Port number of the LLM server (default: 11434)
29
+
-`llmServerBaseUrl`: Base URL to the OpenAI-compatible LLM server (default: 'http://localhost:1234'). The path /v1/chat/completions is added automatically.
31
30
-`llmModel`: Model name to use (default: 'gpt-3.5-turbo')
32
31
-`llmApiKey`: Optional API key for authentication (default: '')
33
32
@@ -46,8 +45,7 @@ ollama serve
46
45
```
47
46
48
47
Configure in NagiosTV:
49
-
- Host: `localhost`
50
-
- Port: `11434`
48
+
- Base URL: `http://localhost:11434`
51
49
- Model: `llama2`
52
50
53
51
#### Using LM Studio
@@ -56,8 +54,7 @@ Configure in NagiosTV:
56
54
3. Start the local server (typically on port 1234)
57
55
58
56
Configure in NagiosTV:
59
-
- Host: `localhost`
60
-
- Port: `1234`
57
+
- Base URL: `http://localhost:1234`
61
58
- Model: Name of the loaded model
62
59
63
60
#### Using LocalAI
@@ -66,8 +63,7 @@ docker run -p 8080:8080 localai/localai:latest
0 commit comments