lozzd / nagdash Goto Github PK
View Code? Open in Web Editor NEWA full screen, clean interface for Nagios designed for A dashboard/NOC/monitoring screen.
License: MIT License
A full screen, clean interface for Nagios designed for A dashboard/NOC/monitoring screen.
License: MIT License
the GUI loads endlessly, is it possible that the state-file is too big?
# wget http://localhost:8081/state -O /tmp/state
# ls -lah /tmp/state
-rw-r--r-- 1 root root 246K Jan 4 14:40 /tmp/state
# ls -la /tmp/state
-rw-r--r-- 1 root root 251365 Jan 4 14:40 /tmp/state
edit: The site appears as soon as i close down the nagios-api-server...
It would also be nice to have some sort of debug-switch that it is possible to see the (parsing-) state in the web-frontend...
Am getting an below error while am accessing nagdash URL.
[Wed Feb 28 07:36:25 2018] [error] [client 10.91.1.102] PHP Parse error: syntax error, unexpected '[' in /opt/dash/www/nagdash/htdocs/index.php on line 41
For testing purpose i added the same nagios.
$nagios_hosts = array(
array("hostname" => "savvisnagios", "port" => "8080", "protocol" => "http", "tag" => "DC1", "tagcolour" => "#336699"),
array("hostname" => "savvisnagios", "port" => "8080", "protocol" => "http", "tag" => "DC2", "tagcolour" => "#336699"),
array("hostname" => "savvisnagios", "port" => "8080", "protocol" => "http", "tag" => "DC3", "tagcolour" => "#336699"),
);
hi all
is there any future plan to implement host or service group awareness on the front end.
Thank you
Hi,
i've downloaded Nagdash en Nagios-api from github and installed them on my CentOS 6.6 box.
Nagios-API is working fine, i'm getting the expected output. But when i open the Nagdash site i only get a blank screen.
The HTTPd error log states the following:
PHP Parse error: syntax error, unexpected '[' in /usr/share/nagios/html/dashboard2/htdocs/index.php on line 33
line 33 in index.php is <?php NagdashHelpers::render("settings_dialog.php", ["nagios_hosts" => $nagios_hosts,
PHP version is 5.3.3.
Any idea on why this doesn't work?
Hi im getting the following error:
It seems like im getting the state data but it cant parse it.
Any Ideas why its happening?
Receiving the following errors with php 5.5.14-1, curl, enable_short_tags and nagios-api 1.2.2:
Undefined index: state in .../nagdash/phplib/utils.php on line 266
Undefined index: objects in .../nagdash/htdocs/nagdash.php on line 176
Service status is rendering correctly, but doesn't refresh.
I have $api_type = "nagios-api";
defined in config.php.
Thanks.
Hello dears,
we all know that IE is a shit, but there is a way to solve compatibility problems, like "no blink tag" or table borders.
You need to add the attached line into index.php between the HEAD tag
It may not be obvious to new Nagdash users that one can hit 's' to bring up the settings model. Add a small link in a conspicuous location on the dash that users can click to bring up a short list of handy keyboard shortcuts and what they do.
Hi,
My particular Nagios installation tends to have services that typically go critical, but SOFT-critical. I would prefer these services not show up in the dashboard, or show up in a way that indicates that they're not yet paging.
(In my case, they resolve 99% of the time and rarely actually go HARD-critical, so seeing them invokes a bit of panic/noise we don't really want.)
(PS, nagdash looks great -- I've deployed it here at Bump!)
i can't get it to load with nginx/php-frm... does it need apache?
I'm not working.
Notice: Undefined index: url in C:\xampp\htdocs\nagdash\phplib\utils.php on line 177
I'm have curl and short_open_tags enabled.
I'm have running a nagios-api up to date (30-03-2015).
Can help me please?
Thank you.
When a host is down the entries for the hosts in the Host Status list shows "2/ " for Attempts, the maximum number of attempts is not displaying
I installed Nagdash but when access web page I get blank page, nagios-api work fine. What can be a cause for this?
Hi, great tool!
just to let you know that this a big issue to some of us ;)
"Your hosts MUST have unique names between instances"
Hi there,
If my brain isn't fooling me, nagdash showed the "Status Information" returned by the plugin in the overview in a prvious version
if [ "$rdp_run" -eq "0" ]; then
echo "OK: NO Session running"
exit $STATE_OK
fi
if [ "$rdp_run" -gt "0" ]; then
echo "WARNING: RDP Session running"
exit $STATE_WARNING
fi
So I could see "WARNING: RDP Session running" in the Servicetab (in yellow) but at the momentI only see the Service name, which I defined in the host-config-file.
It's logical to the see the Servicename in the Service column ;), but I realy like to see the "Status Information" Data somehow
Hope you can give me a hint
-dbv-
When a user opts to filter hosts/services by last state change, the totals and language on the dash should be updated to reflect the filter results.
For example, if only 4 hosts and 10 services changed state in the last 15 minutes, the totals should be updated with those counts, by state, and the language around the header blocks should clarify that the results are from the last n time period (i.e. 4 hosts have changed state in the last 15 minutes; There have been 0 failed services in the last 1 hour, etc.).
This is tidy up work related to #47
Ahoy,
In Firefox 27 and Google Chrome 33.0.1750.115 on Fedora 19 I found the following code prevents the page from rendering
Uncaught SyntaxError: Unexpected token < index.php/:17
After commenting out the block
<? if ($show_refresh_spinner) { ?>
$("#spinner").fadeIn("fast");
<? } ?>
the page loads OK and is functional.
Cheers,
Sam
I did configured it very easily but our nagios enterprise is not allowing to install pyton dependencies tools. Is it possible to use backend api in Nagdash, If so, how?
I'm trying to add the Nagdash to a Nagios XI installation. Nagdash has several features that the standard Nagios XI Operations Center display lacks. I've got the Nagios-api working and can pull state data with the command " curl http://localhost:6315/state ". I've confirm the php5-curl is install from the prior indicated similar problem. When I access the index.php, all I get is the word " Refreshing..." with the spinner. The page source display indicates the code from the index.php? Any thoughts or suggestions are appreciated or if you can confirm it should work on an Nagios xi installation.
Thanks,
Marcus
Do you guys have any idea why the pop-up to re-enable notifications for disabled services, or remove acknowledgement is missing ?
I just installed the nagdash and it is working perfectly fine. Nice work with it. I can acknowledge things and disable checks, but can't remove the acknowledgement, or re-enable check (have to do that from nagios) ... the pop-up is simply missing (haven't modified anything, yet).
Hello dears,
I'm running nagios 4.1.1.
Nagdash can't find the index max_check_attempts in the hash $host_detail, the error is shown in the apache error log.
The correct name is now max_attempts.
Attached a patch
Hello
Ngdash should not display problem (UNREACHABLE/DOWN) with relative hosts if parent is marked as Downtime/Silent
Best Regards
I am using Naemon and Nagios with Livestatus. Not sure there is nagios-api for Nagios v4 or Naemon (basicly Nagios v4)
Would like to have support for using Livestatus TCP socket as backend.
We are missing the debug information there, we should either add it or guard against it when we show the info on the page (see #28)
Hi there,
I only have one nagios_host defined in my config.php which seems to trigger some special logic when to show the tag. This leads to nag_host being empty in the build_controls
call and all the actions fail because do_action.php get's an empty $nagios_instance.
In config.php is not possibile to set username/password for access to nagios
Hi
The jquery call to load nagdash.php from index.php fails when nagdash is served via https.
Downloading jquery and putting it in the same directory as nagdash solved the problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.