mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Improve Pan language support (#3691)
* Add a larger set of sample files for Pan This is a fairly good cross section of Pan based on code from: * https://github.com/quattor/template-library-examples * https://github.com/quattor/template-library-core * Add Pan language grammar
This commit is contained in:
committed by
Paul Chaignon
parent
e9ec699931
commit
8d178bfaed
11
samples/Pan/cluster-A.pan
Normal file
11
samples/Pan/cluster-A.pan
Normal file
@@ -0,0 +1,11 @@
|
||||
structure template site/nagios/hosts/cluster-A;
|
||||
|
||||
# let Nagios server A monitor B
|
||||
# just an example to make the templates compile
|
||||
"nagios-slave-B.example.org" = create (NAGIOS_QUATTOR_HOST);
|
||||
"nagios-slave-B.example.org/alias" = "slave B";
|
||||
"nagios-slave-B.example.org/hostgroups" = list( "quattor-nodes" );
|
||||
|
||||
|
||||
# "another-host-in-A.example.org" = create (NAGIOS_QUATTOR_HOST);
|
||||
# "another-host-in-A.example.org/alias" = "another monitored host in cluster A";
|
||||
Reference in New Issue
Block a user