Comments (5)
Hello I can reproduce the problem.
When a HostGroup is empty the parsing fails!!!
from nagiosvshell.
I'm having some trouble reproducing the problem on my end. Can you post your Nagios configuration for the host that is causing the error? Make sure to censor any important information first!
Thanks Esteban, really appreciate all of your feedback!
from nagiosvshell.
OK... I will to try to explain.
We have several HostGroups:
infraestructura
integracion
linux-servers
All of these hostgroups contains almost one host. If I created a empty hostgroup (without members)... for example:
empty-hostgroup
And restart the nagios service... the problems appears, the hostgrups.cfg content:
define hostgroup {
hostgroup_name empty-hostgroup
alias Empty
register 1
}
define hostgroup {
hostgroup_name infraestructura
alias Infraestructura
members infrahappyserver1,infrahappyserver2,infrahappyserver3,infrahappyserver4,infrahappyserver4,infrahappyserver5
register 1
}
define hostgroup {
hostgroup_name integracion
alias Integracion
members happyintegratedserver1,happyintegratedserver2,happyintegratedserver3,happyintegratedserver4,happyintegratedserver4
register 1
}
define hostgroup {
hostgroup_name linux-servers
alias Linux Servers
members NagiosCoreHappyServer
register 1
}
If I delete the empty-hostgroup. Problem resolved, the content of hostgroups.cfg file:
define hostgroup {
hostgroup_name infraestructura
alias Infraestructura
members infrahappyserver1,infrahappyserver2,infrahappyserver3,infrahappyserver4,infrahappyserver4,infrahappyserver5
register 1
}
define hostgroup {
hostgroup_name integracion
alias Integracion
members happyintegratedserver1,happyintegratedserver2,happyintegratedserver3,happyintegratedserver4,happyintegratedserver4
register 1
}
define hostgroup {
hostgroup_name linux-servers
alias Linux Servers
members NagiosCoreHappyServer
register 1
}
from nagiosvshell.
Thanks for the additional information, it was a big help identifying the issue.
Release v2.0.0-414 (eca71f3) should fix empty hostgroups and servicegroups. Let me know how it works on your end!
from nagiosvshell.
Looks like this was fixed! Closing the issue. Re-open if you think otherwise.
from nagiosvshell.
Related Issues (16)
- The requested URL /vshell2/index.php/ was not found on this server. HOT 4
- V-Shell and PNP4Nagios Discussion HOT 2
- IP in Host Details HOT 11
- Service Status Details For All Hosts doesn't count filtered match HOT 2
- Create Let the webinterface show 'alias' instead of 'host_name'. HOT 7
- Nginx support HOT 5
- Notes field in Servicegroup data HOT 2
- Changing the timezone in VShell HOT 4
- no index.php file in vshell2 folder HOT 1
- Cannot use object of type Hostescalation as array
- Is Nagios VShell 1.x abandoned? HOT 1
- Installer defaults
- logout button
- Internal Server Error HOT 4
- Announcing totally rewritten and reworked VShell for modern browsers
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 nagiosvshell.