Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1


Remember Me

Directory Tree

W3C Validation Check

0 votes
Current Version
Last Release Date
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Plugin to check any Website if it's free of errors according to the W3C Validation Markup. Plugin working for website markup (html-output) as well as CSS
Nagios Plugin to check the W3C conformity of a website. The Plugin returns a Warning, when at least 1 error occurred in the validation

Example usage in Nagios:
Command: $USER1$/ --markup --domain $ARG1$ --doctype $ARG2$ --encoding $ARG3$


Partially written by me! Markus Walther

This Plugin is based on the work of who wrote the bash script "bashw3c". Original source for the W3C Plugin:

"bashw3c" was licensed under the Apache License, Version 2

1. Types
--style CSS Validator
--markup HTML/XHTML Validator

2. Switches
--domain [DOMAIN] Domain name to run validator on
--doctype [DOCTYPE] Force checking markup type against specific doctype
--encoding [ENCODING] Force checking markup type against specific encoding
--profile [PROFILE] Force checking css type against specific profile
--media [MEDIUM] Force checking css type against specific medium type

Doctypes: HTML5, XHTML 1.0 (Strict, Transitional, Frameset), HTML 4.01 (Strict, Transitional, Frameset), HTML 3.2, HTML 2.0, XHTML 1.1, SVG 1.0, SVG 1.1, SVG 1.1 Tiny, SVG 1.1 Basic, MathML 2.0, SMIL (1.0, 2.0)

Encodings: utf-8, utf-16, iso-9959-(1, 2, 3, 4, 5, 6-i, 7, 8, 8-i, 9, 10, 11, 13, 14, 15, 16), us-ascii, euc-jp, shift_jis, iso-2022-jp, euc-kr, ksc_5601, gb2312, gb18030, big5, big5-HKSCS, tis-620, koi8-r, koi8-u, iso-ir-111, macintosh, windows-12(50, 51, 52, 53, 54, 55, 56, 57)

Profiles: css1, css2, css21, css3, svg, svgbasic, mobile, atsc-tv, tv

Mediums: all, braille, embossed, handheld, print, projection, screen, tty, tv, presentation

Run ./check_w3c [TYPE] for a list of switches relevant to that type