Code Monkey home page Code Monkey logo

nagdash's People

Contributors

caius avatar cornet avatar daemondazz avatar finkregh avatar gvarisco avatar lozzd avatar lporcheron avatar martinthink avatar mrtazz avatar murphy-slaw avatar obfuscurity avatar russss avatar ryanfrantz avatar u-quark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nagdash's Issues

loads endless / no debug switch

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...

Getting an error with php while accessing nagdash

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"),
);

no service alerts

Having issue
the dash board shows the correct host an service count but not the issues
image

Please suggest

Blank screen when installed on CentOS 6.6 (x64)

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?

JSON parse error

Hi im getting the following error:

It seems like im getting the state data but it cant parse it.
Any Ideas why its happening?

Undefined index:state, object, not refreshing

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.

IE11 compatibility issue

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

meta.txt

Add helpful help link at top of dash

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.

Differentiate between SOFT/HARD states

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!)

Error show data

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.

Blank Page

I installed Nagdash but when access web page I get blank page, nagios-api work fine. What can be a cause for this?

unique names across instances

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"

How to show Status information in Nagdash?

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-

Update counts/language when filtering by last state change

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

histogram

I am sorry to ask this question here
is there way to display nagios alerts as group based histograms
as in the diagram please guide me

netcool-charts

Javascript error prevents page load

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

Using back end API

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?

Blank Page with word Refreshing... indicated?

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

Missing pop-up to disable acknowledgement.

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).

Undefined index: max_check_attempts

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

patch.txt

Livestatus support

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.

Can't ack alerts with only one nagios_host defined

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.

Username / password

In config.php is not possibile to set username/password for access to nagios

jquery load fails when served via https

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.