Comments (5)
The same holds true for MS Teams notifications.
from check-vmware.
I just double-checked and I see that the brackets are present in the web UI, so this might be a Nagios-specific setting. Maybe Nagios is attempting to sanitize text in outgoing notifications?
from check-vmware.
I'm not sure if this is due to a Nagios-specific setting or if
tabwriter
orfmt.Fprintf
are encoding the angle brackets somehow.
Looks like it is a Nagios setting:
check-vmware/contrib/nagios/etc/nagios3/nagios.cfg
Lines 1209 to 1224 in 2c325dd
from check-vmware.
- https://serverfault.com/questions/242357/need-to-have-illegal-characters-in-nagios-serviceoutput-and-longserviceoutput
- https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/configmain.html
from check-vmware.
It's worth dropping the pre tags entirely and instead experimenting with tabs, or another formatting option. If needed just a straight list of VMs with values in parenthesis or brackets would do.
Something like:
* Ubuntu-MATE-18.04-disk-test-RES-DC1-S6200-vol12 [Size: 29.1GB, Datastore Usage: 0.06%]
It's simple, gets the point across. It will be a little jarring to see the saw-toothed appearance on the right side due to varied length of VM names, but it's most likely to be accepted as-is without munging by systems in-between the plugin and the final recipient.
from check-vmware.
Related Issues (20)
- Build dev/stable releases using go-ci Docker image
- RPM installation output is "saw-toothed" and "noisy"
- Add support for excluding/ignoring VMs by `Folder` Managed Object ID (MOID) HOT 3
- Add support for excluding/ignoring VMs by Custom Attribute
- Add support for ignoring list of hostnames to the `check_vmware_hs2ds2vms` plugin
- Create plugin to list Virtual Machines in order to test include/exclude options HOT 1
- Evaluate consistency of terminology regarding VM collections HOT 4
- Replace hard-coded flag names with constants HOT 2
- `vsphere.FilterVMsByX` functions have inconsistent return values HOT 1
- Update help text for include/exclude RP flags to emphasize filtering by name HOT 1
- Add support for unescaping URL encoded VirtualMachine names HOT 1
- Create plugin to monitor age of VM templates
- Add support for including/excluding resource pools by Managed Object ID (MOID)
- Add support for including/excluding resource pools by cluster HOT 1
- Add support for including/excluding virtual machines by name
- `gosec` `G601: Implicit memory aliasing in for loop` linting errors
- Refactor objects tally logic used to provide plugin "trailer" summary details HOT 1
- Update datastore plugins to indicate which VMs within datastore are templates
- Add virtual machine templates count to common report "trailer", metrics? HOT 1
- Update `vsphere.VMwareAdminAssistanceNeeded` annotation to point sysadmins to plugin doc HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from check-vmware.