├── LICENSE
├── README.md
├── scripts
├── MailflowCheck
│ ├── README.md
│ └── ZabbixMailflowCheck.vbs
└── README.md
└── templates
├── DevExpress-Report-Server
├── Readme.md
└── zabbix_template_DevExpress.xml
├── Exchange_2003
└── zabbix_template_Exchange_2003.xml
├── Microsoft-TeamFoundationServer
├── Readme.md
└── zabbix_template_TFS.xml
├── SpectorCNE
├── zabbix_template_Spector_Client.xml
└── zabbix_template_Spector_Server.xml
├── Windows-DHCPServer
├── README.md
├── check_dhcp.vbs
└── zabbix_template_Microsoft_DHCP_server.xml
├── Windows-DomainController
├── README.md
├── dcdiag_check.vbs
└── zabbix_template_AD_Domain_Controller.xml
├── Windows-Eventlogs
└── zbx_eventlog_template.xml
├── Windows-OS
└── Template_OS_Windows-2.4.7.xml
├── Windows-Updates
├── README.md
├── winupdates.vbs
└── zabbix_template_windows_updates.xml
└── Windows-WSUS
└── zabbix_template_WSUS.xml
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | zabbix
2 | ======
3 |
4 | A Collection of Zabbix scripts, templates and other useful stuff
5 |
--------------------------------------------------------------------------------
/scripts/MailflowCheck/README.md:
--------------------------------------------------------------------------------
1 | # MailflowCheck
2 |
3 | ## About
4 | This script runs the IMAP Checker utility to get the most recent unread message from it's configured mailbox and reports the date/timestamp to the Zabbix server using the zabbix_sender process
5 |
6 | ## Requirements
7 | **Zabbix Agent For Windows**
8 |
9 | **IMAP Checker Utility** (https://github.com/DavidWGilmore/imap-checker/)
10 |
11 | **Windows 7/ Server 2008 or newer** (required by IMAP Checker)
12 |
13 | ## Configuration
14 | The following variables need to be configured before runing the script
15 |
16 | **serverName** - The IP address or hostname of your Zabbix server
17 |
18 | **hostName** - The value of the Host Name field for the given item
19 |
20 | **zbxSender** - Path to the local zabbix_sender application
21 |
22 | **imap_checker** - Path to the IMAP Checker utility
23 |
24 | For a list of epoch offset values for various timezones see http://www.epochconverter.com/epoch/timezones.php
25 |
26 | **standardTimeOffset** - Epoch offset in seconds
27 |
28 | **DSTOffset** - Epoch offset in seconds during DST
29 |
--------------------------------------------------------------------------------
/scripts/MailflowCheck/ZabbixMailflowCheck.vbs:
--------------------------------------------------------------------------------
1 | ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
2 | ' Name: ZabbixMailFlowCheck
3 | ' Version: v1.0
4 | ' Created By: David W. Gilmore
5 | ' Modified: December 9, 2014
6 | '
7 | ' Summary:
8 | ' This script runs the imap_checker utility, gets the date of the last message, and returns it to the Zabbix server. Note that
9 | ' Epoch time is used because this is how Zabbix stores date/time values
10 | ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
11 | dim servername, hostname, zbxSender, imap_checker, objWshScriptExec, objStdOut, epoch, standardTimeOffset, DSTOffset, arrDST(1)
12 | Dim msgDate, justTheDate
13 |
14 | serverName = "1.2.3.4" 'The IP Address of the Zabbix server
15 | hostName = "myEMailHost" 'The value of the Host Name field for the given item
16 | zbxSender = "C:\bin\zabbix\bin\win32\zabbix_sender.exe" 'Path to the local zabbix_sender application
17 | imap_checker = "c:\bin\imap_checker\imap_checker.exe" 'Path to the IMAP Checker utility
18 |
19 | 'For a list of epoch offset values for various timezones see http://www.epochconverter.com/epoch/timezones.php
20 | standardTimeOffset = 28800 'Epoch offset in seconds (current value is for PST)
21 | DSTOffset = 25200 'Epoch offset in seconds during DST (current value is for PST)
22 | Dim objShell : Set objShell = WScript.CreateObject("WScript.Shell")
23 |
24 | 'Run the IMAP checker utility and return the date/time it reports
25 | Set objWshScriptExec = objShell.Exec(imap_checker)
26 | Set objStdOut = objWshScriptExec.StdOut
27 |
28 | 'Convert the date/time to epoch
29 | msgDate = CDate(objStdOut.ReadLine)
30 | epoch = date2epoch(msgDate)
31 | justTheDate = FormatDateTime(msgDate, 2)
32 |
33 | 'Determine if we are in DST and apply the desited offset
34 | If IsDST(justTheDate,arrDST) = 1 Then
35 | epoch = epoch + DSTOffset
36 | Else
37 | epoch = epoch + standardTimeOffset
38 |
39 | End If
40 |
41 | 'Update the item on the zabbix server
42 | objShell.Exec zbxSender & " -z " & serverName & " -s " & hostName & " -k mailflow_check -o " & epoch
43 |
44 | 'This Function converts a human readable date/time stamp to Unix Epoch time (Zabbix item requires this)
45 | function date2epoch(myDate)
46 | date2epoch = DateDiff("s", "01/01/1970 00:00:00", myDate)
47 | end function
48 |
49 | 'This function determines if a given date falls into Daylight Savings Time
50 | Function isDST(argDate, argReturn)
51 | Dim StartDate, EndDate
52 |
53 | If (Not IsDate(argDate)) Then
54 | argReturn(0) = -1
55 | argReturn(1) = -1
56 | isDST = -1
57 | Exit Function
58 | End If
59 |
60 | ' DST start date...
61 | StartDate = DateSerial(Year(argDate), 3, 1)
62 | Do While (WeekDay(StartDate) <> vbSunday)
63 | StartDate = StartDate + 1
64 | Loop
65 | StartDate = StartDate + 7
66 |
67 | ' DST end date...
68 | EndDate = DateSerial(Year(argDate), 11, 1)
69 | Do While (WeekDay(EndDate) <> vbSunday)
70 | EndDate = EndDate + 1
71 | Loop
72 |
73 | ' Finish up...
74 | isDST = 0
75 | If ((argDate >= StartDate) And (argDate < EndDate)) Then
76 | argReturn(0) = StartDate
77 | argReturn(1) = EndDate
78 | isDST = 1
79 | End If
80 | End Function
--------------------------------------------------------------------------------
/scripts/README.md:
--------------------------------------------------------------------------------
1 | # Zabbix Scripts Index
2 |
3 | This is a summary of the scripts hosted in this reposititory. See individual READMEs for more detail
4 |
5 | [MailflowCheck](https://github.com/DavidWGilmore/zabbix/scripts/mailflowcherk) - Runs the imap_checker utility and sends the results to the Zabbix server
6 |
--------------------------------------------------------------------------------
/templates/DevExpress-Report-Server/Readme.md:
--------------------------------------------------------------------------------
1 | DevExpress Report Server is a platfoirm for running reports in an ASP.Net environment.
2 |
3 | This template monitors the REport Server IIS site (default port 83) and the Task Scheduler service
4 |
--------------------------------------------------------------------------------
/templates/DevExpress-Report-Server/zabbix_template_DevExpress.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.2
4 | 2019-11-04T22:12:36Z
5 |
6 |
7 | Templates/Applications
8 |
9 |
10 |
11 |
12 | Template DevExpress Report Server
13 | Template DevExpress Report Server
14 |
15 |
16 |
17 | Templates/Applications
18 |
19 |
20 |
21 |
22 | Report Server
23 |
24 |
25 |
26 | -
27 | Report Service
28 | 0
29 |
30 |
31 | net.tcp.port[,83]
32 | 30s
33 | 90d
34 | 365d
35 | 0
36 | 3
37 |
38 |
39 |
40 |
41 | 0
42 | 0
43 |
44 | 0
45 |
46 |
47 |
48 | 0
49 |
50 |
51 |
52 |
53 |
54 |
55 | 0
56 |
57 |
58 | Report Server
59 |
60 |
61 |
62 |
63 |
64 |
65 | 3s
66 |
67 |
68 |
69 | 200
70 | 1
71 | 0
72 |
73 |
74 | 0
75 | 0
76 | 0
77 | 0
78 |
79 |
80 |
81 | 0
82 | 0
83 |
84 |
85 | -
86 | DevExpress Task Schedule Service
87 | 0
88 |
89 |
90 | service.info[DevExpress.TaskScheduler,state]
91 | 30s
92 | 90d
93 | 365d
94 | 0
95 | 3
96 |
97 |
98 |
99 |
100 | 0
101 | 0
102 |
103 | 0
104 |
105 |
106 |
107 | 0
108 |
109 |
110 |
111 |
112 |
113 |
114 | 0
115 |
116 |
117 | Report Server
118 |
119 |
120 |
121 |
122 |
123 |
124 | 3s
125 |
126 |
127 |
128 | 200
129 | 1
130 | 0
131 |
132 |
133 | 0
134 | 0
135 | 0
136 | 0
137 |
138 |
139 |
140 | 0
141 | 0
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 | {Template DevExpress Report Server:net.tcp.port[,83].last()}=0
156 | 0
157 |
158 | DevExpress Reporting Service Is Unavailable
159 | 0
160 |
161 |
162 | 0
163 | 2
164 |
165 | 0
166 | 0
167 |
168 |
169 |
170 |
171 | {Template DevExpress Report Server:service.info[DevExpress.TaskScheduler,state].last()}<>0
172 | 0
173 |
174 | DevExpress Task Scheduler Not Running
175 | 0
176 |
177 |
178 | 0
179 | 3
180 |
181 | 0
182 | 0
183 |
184 |
185 |
186 |
187 |
188 |
--------------------------------------------------------------------------------
/templates/Exchange_2003/zabbix_template_Exchange_2003.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 2.0
4 | 2015-03-11T22:04:10Z
5 |
6 |
7 | Templates
8 |
9 |
10 |
11 |
12 | Template Exchange 2003
13 | Template Exchange 2003
14 |
15 |
16 |
17 | Templates
18 |
19 |
20 |
21 |
22 | Exchange
23 |
24 |
25 | Memory
26 |
27 |
28 |
29 | -
30 | Exchange Event Service
31 | 0
32 |
33 | 0
34 |
35 | service_state[MSExchangeES]
36 | 30
37 | 90
38 | 365
39 | 0
40 | 3
41 |
42 |
43 | 0
44 |
45 |
46 | 0
47 | 0
48 |
49 | 0
50 |
51 | 1
52 |
53 |
54 |
55 | 0
56 | 0
57 |
58 |
59 |
60 |
61 |
62 |
63 | 0
64 |
65 |
66 | Exchange
67 |
68 |
69 |
70 |
71 |
72 | -
73 | Exchange Management Service
74 | 0
75 |
76 | 0
77 |
78 | service_state[MSExchangeMGMT]
79 | 30
80 | 90
81 | 365
82 | 0
83 | 3
84 |
85 |
86 | 0
87 |
88 |
89 | 0
90 | 0
91 |
92 | 0
93 |
94 | 1
95 |
96 |
97 |
98 | 0
99 | 0
100 |
101 |
102 |
103 |
104 |
105 |
106 | 0
107 |
108 |
109 | Exchange
110 |
111 |
112 |
113 |
114 |
115 | -
116 | IMAP4 Service
117 | 0
118 |
119 | 0
120 |
121 | service_state[IMAP4Svc]
122 | 30
123 | 90
124 | 365
125 | 0
126 | 3
127 |
128 |
129 | 0
130 |
131 |
132 | 0
133 | 0
134 |
135 | 0
136 |
137 | 1
138 |
139 |
140 |
141 | 0
142 | 0
143 |
144 |
145 |
146 |
147 |
148 |
149 | 0
150 |
151 |
152 | Exchange
153 |
154 |
155 |
156 |
157 |
158 | -
159 | Inbound Connections Current
160 | 0
161 |
162 | 0
163 |
164 | perf_counter[\SMTP Server(_Total)\Inbound Connections Current]
165 | 30
166 | 90
167 | 365
168 | 0
169 | 3
170 |
171 |
172 | 0
173 |
174 |
175 | 0
176 | 0
177 |
178 | 0
179 |
180 | 1
181 |
182 |
183 |
184 | 0
185 | 0
186 |
187 |
188 |
189 |
190 |
191 |
192 | 0
193 |
194 |
195 | Exchange
196 |
197 |
198 |
199 |
200 |
201 | -
202 | Information Store Service
203 | 0
204 |
205 | 0
206 |
207 | service_state[MSExchangeIS]
208 | 30
209 | 90
210 | 365
211 | 0
212 | 3
213 |
214 |
215 | 0
216 |
217 |
218 | 0
219 | 0
220 |
221 | 0
222 |
223 | 1
224 |
225 |
226 |
227 | 0
228 | 0
229 |
230 |
231 |
232 |
233 |
234 |
235 | 0
236 |
237 |
238 | Exchange
239 |
240 |
241 |
242 |
243 |
244 | -
245 | Local Queue Length
246 | 0
247 |
248 | 0
249 |
250 | perf_counter[\SMTP Server(_Total)\Local Queue Length]
251 | 30
252 | 90
253 | 365
254 | 0
255 | 3
256 |
257 |
258 | 0
259 |
260 |
261 | 0
262 | 0
263 |
264 | 0
265 |
266 | 1
267 |
268 |
269 |
270 | 0
271 | 0
272 |
273 |
274 |
275 |
276 |
277 |
278 | 0
279 |
280 |
281 | Exchange
282 |
283 |
284 |
285 |
286 |
287 | -
288 | Local Retry Length
289 | 0
290 |
291 | 0
292 |
293 | perf_counter[\SMTP Server(_Total)\Local Retry Queue Length]
294 | 30
295 | 90
296 | 365
297 | 0
298 | 3
299 |
300 |
301 | 0
302 |
303 |
304 | 0
305 | 0
306 |
307 | 0
308 |
309 | 1
310 |
311 |
312 |
313 | 0
314 | 0
315 |
316 |
317 |
318 |
319 |
320 |
321 | 0
322 |
323 |
324 | Exchange
325 |
326 |
327 |
328 |
329 |
330 | -
331 | Messages Received/Sec
332 | 0
333 |
334 | 0
335 |
336 | perf_counter[\SMTP Server(_Total)\Messages Received/sec]
337 | 30
338 | 90
339 | 365
340 | 0
341 | 0
342 |
343 |
344 | 0
345 |
346 |
347 | 0
348 | 0
349 |
350 | 0
351 |
352 | 1
353 |
354 |
355 |
356 | 0
357 | 0
358 |
359 |
360 |
361 |
362 |
363 |
364 | 0
365 |
366 |
367 | Exchange
368 |
369 |
370 |
371 |
372 |
373 | -
374 | MSExchange MTA Submits
375 | 0
376 |
377 | 0
378 |
379 | perf_counter[\MSExchangeTransport Store Driver(_Total)\Store/MSExchangeMTA Submits]
380 | 30
381 | 90
382 | 365
383 | 0
384 | 3
385 |
386 |
387 | 0
388 |
389 |
390 | 0
391 | 0
392 |
393 | 0
394 |
395 | 1
396 |
397 |
398 |
399 | 0
400 | 0
401 |
402 |
403 |
404 |
405 |
406 |
407 | 0
408 |
409 |
410 | Exchange
411 |
412 |
413 |
414 |
415 |
416 | -
417 | MTA Service
418 | 0
419 |
420 | 0
421 |
422 | service_state[MSExchangeMTA]
423 | 30
424 | 90
425 | 365
426 | 0
427 | 3
428 |
429 |
430 | 0
431 |
432 |
433 | 0
434 | 0
435 |
436 | 0
437 |
438 | 1
439 |
440 |
441 |
442 | 0
443 | 0
444 |
445 |
446 |
447 |
448 |
449 |
450 | 0
451 |
452 |
453 | Exchange
454 |
455 |
456 |
457 |
458 |
459 | -
460 | Pickup Directory Messages Retrieved/sec
461 | 0
462 |
463 | 0
464 |
465 | perf_counter[\SMTP Server(_Total)\Pickup Directory Messages Retrieved/sec]
466 | 30
467 | 90
468 | 365
469 | 0
470 | 3
471 |
472 |
473 | 0
474 |
475 |
476 | 0
477 | 0
478 |
479 | 0
480 |
481 | 1
482 |
483 |
484 |
485 | 0
486 | 0
487 |
488 |
489 |
490 |
491 |
492 |
493 | 0
494 |
495 |
496 | Exchange
497 |
498 |
499 |
500 |
501 |
502 | -
503 | Remote Queue Length
504 | 0
505 |
506 | 0
507 |
508 | perf_counter[\SMTP Server(_Total)\Remote Queue Length]
509 | 30
510 | 90
511 | 365
512 | 0
513 | 3
514 |
515 |
516 | 0
517 |
518 |
519 | 0
520 | 0
521 |
522 | 0
523 |
524 | 1
525 |
526 |
527 |
528 | 0
529 | 0
530 |
531 |
532 |
533 |
534 |
535 |
536 | 0
537 |
538 |
539 | Exchange
540 |
541 |
542 |
543 |
544 |
545 | -
546 | Remote Retry Queue Length
547 | 0
548 |
549 | 0
550 |
551 | perf_counter[\SMTP Server(_Total)\Remote Retry Queue Length]
552 | 30
553 | 90
554 | 365
555 | 0
556 | 3
557 |
558 |
559 | 0
560 |
561 |
562 | 0
563 | 0
564 |
565 | 0
566 |
567 | 1
568 |
569 |
570 |
571 | 0
572 | 0
573 |
574 |
575 |
576 |
577 |
578 |
579 | 0
580 |
581 |
582 | Exchange
583 |
584 |
585 |
586 |
587 |
588 | -
589 | Routing Service
590 | 0
591 |
592 | 0
593 |
594 | service_state[RESvc]
595 | 30
596 | 90
597 | 365
598 | 0
599 | 3
600 |
601 |
602 | 0
603 |
604 |
605 | 0
606 | 0
607 |
608 | 0
609 |
610 | 1
611 |
612 |
613 |
614 | 0
615 | 0
616 |
617 |
618 |
619 |
620 |
621 |
622 | 0
623 |
624 |
625 | Exchange
626 |
627 |
628 |
629 |
630 |
631 | -
632 | SMTP Service
633 | 0
634 |
635 | 0
636 |
637 | service_state[SMTPSVC]
638 | 30
639 | 90
640 | 365
641 | 0
642 | 3
643 |
644 |
645 | 0
646 |
647 |
648 | 0
649 | 0
650 |
651 | 0
652 |
653 | 1
654 |
655 |
656 |
657 | 0
658 | 0
659 |
660 |
661 |
662 |
663 |
664 |
665 | 0
666 |
667 |
668 | Exchange
669 |
670 |
671 |
672 |
673 |
674 | -
675 | System Attendant Service
676 | 0
677 |
678 | 0
679 |
680 | service_state[MSExchangeSA]
681 | 30
682 | 90
683 | 365
684 | 0
685 | 3
686 |
687 |
688 | 0
689 |
690 |
691 | 0
692 | 0
693 |
694 | 0
695 |
696 | 1
697 |
698 |
699 |
700 | 0
701 | 0
702 |
703 |
704 |
705 |
706 |
707 |
708 | 0
709 |
710 |
711 | Exchange
712 |
713 |
714 |
715 |
716 |
717 |
718 |
719 |
720 |
721 |
722 |
723 |
724 |
725 |
726 | {Template Exchange 2003:service_state[MSExchangeMGMT].last()}<>0
727 | Exchange Management Service Not Running
728 |
729 | 0
730 | 4
731 |
732 | 0
733 |
734 |
735 |
736 | {Template Exchange 2003:service_state[IMAP4Svc].last()}<>0
737 | IMAP Service Not Running
738 |
739 | 0
740 | 3
741 |
742 | 0
743 |
744 |
745 |
746 | {Template Exchange 2003:service_state[MSExchangeIS].last()}<>0
747 | Information Store Service Not Running
748 |
749 | 0
750 | 4
751 |
752 | 0
753 |
754 |
755 |
756 | {Template Exchange 2003:service_state[MSExchangeMTA].last()}<>0
757 | MTA Service Not Running
758 |
759 | 0
760 | 4
761 |
762 | 0
763 |
764 |
765 |
766 | {Template Exchange 2003:service_state[RESvc].last()}<>0
767 | Routing Engine Service Not Running
768 |
769 | 0
770 | 4
771 |
772 | 0
773 |
774 |
775 |
776 | {Template Exchange 2003:service_state[MSExchangeSA].last()}<>0
777 | System Attendant Service Not Running
778 |
779 | 0
780 | 4
781 |
782 | 0
783 |
784 |
785 |
786 |
787 |
--------------------------------------------------------------------------------
/templates/Microsoft-TeamFoundationServer/Readme.md:
--------------------------------------------------------------------------------
1 | This template is created to monitor a Microsoft Team Foundation Server that was installed using the Standalone install method. If you are using a Standard SQL Server instance you might want to use a different template for that.
2 |
--------------------------------------------------------------------------------
/templates/Microsoft-TeamFoundationServer/zabbix_template_TFS.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.2
4 | 2019-11-06T22:26:36Z
5 |
6 |
7 | Templates
8 |
9 |
10 |
11 |
12 | Template Microsoft Team Foundation Server
13 | Template Microsoft Team Foundation Server
14 |
15 |
16 |
17 | Templates
18 |
19 |
20 |
21 |
22 | Database Engine
23 |
24 |
25 | IIS service
26 |
27 |
28 | TFS
29 |
30 |
31 |
32 | -
33 | IIS Service Port 443 (HTTPS)
34 | 0
35 |
36 |
37 | net.tcp.listen[443]
38 | 30
39 | 90d
40 | 365d
41 | 0
42 | 0
43 |
44 |
45 |
46 |
47 | 0
48 | 0
49 |
50 | 0
51 |
52 |
53 |
54 | 0
55 |
56 |
57 |
58 |
59 |
60 |
61 | 0
62 |
63 |
64 | IIS service
65 |
66 |
67 |
68 |
69 |
70 |
71 | 3s
72 |
73 |
74 |
75 | 200
76 | 1
77 | 0
78 |
79 |
80 | 0
81 | 0
82 | 0
83 | 0
84 |
85 |
86 |
87 | 0
88 | 0
89 |
90 |
91 | -
92 | IIS Service Port 8080 (HTTP)
93 | 0
94 |
95 |
96 | net.tcp.listen[8080]
97 | 30
98 | 90d
99 | 365d
100 | 0
101 | 0
102 |
103 |
104 |
105 |
106 | 0
107 | 0
108 |
109 | 0
110 |
111 |
112 |
113 | 0
114 |
115 |
116 |
117 |
118 |
119 |
120 | 0
121 |
122 |
123 | IIS service
124 |
125 |
126 |
127 |
128 |
129 |
130 | 3s
131 |
132 |
133 |
134 | 200
135 | 1
136 | 0
137 |
138 |
139 | 0
140 | 0
141 | 0
142 | 0
143 |
144 |
145 |
146 | 0
147 | 0
148 |
149 |
150 | -
151 | IIS Admin Service
152 | 0
153 |
154 |
155 | service_state[IISAdmin]
156 | 30
157 | 90d
158 | 365d
159 | 0
160 | 0
161 |
162 |
163 |
164 |
165 | 0
166 | 0
167 |
168 | 0
169 |
170 |
171 |
172 | 0
173 |
174 |
175 |
176 |
177 |
178 |
179 | 0
180 |
181 |
182 | IIS service
183 |
184 |
185 |
186 | Windows service state
187 |
188 |
189 |
190 |
191 | 3s
192 |
193 |
194 |
195 | 200
196 | 1
197 | 0
198 |
199 |
200 | 0
201 | 0
202 | 0
203 | 0
204 |
205 |
206 |
207 | 0
208 | 0
209 |
210 |
211 | -
212 | SQL Server (SQLEXPRESS)
213 | 0
214 |
215 |
216 | service_state[MSSQL$SQLEXPRESS]
217 | 30
218 | 90d
219 | 365d
220 | 0
221 | 3
222 |
223 |
224 |
225 |
226 | 0
227 | 0
228 |
229 | 0
230 |
231 |
232 |
233 | 0
234 |
235 |
236 |
237 |
238 |
239 |
240 | 0
241 |
242 |
243 | Database Engine
244 |
245 |
246 |
247 |
248 |
249 |
250 | 3s
251 |
252 |
253 |
254 | 200
255 | 1
256 | 0
257 |
258 |
259 | 0
260 | 0
261 | 0
262 | 0
263 |
264 |
265 |
266 | 0
267 | 0
268 |
269 |
270 | -
271 | Visual Studio Team Foundation Background Job Agent
272 | 0
273 |
274 |
275 | service_state[TFSJobAgent]
276 | 30
277 | 90d
278 | 365d
279 | 0
280 | 3
281 |
282 |
283 |
284 |
285 | 0
286 | 0
287 |
288 | 0
289 |
290 |
291 |
292 | 0
293 |
294 |
295 |
296 |
297 |
298 |
299 | 0
300 |
301 |
302 | TFS
303 |
304 |
305 |
306 |
307 |
308 |
309 | 3s
310 |
311 |
312 |
313 | 200
314 | 1
315 | 0
316 |
317 |
318 | 0
319 | 0
320 | 0
321 | 0
322 |
323 |
324 |
325 | 0
326 | 0
327 |
328 |
329 | -
330 | IIS World Wide Web Publishing Service
331 | 0
332 |
333 |
334 | service_state[W3SVC]
335 | 30
336 | 90d
337 | 365d
338 | 0
339 | 0
340 |
341 |
342 |
343 |
344 | 0
345 | 0
346 |
347 | 0
348 |
349 |
350 |
351 | 0
352 |
353 |
354 |
355 |
356 |
357 |
358 | 0
359 |
360 |
361 | IIS service
362 |
363 |
364 |
365 | Windows service state
366 |
367 |
368 |
369 |
370 | 3s
371 |
372 |
373 |
374 | 200
375 | 1
376 | 0
377 |
378 |
379 | 0
380 | 0
381 | 0
382 | 0
383 |
384 |
385 |
386 | 0
387 | 0
388 |
389 |
390 |
391 |
392 |
393 |
394 |
395 |
396 |
397 |
398 |
399 |
400 |
401 | {Template Microsoft Team Foundation Server:net.tcp.listen[443].last()}<>1
402 | 0
403 |
404 | HTTPS Connections Unavailable
405 | 0
406 |
407 |
408 | 0
409 | 2
410 |
411 | 0
412 | 0
413 |
414 |
415 |
416 |
417 | {Template Microsoft Team Foundation Server:service_state[IISAdmin].last()}<>0
418 | 0
419 |
420 | IIS Admin Service Not Running
421 | 0
422 |
423 |
424 | 0
425 | 2
426 |
427 | 0
428 | 0
429 |
430 |
431 |
432 |
433 | {Template Microsoft Team Foundation Server:service_state[TFSJobAgent].last()}<>0
434 | 0
435 |
436 | TFS background Job Agent Service Not Running
437 | 0
438 |
439 |
440 | 0
441 | 2
442 |
443 | 0
444 | 0
445 |
446 |
447 |
448 |
449 | {Template Microsoft Team Foundation Server:net.tcp.listen[8080].last()}<>1
450 | 0
451 |
452 | TFS Check-In Service Unavailable
453 | 0
454 |
455 |
456 | 0
457 | 2
458 |
459 | 0
460 | 0
461 |
462 |
463 |
464 |
465 | {Template Microsoft Team Foundation Server:service_state[W3SVC].last()}<>0
466 | 0
467 |
468 | World Wide Web Publishing Service Not Running
469 | 0
470 |
471 |
472 | 0
473 | 2
474 |
475 | 0
476 | 0
477 |
478 |
479 |
480 |
481 |
482 |
483 | Windows service state
484 |
485 |
486 | 0
487 | Running
488 |
489 |
490 | 1
491 | Paused
492 |
493 |
494 | 2
495 | Start pending
496 |
497 |
498 | 3
499 | Pause pending
500 |
501 |
502 | 4
503 | Continue pending
504 |
505 |
506 | 5
507 | Stop pending
508 |
509 |
510 | 6
511 | Stopped
512 |
513 |
514 | 7
515 | Unknown
516 |
517 |
518 | 255
519 | No such service
520 |
521 |
522 |
523 |
524 |
525 |
--------------------------------------------------------------------------------
/templates/SpectorCNE/zabbix_template_Spector_Client.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 2.0
4 | 2015-03-11T22:06:18Z
5 |
6 |
7 | Templates
8 |
9 |
10 |
11 |
12 | Template Spector Client
13 | Template Spector Client
14 |
15 |
16 |
17 | Templates
18 |
19 |
20 |
21 |
22 | Spector
23 |
24 |
25 |
26 | -
27 | Spector System Event Dispatcher
28 | 7
29 |
30 | 0
31 |
32 | service_state[System Event Dispatcher]
33 | 30
34 | 90
35 | 365
36 | 0
37 | 3
38 |
39 |
40 | 0
41 |
42 |
43 | 0
44 | 0
45 |
46 | 0
47 |
48 | 1
49 |
50 |
51 |
52 | 0
53 | 0
54 |
55 |
56 |
57 |
58 |
59 |
60 | 0
61 |
62 |
63 | Spector
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | {Template Spector Client:service_state[System Event Dispatcher].last()}<>0
79 | Spector Not Running
80 |
81 | 0
82 | 2
83 |
84 | 0
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/templates/SpectorCNE/zabbix_template_Spector_Server.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 2.0
4 | 2015-03-11T22:08:24Z
5 |
6 |
7 | Templates
8 |
9 |
10 |
11 |
12 | Template Spector Server
13 | Template Spector Server
14 |
15 |
16 |
17 | Templates
18 |
19 |
20 |
21 |
22 | Spector
23 |
24 |
25 |
26 | -
27 | Spector CNE Data Vault
28 | 0
29 |
30 | 0
31 |
32 | service_state[SPDataServer]
33 | 30
34 | 90
35 | 365
36 | 0
37 | 3
38 |
39 |
40 | 0
41 |
42 |
43 | 0
44 | 0
45 |
46 | 0
47 |
48 | 1
49 |
50 |
51 |
52 | 0
53 | 0
54 |
55 |
56 |
57 |
58 |
59 |
60 | 0
61 |
62 |
63 | Spector
64 |
65 |
66 |
67 |
68 |
69 | -
70 | Spector CNE Primary Server
71 | 0
72 |
73 | 0
74 |
75 | service_state[SPLicenseManager]
76 | 30
77 | 90
78 | 365
79 | 0
80 | 3
81 |
82 |
83 | 0
84 |
85 |
86 | 0
87 | 0
88 |
89 | 0
90 |
91 | 1
92 |
93 |
94 |
95 | 0
96 | 0
97 |
98 |
99 |
100 |
101 |
102 |
103 | 0
104 |
105 |
106 | Spector
107 |
108 |
109 |
110 |
111 |
112 | -
113 | Spector Control Center Server
114 | 0
115 |
116 | 0
117 |
118 | service_state[SPCEAdminSvc]
119 | 30
120 | 90
121 | 365
122 | 0
123 | 3
124 |
125 |
126 | 0
127 |
128 |
129 | 0
130 | 0
131 |
132 | 0
133 |
134 | 1
135 |
136 |
137 |
138 | 0
139 | 0
140 |
141 |
142 |
143 |
144 |
145 |
146 | 0
147 |
148 |
149 | Spector
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 | {Template Spector Server:service_state[SPCEAdminSvc].last()}<>0
165 | Spector Control Center Server Service Not Running
166 |
167 | 0
168 | 2
169 |
170 | 0
171 |
172 |
173 |
174 | {Template Spector Server:service_state[SPDataServer].last()}<>0
175 | Spector Data Valut Service Not Running
176 |
177 | 0
178 | 2
179 |
180 | 0
181 |
182 |
183 |
184 | {Template Spector Server:service_state[SPLicenseManager].last()}<>0
185 | Spector Primary Server Service Not Running
186 |
187 | 0
188 | 2
189 |
190 | 0
191 |
192 |
193 |
194 |
195 |
--------------------------------------------------------------------------------
/templates/Windows-DHCPServer/README.md:
--------------------------------------------------------------------------------
1 | Windows-DHCP
2 | ======
3 | Based on the script written by Marco Gottardello from http://atsoy.blogspot.com/2010/06/vbs-script-check-dhcp-state.html
4 |
5 | Usage
6 |
7 | 1. Place check_dhcp.vbs in the zabbix script directory of your DHCP server
8 | 2. Add a dhcp.free UserParameter to the DHCP server's config like this: UserParameter=dhcp.free,cscript.exe //Nologo c:\bin\zabbix\scripts\check_dhcp.vbs
9 |
--------------------------------------------------------------------------------
/templates/Windows-DHCPServer/check_dhcp.vbs:
--------------------------------------------------------------------------------
1 | '==============================================================
2 | '
3 | ' Script: check_dhcp_scope.vbs
4 | '
5 | ' Autore: Marco Gottardello - marco@gottardello.net
6 | '
7 | ' Data: 26/01/2010
8 | '
9 | ' Descrizione: Check the health status of scopes on the local DHCP server
10 | '
11 | ' History: v1.0 : first version
12 | '
13 | '==============================================================
14 |
15 |
16 | Set objFSO = CreateObject("Scripting.FileSystemObject")
17 | Set tfolder = objfso.GetSpecialFolder(2)
18 |
19 | filetoparse= tfolder&"\EXPORT_DHCP_SCOPE.TXT"
20 |
21 | bdebug=FALSE
22 |
23 | strout=""
24 |
25 | Critical_Limit=0
26 | Warning_Limit=4
27 |
28 | function parse(strtoparse)
29 | parse=mid(strtoparse,instr(strtoparse,"=")+2,len(strtoparse)-instr(strtoparse,"=")-2)
30 | end function
31 |
32 |
33 | '=========main=============
34 |
35 | strthecommand="cmd.exe /c netsh dhcp server show all > "&filetoparse&" 2>&1"
36 | CreateObject("WScript.Shell").Run (strthecommand),0,true
37 | WScript.Sleep(5000)
38 |
39 |
40 | ScopeCount=0
41 | ScopeOk=0
42 | ScopeDisabled=0
43 | ScopeWarning=0
44 | ScopeCritical=0
45 |
46 |
47 | Const ForReading = 1
48 | Const ForWriting = 2
49 | Const ForAppending = 8
50 |
51 |
52 | 'apro i file sorgente
53 | Set objFileSorg = objFSO.OpenTextFile(filetoparse, ForReading)
54 |
55 | oldstr2=""
56 | oldstr3=""
57 | oldstr=""
58 |
59 | Do While objFileSorg.AtEndOfStream <> True
60 | strSorg = objFileSorg.ReadLine
61 | if instr(oldstr2,"Subnet") then
62 | scopecount=scopecount+1
63 |
64 | SubnetIP=parse(oldstr2)
65 | FreeIP=parse(strsorg)
66 | UsedIP=parse(oldstr)
67 |
68 | if bdebug then wscript.echo SubnetIP&" "&UsedIP&" "&FreeIP
69 |
70 | if UsedIP=0 then
71 | if bdebug then wscript.echo "-"&SubnetIP&" is disabled"
72 | ScopeDisabled=ScopeDisabled+1
73 | elseif int(FreeIP)<=Critical_Limit then
74 | if bdebug then wscript.echo "-"&SubnetIP&" is Critical ("&FreeIP&" free)"
75 | StrOut=Strout&SubnetIP&" is Critical ("&FreeIP&" free). "
76 | ScopeCritical=ScopeCritical+1
77 | elseif int(FreeIP)<=Warning_Limit then
78 | if bdebug then wscript.echo "-"&SubnetIP&" is Warning ("&FreeIP&" free)"
79 | StrOut=Strout&SubnetIP&" is Warning ("&FreeIP&" free). "
80 | ScopeWarning=ScopeWarning+1
81 | end if
82 |
83 | end if
84 |
85 | oldstr3=oldstr2
86 | oldstr2=oldstr
87 | oldstr=strsorg
88 | loop
89 | objFileSorg.Close
90 |
91 | if not strout="" then wscript.echo strout
92 |
93 | if ScopeCritical then wscript.quit(2)
94 | if ScopeWarning then wscript.quit(1)
95 | wscript.echo FreeIP
96 | wscript.quit(0)
--------------------------------------------------------------------------------
/templates/Windows-DHCPServer/zabbix_template_Microsoft_DHCP_server.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 2.0
4 | 2015-12-10T09:59:11Z
5 |
6 |
7 | Templates
8 |
9 |
10 |
11 |
12 | Template_Microsoft_DHCP_Server
13 | Template_Microsoft_DHCP_Server
14 |
15 |
16 |
17 | Templates
18 |
19 |
20 |
21 |
22 | Microsoft DHCP
23 |
24 |
25 |
26 | -
27 | DHCP Scope: Free IPs
28 | 7
29 |
30 | 0
31 |
32 | dhcp.free
33 | 1800
34 | 90
35 | 365
36 | 1
37 | 3
38 |
39 |
40 | 0
41 |
42 |
43 | 0
44 | 0
45 |
46 | 0
47 |
48 | 1
49 |
50 |
51 |
52 | 0
53 | 0
54 |
55 |
56 |
57 |
58 |
59 |
60 | 0
61 |
62 |
63 | Microsoft DHCP
64 |
65 |
66 |
67 |
68 |
69 | -
70 | DHCP server: Acks per second
71 | 0
72 |
73 | 0
74 |
75 | perf_counter[\DHCP Server\Acks/sec]
76 | 60
77 | 90
78 | 365
79 | 0
80 | 0
81 |
82 |
83 | 0
84 |
85 |
86 | 0
87 | 0
88 |
89 | 0
90 |
91 | 1
92 |
93 |
94 |
95 | 0
96 | 0
97 |
98 |
99 |
100 |
101 |
102 |
103 | 0
104 |
105 |
106 | Microsoft DHCP
107 |
108 |
109 |
110 |
111 |
112 | -
113 | DHCP server: Declines per second
114 | 0
115 |
116 | 0
117 |
118 | perf_counter[\DHCP Server\Declines/sec]
119 | 60
120 | 90
121 | 365
122 | 0
123 | 0
124 |
125 |
126 | 0
127 |
128 |
129 | 0
130 | 0
131 |
132 | 0
133 |
134 | 1
135 |
136 |
137 |
138 | 0
139 | 0
140 |
141 |
142 |
143 |
144 |
145 |
146 | 0
147 |
148 |
149 | Microsoft DHCP
150 |
151 |
152 |
153 |
154 |
155 | -
156 | DHCP server: Discovers per second
157 | 0
158 |
159 | 0
160 |
161 | perf_counter[\DHCP Server\Discovers/sec]
162 | 60
163 | 90
164 | 365
165 | 0
166 | 0
167 |
168 |
169 | 0
170 |
171 |
172 | 0
173 | 0
174 |
175 | 0
176 |
177 | 1
178 |
179 |
180 |
181 | 0
182 | 0
183 |
184 |
185 |
186 |
187 |
188 |
189 | 0
190 |
191 |
192 | Microsoft DHCP
193 |
194 |
195 |
196 |
197 |
198 | -
199 | DHCP server: Informs per second
200 | 0
201 |
202 | 0
203 |
204 | perf_counter[\DHCP Server\Informs/sec]
205 | 60
206 | 90
207 | 365
208 | 0
209 | 0
210 |
211 |
212 | 0
213 |
214 |
215 | 0
216 | 0
217 |
218 | 0
219 |
220 | 1
221 |
222 |
223 |
224 | 0
225 | 0
226 |
227 |
228 |
229 |
230 |
231 |
232 | 0
233 |
234 |
235 | Microsoft DHCP
236 |
237 |
238 |
239 |
240 |
241 | -
242 | DHCP server: NAcks per second
243 | 0
244 |
245 | 0
246 |
247 | perf_counter[\DHCP Server\Nacks/sec]
248 | 60
249 | 90
250 | 365
251 | 0
252 | 0
253 |
254 |
255 | 0
256 |
257 |
258 | 0
259 | 0
260 |
261 | 0
262 |
263 | 1
264 |
265 |
266 |
267 | 0
268 | 0
269 |
270 |
271 |
272 |
273 |
274 |
275 | 0
276 |
277 |
278 | Microsoft DHCP
279 |
280 |
281 |
282 |
283 |
284 | -
285 | DHCP server: Offers per second
286 | 0
287 |
288 | 0
289 |
290 | perf_counter[\DHCP Server\Offers/sec]
291 | 60
292 | 90
293 | 365
294 | 0
295 | 0
296 |
297 |
298 | 0
299 |
300 |
301 | 0
302 | 0
303 |
304 | 0
305 |
306 | 1
307 |
308 |
309 |
310 | 0
311 | 0
312 |
313 |
314 |
315 |
316 |
317 |
318 | 0
319 |
320 |
321 | Microsoft DHCP
322 |
323 |
324 |
325 |
326 |
327 | -
328 | DHCP server: Packets Received per second
329 | 0
330 |
331 | 0
332 |
333 | perf_counter[\DHCP Server\Packets Received/sec]
334 | 60
335 | 90
336 | 365
337 | 0
338 | 0
339 |
340 |
341 | 0
342 |
343 |
344 | 0
345 | 0
346 |
347 | 0
348 |
349 | 1
350 |
351 |
352 |
353 | 0
354 | 0
355 |
356 |
357 |
358 |
359 |
360 |
361 | 0
362 |
363 |
364 | Microsoft DHCP
365 |
366 |
367 |
368 |
369 |
370 | -
371 | DHCP server: Requests per second
372 | 0
373 |
374 | 0
375 |
376 | perf_counter[\DHCP Server\Requests/sec]
377 | 60
378 | 90
379 | 365
380 | 0
381 | 0
382 |
383 |
384 | 0
385 |
386 |
387 | 0
388 | 0
389 |
390 | 0
391 |
392 | 1
393 |
394 |
395 |
396 | 0
397 | 0
398 |
399 |
400 |
401 |
402 |
403 |
404 | 0
405 |
406 |
407 | Microsoft DHCP
408 |
409 |
410 |
411 |
412 |
413 | -
414 | DHCP server: Service state
415 | 0
416 |
417 | 0
418 |
419 | service_state[DHCPServer]
420 | 30
421 | 90
422 | 365
423 | 0
424 | 3
425 |
426 |
427 | 0
428 |
429 |
430 | 0
431 | 0
432 |
433 | 0
434 |
435 | 1
436 |
437 |
438 |
439 | 0
440 | 0
441 |
442 |
443 |
444 |
445 |
446 |
447 | 0
448 |
449 |
450 | Microsoft DHCP
451 |
452 |
453 |
454 |
455 |
456 |
457 |
458 |
459 |
460 |
461 |
462 |
463 |
464 |
465 | {Template_Microsoft_DHCP_Server:dhcp.free.last()}<3
466 | DHCP: Free IPs Low
467 |
468 | 0
469 | 2
470 |
471 | 0
472 |
473 |
474 |
475 | {Template_Microsoft_DHCP_Server:service_state[DHCPServer].last(0)}<>0
476 | DHCP server not running
477 |
478 | 0
479 | 4
480 |
481 | 0
482 |
483 |
484 |
485 |
486 |
--------------------------------------------------------------------------------
/templates/Windows-DomainController/README.md:
--------------------------------------------------------------------------------
1 | Windows-DomainController
2 | ======
3 | This template checks various Performance monitors and services associated with Active Directory, as well as running the dcdiag tool to assess AD health
4 |
5 | Usage
6 |
7 | 1. Place dcdiag_check.vbs in the zabbix script directory of your DHCP server
8 | 2. Add the following line to UserParameter section of the Comain Controller's config and point it to the script like this: dcdiag[*],cscript //Nologo C:\bin\Zabbix\scripts\dcdiag_check.vbs $1
9 |
--------------------------------------------------------------------------------
/templates/Windows-DomainController/dcdiag_check.vbs:
--------------------------------------------------------------------------------
1 | '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
2 | 'dcdiag_check.vbs
3 | 'Version 1.0
4 | 'Written By: David W. Gilmore
5 | 'Created On: 03/10/2015
6 | '
7 | '
8 | 'Purpose: Run the specified dcdiag.exe test as specified from the command line parameter and returns
9 | ' pass or fail status. The test returns 1 for pass and 0 for fail
10 | '
11 |
12 | 'THis is the function that runs the dcdiag test
13 | Function runDiagTest(strTest)
14 | strResult = "0"
15 | cmd = "cmd.exe /c dcdiag /test:" & strTest
16 | Set sh = WScript.CreateObject("WScript.Shell")
17 | Set exec = sh.Exec(cmd)
18 | Do While exec.Status = 0
19 | do While not Exec.StdOut.AtEndOfStream
20 | tmpLine = lcase(exec.StdOut.ReadLine())
21 | if instr(tmpLine, lcase(strOK) & " test " & strTest) then
22 | 'we have a strOK String which means we have reached the end of a result output (maybe on newline)
23 | strResult = "1"
24 | end if
25 | Loop
26 | Loop
27 | runDiagTest = strResult
28 | End Function
29 |
30 | 'Lang dependend. Default is english
31 | dim strOK : strOK = "passed"
32 | dim strNotOK : strNotOk = "failed"
33 |
34 | 'Main execution section
35 |
36 | 'Set the test name based on the command line parameter
37 | strOption = WScript.Arguments(0)
38 | strTestResult = runDiagTest(strOption)
39 |
40 | wscript.echo strTestResult
41 |
42 |
--------------------------------------------------------------------------------
/templates/Windows-DomainController/zabbix_template_AD_Domain_Controller.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 2.0
4 | 2015-03-11T22:21:01Z
5 |
6 |
7 | Templates
8 |
9 |
10 |
11 |
12 | Template_AD_Domain_Controller
13 | Template_AD_Domain_Controller
14 |
15 |
16 |
17 | Templates
18 |
19 |
20 |
21 |
22 | DCDiag
23 |
24 |
25 | Performances
26 |
27 |
28 | Services
29 |
30 |
31 |
32 | -
33 | DC Authentications kerberos/sec
34 | 7
35 |
36 | 0
37 |
38 | perf_counter[\NTDS\Kerberos Authentications, 300]
39 | 300
40 | 30
41 | 90
42 | 0
43 | 0
44 | localhost
45 | A/sec
46 | 0
47 |
48 |
49 | 0
50 | 0
51 |
52 | 0
53 |
54 | 0
55 |
56 |
57 |
58 | 0
59 | 0
60 |
61 |
62 |
63 |
64 |
65 |
66 | 0
67 |
68 |
69 | Performances
70 |
71 |
72 |
73 |
74 |
75 | -
76 | DC Authentications NTLM/sec
77 | 7
78 |
79 | 0
80 |
81 | perf_counter[\NTDS\NTLM Authentications, 300]
82 | 300
83 | 30
84 | 90
85 | 0
86 | 0
87 | localhost
88 | A/sec
89 | 0
90 |
91 |
92 | 0
93 | 0
94 |
95 | 0
96 |
97 | 0
98 |
99 |
100 |
101 | 0
102 | 0
103 |
104 |
105 |
106 |
107 |
108 |
109 | 0
110 |
111 |
112 | Performances
113 |
114 |
115 |
116 |
117 |
118 | -
119 | DCDiag: Advertising
120 | 7
121 |
122 | 0
123 |
124 | dcdiag[advertising]
125 | 1800
126 | 90
127 | 365
128 | 0
129 | 3
130 |
131 |
132 | 0
133 |
134 |
135 | 0
136 | 0
137 |
138 | 0
139 |
140 | 1
141 |
142 |
143 |
144 | 0
145 | 0
146 |
147 |
148 |
149 |
150 |
151 |
152 | 0
153 |
154 |
155 | DCDiag
156 |
157 |
158 |
159 |
160 |
161 | -
162 | DCDiag: FSMO Check
163 | 7
164 |
165 | 0
166 |
167 | dcdiag[fsmocheck]
168 | 1800
169 | 90
170 | 365
171 | 0
172 | 3
173 |
174 |
175 | 0
176 |
177 |
178 | 0
179 | 0
180 |
181 | 0
182 |
183 | 1
184 |
185 |
186 |
187 | 0
188 | 0
189 |
190 |
191 |
192 |
193 |
194 |
195 | 0
196 |
197 |
198 | DCDiag
199 |
200 |
201 |
202 |
203 |
204 | -
205 | DCDiag: Machine Account
206 | 7
207 |
208 | 0
209 |
210 | dcdiag[machineaccount]
211 | 1800
212 | 90
213 | 365
214 | 0
215 | 3
216 |
217 |
218 | 0
219 |
220 |
221 | 0
222 | 0
223 |
224 | 0
225 |
226 | 1
227 |
228 |
229 |
230 | 0
231 | 0
232 |
233 |
234 |
235 |
236 |
237 |
238 | 0
239 |
240 |
241 | DCDiag
242 |
243 |
244 |
245 |
246 |
247 | -
248 | DCDiag: Replication
249 | 7
250 |
251 | 0
252 |
253 | dcdiag[replications]
254 | 1800
255 | 90
256 | 365
257 | 0
258 | 3
259 |
260 |
261 | 0
262 |
263 |
264 | 0
265 | 0
266 |
267 | 0
268 |
269 | 1
270 |
271 |
272 |
273 | 0
274 | 0
275 |
276 |
277 |
278 |
279 |
280 |
281 | 0
282 |
283 |
284 | DCDiag
285 |
286 |
287 |
288 |
289 |
290 | -
291 | DCDiag: RID Manager
292 | 7
293 |
294 | 0
295 |
296 | dcdiag[ridmanager]
297 | 1800
298 | 90
299 | 365
300 | 0
301 | 3
302 |
303 |
304 | 0
305 |
306 |
307 | 0
308 | 0
309 |
310 | 0
311 |
312 | 1
313 |
314 |
315 |
316 | 0
317 | 0
318 |
319 |
320 |
321 |
322 |
323 |
324 | 0
325 |
326 |
327 | DCDiag
328 |
329 |
330 |
331 |
332 |
333 | -
334 | DCDiag: Services
335 | 7
336 |
337 | 0
338 |
339 | dcdiag[services]
340 | 3600
341 | 90
342 | 365
343 | 0
344 | 3
345 |
346 |
347 | 0
348 |
349 |
350 | 0
351 | 0
352 |
353 | 0
354 |
355 | 1
356 |
357 |
358 |
359 | 0
360 | 0
361 |
362 |
363 |
364 |
365 |
366 |
367 | 0
368 |
369 |
370 | DCDiag
371 |
372 |
373 |
374 |
375 |
376 | -
377 | DFS Replication Log
378 | 7
379 |
380 | 0
381 |
382 | eventlog[DFS Replication,,"Warning|Error|Failure",,,,]
383 | 30
384 | 90
385 | 365
386 | 0
387 | 2
388 |
389 |
390 | 0
391 |
392 |
393 | 0
394 | 0
395 |
396 | 0
397 |
398 | 1
399 |
400 |
401 |
402 | 0
403 | 0
404 |
405 |
406 |
407 |
408 |
409 |
410 | 0
411 |
412 |
413 |
414 |
415 | -
416 | Directory Service Log
417 | 7
418 |
419 | 0
420 |
421 | eventlog[Directory Service,,"Warning|Error|Failure",,,,]
422 | 30
423 | 90
424 | 365
425 | 0
426 | 2
427 |
428 |
429 | 0
430 |
431 |
432 | 0
433 | 0
434 |
435 | 0
436 |
437 | 1
438 |
439 |
440 |
441 | 0
442 | 0
443 |
444 |
445 |
446 |
447 |
448 |
449 | 0
450 |
451 |
452 |
453 |
454 | -
455 | DNS Server Log
456 | 7
457 |
458 | 0
459 |
460 | eventlog[DNS Server,,"Warning|Error|Failure",,,,]
461 | 30
462 | 90
463 | 365
464 | 0
465 | 2
466 |
467 |
468 | 0
469 |
470 |
471 | 0
472 | 0
473 |
474 | 0
475 |
476 | 1
477 |
478 |
479 |
480 | 0
481 | 0
482 |
483 |
484 |
485 |
486 |
487 |
488 | 0
489 |
490 |
491 |
492 |
493 | -
494 | File read bytes per second
495 | 7
496 |
497 | 0
498 |
499 | perf_counter[\System\File Read Bytes/sec]
500 | 30
501 | 90
502 | 365
503 | 0
504 | 0
505 |
506 | Bps
507 | 0
508 |
509 |
510 | 0
511 | 0
512 |
513 | 0
514 |
515 | 1
516 |
517 |
518 |
519 | 0
520 | 0
521 |
522 |
523 |
524 |
525 |
526 |
527 | 0
528 |
529 |
530 | Performances
531 |
532 |
533 |
534 |
535 |
536 | -
537 | File Replication Service Log
538 | 7
539 |
540 | 0
541 |
542 | eventlog[File Replication Service,,"Warning|Error|Failure",,,,]
543 | 30
544 | 90
545 | 365
546 | 0
547 | 2
548 |
549 |
550 | 0
551 |
552 |
553 | 0
554 | 0
555 |
556 | 0
557 |
558 | 1
559 |
560 |
561 |
562 | 0
563 | 0
564 |
565 |
566 |
567 |
568 |
569 |
570 | 0
571 |
572 |
573 |
574 |
575 | -
576 | File write bytes per second
577 | 7
578 |
579 | 0
580 |
581 | perf_counter[\System\File Write Bytes/sec]
582 | 30
583 | 90
584 | 365
585 | 0
586 | 0
587 |
588 | Bps
589 | 0
590 |
591 |
592 | 0
593 | 0
594 |
595 | 0
596 |
597 | 1
598 |
599 |
600 |
601 | 0
602 | 0
603 |
604 |
605 |
606 |
607 |
608 |
609 | 0
610 |
611 |
612 | Performances
613 |
614 |
615 |
616 |
617 |
618 | -
619 | IPv4 Datagrams /s
620 | 7
621 |
622 | 0
623 |
624 | perf_counter[\IPv4\Datagrams/sec]
625 | 30
626 | 90
627 | 365
628 | 0
629 | 0
630 |
631 |
632 | 0
633 |
634 |
635 | 0
636 | 0
637 |
638 | 0
639 |
640 | 1
641 |
642 |
643 |
644 | 0
645 | 0
646 |
647 |
648 |
649 |
650 |
651 |
652 | 0
653 |
654 |
655 | Performances
656 |
657 |
658 |
659 |
660 |
661 | -
662 | Service State: "KDC"
663 | 7
664 |
665 | 0
666 |
667 | service_state[kdc]
668 | 300
669 | 1
670 | 1
671 | 0
672 | 3
673 | localhost
674 |
675 | 0
676 |
677 |
678 | 0
679 | 0
680 |
681 | 0
682 |
683 | 0
684 |
685 |
686 |
687 | 0
688 | 0
689 |
690 |
691 |
692 |
693 |
694 |
695 | 0
696 |
697 |
698 | Services
699 |
700 |
701 |
702 |
703 |
704 | -
705 | Service State: DNS Server
706 | 7
707 |
708 | 0
709 |
710 | service_state[DNS]
711 | 120
712 | 31
713 | 365
714 | 0
715 | 3
716 |
717 |
718 | 0
719 |
720 |
721 | 0
722 | 0
723 |
724 | 0
725 |
726 | 0
727 |
728 |
729 |
730 | 0
731 | 0
732 |
733 |
734 |
735 |
736 |
737 |
738 | 0
739 |
740 |
741 | Services
742 |
743 |
744 |
745 |
746 |
747 | -
748 | Service State: Netlogon
749 | 7
750 |
751 | 0
752 |
753 | service_state[Netlogon]
754 | 120
755 | 31
756 | 365
757 | 0
758 | 3
759 |
760 |
761 | 0
762 |
763 |
764 | 0
765 | 0
766 |
767 | 0
768 |
769 | 0
770 |
771 |
772 |
773 | 0
774 | 0
775 |
776 |
777 |
778 |
779 |
780 |
781 | 0
782 |
783 |
784 | Services
785 |
786 |
787 |
788 |
789 |
790 | -
791 | Service State: Remote Procedure Call (RPC)
792 | 7
793 |
794 | 0
795 |
796 | service_state[RpcSs]
797 | 120
798 | 31
799 | 365
800 | 0
801 | 3
802 |
803 |
804 | 0
805 |
806 |
807 | 0
808 | 0
809 |
810 | 0
811 |
812 | 0
813 |
814 |
815 |
816 | 0
817 | 0
818 |
819 |
820 |
821 |
822 |
823 |
824 | 0
825 |
826 |
827 | Services
828 |
829 |
830 |
831 |
832 |
833 | -
834 | Service State: Windows Time
835 | 7
836 |
837 | 0
838 |
839 | service_state[W32Time]
840 | 120
841 | 31
842 | 365
843 | 0
844 | 3
845 |
846 |
847 | 0
848 |
849 |
850 | 0
851 | 0
852 |
853 | 0
854 |
855 | 0
856 |
857 |
858 |
859 | 0
860 | 0
861 |
862 |
863 |
864 |
865 |
866 |
867 | 0
868 |
869 |
870 | Services
871 |
872 |
873 |
874 |
875 |
876 |
877 |
878 |
879 |
880 |
881 |
882 |
883 |
884 |
885 | {Template_AD_Domain_Controller:dcdiag[advertising].str(OK)}<>1
886 | DCDiag: Advertising Check Failed
887 |
888 | 0
889 | 2
890 |
891 | 0
892 |
893 |
894 |
895 | {Template_AD_Domain_Controller:dcdiag[fsmocheck].str(OK)}<>1
896 | DCDiag: FSMO Check Failed
897 |
898 | 0
899 | 2
900 |
901 | 0
902 |
903 |
904 |
905 | {Template_AD_Domain_Controller:dcdiag[machineaccount].str(OK)}<>1
906 | DCDiag: Machine Account Check Failed
907 |
908 | 0
909 | 2
910 |
911 | 0
912 |
913 |
914 |
915 | {Template_AD_Domain_Controller:dcdiag[replications].str(OK)}<>1
916 | DCDiag: Replication Check Failed
917 |
918 | 0
919 | 2
920 |
921 | 0
922 |
923 |
924 |
925 | {Template_AD_Domain_Controller:dcdiag[ridmanager].str(OK)}<>1
926 | DCDiag: RID Manager Check Failed
927 |
928 | 0
929 | 2
930 |
931 | 0
932 |
933 |
934 |
935 | {Template_AD_Domain_Controller:dcdiag[services].str(OK)}<>1
936 | DCDiag: Services Check Failed
937 |
938 | 0
939 | 2
940 |
941 | 0
942 |
943 |
944 |
945 | {Template_AD_Domain_Controller:eventlog[DFS Replication,,"Warning|Error|Failure",,,,].logseverity()}>1 and {Template_AD_Domain_Controller:eventlog[DFS Replication,,"Warning|Error|Failure",,,,].nodata(60)}<>1
946 | DFS Replication Log Error
947 |
948 | 0
949 | 1
950 |
951 | 0
952 |
953 |
954 |
955 | {Template_AD_Domain_Controller:eventlog[Directory Service,,"Warning|Error|Failure",,,,].logseverity()}>1 and {Template_AD_Domain_Controller:eventlog[Directory Service,,"Warning|Error|Failure",,,,].nodata(60)}<>1
956 | Directory Service Log Error
957 |
958 | 0
959 | 1
960 |
961 | 0
962 |
963 |
964 |
965 | {Template_AD_Domain_Controller:eventlog[DNS Server,,"Warning|Error|Failure",,,,].logseverity()}>1 and {Template_AD_Domain_Controller:eventlog[DNS Server,,"Warning|Error|Failure",,,,].nodata(60)}<>1
966 | DNS Server Log Error
967 |
968 | 0
969 | 1
970 |
971 | 0
972 |
973 |
974 |
975 | {Template_AD_Domain_Controller:eventlog[File Replication Service,,"Warning|Error|Failure",,,,].logseverity()}>1 and {Template_AD_Domain_Controller:eventlog[File Replication Service,,"Warning|Error|Failure",,,,].nodata(60)}<>1
976 | File Replication Service Log Error
977 |
978 | 0
979 | 1
980 |
981 | 0
982 |
983 |
984 |
985 | {Template_AD_Domain_Controller:service_state[DNS].avg(300)}>0
986 | Service "DNS Server" Down
987 |
988 | 0
989 | 3
990 |
991 | 0
992 |
993 |
994 |
995 | {Template_AD_Domain_Controller:service_state[kdc].last(0)}<>0
996 | Service "KDC" down
997 |
998 | 0
999 | 3
1000 | Service "KDC" on host has been down (stopped or paused) for up to 5 minutes.
1001 | 0
1002 |
1003 |
1004 |
1005 | {Template_AD_Domain_Controller:service_state[Netlogon].avg(300)}>0
1006 | Service "Netlogon" Down
1007 |
1008 | 0
1009 | 3
1010 |
1011 | 0
1012 |
1013 |
1014 |
1015 | {Template_AD_Domain_Controller:service_state[RpcSs].avg(300)}>0
1016 | Service "Remote Procedure Call (RPC)" Down
1017 |
1018 | 0
1019 | 3
1020 |
1021 | 0
1022 |
1023 |
1024 |
1025 |
1026 |
1027 | DC Authentications/sec
1028 | 500
1029 | 250
1030 | 0.0000
1031 | 100.0000
1032 | 0
1033 | 1
1034 | 0
1035 | 1
1036 | 0
1037 | 0.0000
1038 | 0.0000
1039 | 0
1040 | 0
1041 | 0
1042 | 0
1043 |
1044 |
1045 | 0
1046 | 0
1047 | 00BB00
1048 | 0
1049 | 2
1050 | 0
1051 | -
1052 | Template_AD_Domain_Controller
1053 | perf_counter[\NTDS\Kerberos Authentications, 300]
1054 |
1055 |
1056 |
1057 | 1
1058 | 0
1059 | 6666FF
1060 | 0
1061 | 2
1062 | 0
1063 | -
1064 | Template_AD_Domain_Controller
1065 | perf_counter[\NTDS\NTLM Authentications, 300]
1066 |
1067 |
1068 |
1069 |
1070 |
1071 |
1072 |
--------------------------------------------------------------------------------
/templates/Windows-Eventlogs/zbx_eventlog_template.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 2.0
4 | 2014-12-24T17:45:44Z
5 |
6 |
7 | Templates
8 |
9 |
10 |
11 |
12 | Template Windows Event Logs
13 | Template Windows Event Logs
14 |
15 |
16 |
17 | Templates
18 |
19 |
20 |
21 |
22 | Event Logs
23 |
24 |
25 |
26 | -
27 | Windows Application Log
28 | 7
29 |
30 | 0
31 |
32 | eventlog[Application,,"Warning|Error|Failure",,,,]
33 | 30
34 | 90
35 | 365
36 | 0
37 | 2
38 |
39 |
40 | 0
41 |
42 |
43 | 0
44 | 0
45 |
46 | 0
47 |
48 | 1
49 |
50 |
51 |
52 | 0
53 | 0
54 |
55 |
56 |
57 |
58 |
59 |
60 | 0
61 |
62 |
63 | Event Logs
64 |
65 |
66 |
67 |
68 |
69 | -
70 | Windows System Log
71 | 7
72 |
73 | 0
74 |
75 | eventlog[System,,"Warning|Error|Failure",,,,]
76 | 30
77 | 90
78 | 365
79 | 0
80 | 2
81 |
82 |
83 | 0
84 |
85 |
86 | 0
87 | 0
88 |
89 | 0
90 |
91 | 1
92 |
93 |
94 |
95 | 0
96 | 0
97 |
98 |
99 |
100 |
101 |
102 |
103 | 0
104 |
105 |
106 | Event Logs
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 | {Template Windows Event Logs:eventlog[Application,,"Warning|Error|Failure",,,,].logseverity()}>1 and {Template Windows Event Logs:eventlog[Application,,"Warning|Error|Failure",,,,].nodata(60)}<>1
122 | Windows Application Log Error
123 |
124 | 0
125 | 2
126 |
127 | 0
128 |
129 |
130 |
131 | {Template Windows Event Logs:eventlog[System,,"Warning|Error|Failure",,,,].logseverity()}>1 and {Template Windows Event Logs:eventlog[System,,"Warning|Error|Failure",,,,].nodata(60)}<>1
132 | Windows System Log Error
133 |
134 | 0
135 | 2
136 |
137 | 0
138 |
139 |
140 |
141 |
142 |
--------------------------------------------------------------------------------
/templates/Windows-Updates/README.md:
--------------------------------------------------------------------------------
1 | Windows-Updates
2 | ======
3 | This template checks to see how many Important and Optional updates need to be installed. Can be used
4 | in an environment using WSUS or retrieving updates directly from Microsoft
5 |
6 | Usage
7 |
8 | 1. Place winupdates.vbs on the Windows machine you wish to monitor
9 | 2. Configure the serverName variable with the IP of your Zabbix server
10 | 3. Configure the zbxSender variable with the path to zabbix_sender.exe
11 | 4. Configure the script to run as a scheduled task
12 |
--------------------------------------------------------------------------------
/templates/Windows-Updates/winupdates.vbs:
--------------------------------------------------------------------------------
1 | '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
2 | 'Winupdates.vbs
3 | 'Version 1.1
4 | 'Written By: Dave Gilmore
5 | 'Created On: 02/27/2015
6 | '
7 | '
8 | 'Purpose: Given a class of update (high or important) returns a count of the updates waiting
9 | ' to be installed. Will also return reboot status
10 | '
11 | ' CHANGELOG
12 | ' v1.1
13 | ' - Cleaned up the code a bit
14 | ' - hostName is now dynamically generated and does not have to be hard coded into the script
15 |
16 | Function ReturnUpdateCount(updateType)
17 | Set updateSession = CreateObject("Microsoft.Update.Session")
18 | Set updateSearcher = updateSession.CreateupdateSearcher()
19 |
20 | Select Case updateType
21 | Case "high"
22 | Set searchResult = updateSearcher.Search("IsAssigned=1 and IsHidden=0 and IsInstalled=0 and Type='Software'")
23 | Case "optional"
24 | Set searchResult = updateSearcher.Search("IsAssigned=0 and IsInstalled=0 and Type='Software'")
25 | End Select
26 | ReturnUpdateCount = searchResult.Updates.Count
27 |
28 | End Function
29 |
30 | Function RebootCheck
31 | Set objSysInfo = CreateObject("Microsoft.Update.SystemInfo")
32 | RebootCheck = objSysinfo.RebootRequired
33 | End Function
34 |
35 | Set wshNetwork = WScript.CreateObject( "WScript.Network" )
36 | hostName = wshNetwork.ComputerName
37 | serverName = "1.2.3.4"
38 | zbxSender = "C:\bin\zabbix\bin\win32\zabbix_sender.exe"
39 | Set WSHShell = CreateObject("WScript.Shell")
40 |
41 | updatesHigh = ReturnUpdateCount("high")
42 | updatesOptional = ReturnUpdateCount("optional")
43 | strRebootRequired = RebootCheck
44 |
45 | WSHShell.Exec zbxSender & " -z " & serverName & " -s " & hostName & " -k win_updates[high] -o " & updatesHigh
46 |
47 | WSHShell.Exec zbxSender & " -z " & serverName & " -s " & hostName & " -k win_updates[optional] -o " & updatesOptional
48 |
49 | WSHShell.Exec zbxSender & " -z " & serverName & " -s " & hostName & " -k win_updates[reboot] -o " & strRebootRequired
50 |
51 | WScript.Quit 0
52 |
--------------------------------------------------------------------------------
/templates/Windows-Updates/zabbix_template_windows_updates.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 2.0
4 | 2015-03-11T22:20:42Z
5 |
6 |
7 | Templates
8 |
9 |
10 |
11 |
12 | Template Windows Updates
13 | Template Windows Updates
14 |
15 |
16 |
17 | Templates
18 |
19 |
20 |
21 |
22 | Windows Updates
23 |
24 |
25 |
26 | -
27 | Windows Updates (Critical)
28 | 2
29 |
30 | 0
31 |
32 | win_updates[high]
33 | 0
34 | 90
35 | 365
36 | 0
37 | 3
38 |
39 |
40 | 0
41 |
42 |
43 | 0
44 | 0
45 |
46 | 0
47 |
48 | 1
49 |
50 |
51 |
52 | 0
53 | 0
54 |
55 |
56 |
57 |
58 |
59 |
60 | 0
61 |
62 |
63 | Windows Updates
64 |
65 |
66 |
67 |
68 |
69 | -
70 | Windows Updates (Optional)
71 | 2
72 |
73 | 0
74 |
75 | win_updates[optional]
76 | 0
77 | 90
78 | 365
79 | 0
80 | 3
81 |
82 |
83 | 0
84 |
85 |
86 | 0
87 | 0
88 |
89 | 0
90 |
91 | 1
92 |
93 |
94 |
95 | 0
96 | 0
97 |
98 |
99 |
100 |
101 |
102 |
103 | 0
104 |
105 |
106 | Windows Updates
107 |
108 |
109 |
110 |
111 |
112 | -
113 | Windows Updates (Reboot Required)
114 | 2
115 |
116 | 0
117 |
118 | win_updates[reboot]
119 | 0
120 | 90
121 | 365
122 | 0
123 | 3
124 |
125 |
126 | 0
127 |
128 |
129 | 0
130 | 0
131 |
132 | 0
133 |
134 | 1
135 |
136 |
137 |
138 | 3
139 | 0
140 |
141 |
142 |
143 |
144 |
145 |
146 | 0
147 |
148 |
149 | Windows Updates
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 | {Template Windows Updates:win_updates[reboot].last()}=1
165 | Reboot Required
166 |
167 | 0
168 | 2
169 |
170 | 0
171 |
172 |
173 |
174 | {Template Windows Updates:win_updates[high].last()}>0
175 | Updates Need Installing (High)
176 |
177 | 0
178 | 2
179 |
180 | 0
181 |
182 |
183 |
184 | {Template Windows Updates:win_updates[optional].last()}>0
185 | Updates Need Installing (Optional)
186 |
187 | 0
188 | 2
189 |
190 | 0
191 |
192 |
193 |
194 |
195 |
--------------------------------------------------------------------------------
/templates/Windows-WSUS/zabbix_template_WSUS.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 2.0
4 | 2015-03-11T21:59:45Z
5 |
6 |
7 | Templates
8 |
9 |
10 |
11 |
12 | Template App WSUS
13 | Template App WSUS
14 |
15 |
16 |
17 | Templates
18 |
19 |
20 |
21 |
22 | WSUS
23 |
24 |
25 |
26 | -
27 | Internal Database Service
28 | 0
29 |
30 | 0
31 |
32 | service_state[MSSQL$MICROSOFT##SSEE]
33 | 30
34 | 90
35 | 365
36 | 0
37 | 3
38 |
39 |
40 | 0
41 |
42 |
43 | 0
44 | 0
45 |
46 | 0
47 |
48 | 1
49 |
50 |
51 |
52 | 0
53 | 0
54 |
55 |
56 |
57 |
58 |
59 |
60 | 0
61 |
62 |
63 | WSUS
64 |
65 |
66 |
67 |
68 |
69 | -
70 | Update Service
71 | 0
72 |
73 | 0
74 |
75 | service_state[WsusService]
76 | 30
77 | 90
78 | 365
79 | 0
80 | 3
81 |
82 |
83 | 0
84 |
85 |
86 | 0
87 | 0
88 |
89 | 0
90 |
91 | 1
92 |
93 |
94 |
95 | 0
96 | 0
97 |
98 |
99 |
100 |
101 |
102 |
103 | 0
104 |
105 |
106 | WSUS
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 | {Template App WSUS:service_state[MSSQL$MICROSOFT##SSEE].last()}<>0
122 | Internal Database Service Not Running
123 |
124 | 0
125 | 2
126 |
127 | 0
128 |
129 |
130 |
131 | {Template App WSUS:service_state[WsusService].last()}<>0
132 | Update Service Not Running
133 |
134 | 0
135 | 2
136 |
137 | 0
138 |
139 |
140 |
141 |
142 |
--------------------------------------------------------------------------------