Stats for 2013

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Stats for 2013

Post by WillemDH »

Hello,

I need to find out what's the total amount of warnings and errors generated in 2013, but I can't find this in the report tab. How could i best obtain this data? If possible, I would want this data seperately for active check services and passive check services (but I would already be happy with the total), as we had some passive services receiving 20000+ events, I would like to see them excluded..

Thanks for any guidance in how to do this..

I already tried to use the state history report, configure it for "this year" and tried to export is to csv, but after waiting some time, I just get a blank page and no download in Firefox and in IE10, I get a http error 500. there are more then 100000 records and 4000 pages, so I guess there is a litle too much informaton...

Willem
Nagios XI 5.8.1
https://outsideit.net
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Stats for 2013

Post by WillemDH »

In the meantime I was able to export to csv the state history per three months. Imported this in Excel and excluded the passive services. So I guess this call can be close. For those who would be interested:

Servers in SCOM Januari 2013 => 185
Servers in Nagios Januari 2013 => 0
Servers in SCOM December 2013 => 113
Servers in Nagios December 2013 => 153
SCOM Infra (ITIL tool) Incidents => 530
Nagios Infra (ITIL tool) Incidents => 330
Warnings SCOM:29112 Nagios:5616
Critcals SCOM:59802 Nagios:30724
Windows Events to Nagios => 93859 (mostly cause by problems with our backup, which generated 40000+ events in one week)

Grtz
Nagios XI 5.8.1
https://outsideit.net
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Stats for 2013

Post by abrist »

Just a note: The generation of the yearly csv may have timed out. You may need to increase some limits in php.ini. What is the output of:

Code: Select all

grep "memory_limit\|max_execution\|max_input" /etc/php.ini 
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Stats for 2013

Post by WillemDH »

Result:

; max_input_time
max_execution_time = 30
max_input_time = 60
;max_input_nesting_level = 64
memory_limit = 128M

Which parameter should I expand?

Grtz
Nagios XI 5.8.1
https://outsideit.net
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Stats for 2013

Post by scottwilkerson »

To process this much info, you will likely need to bump up the max execution time and restart httpd

change

Code: Select all

max_execution_time = 30
to

Code: Select all

max_execution_time = 90
Then

Code: Select all

service httpd restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Stats for 2013

Post by WillemDH »

This thread can be closed. Setting max execution time higher helped.
Nagios XI 5.8.1
https://outsideit.net
Locked