Setting up Cacti

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Setting up Cacti

Post by raamardhani7 »

Hi Team,

I am trying to setup cacti, just browsed and got the below PDF for the same.

https://assets.nagios.com/downloads/nag ... ide_XI.pdf

Code: Select all

[root@lussvpnagiosxi00 cacti-0.8.8b]# pwd
/usr/share/doc/cacti-0.8.8b
You have new mail in /var/spool/mail/root
[root@lussvpnagiosxi00 cacti-0.8.8b]# mysql -u cacti -p'cactipassword' cacti /usr/share/doc/cacti-0.8.8b/cacti.sql
mysql  Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using readline 5.1
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Usage: mysql [OPTIONS] [database]
  -?, --help          Display this help and exit.
  -I, --help          Synonym for -?
  --auto-rehash       Enable automatic rehashing. One doesn't need to use
                      'rehash' to get table and field completion, but startup
                      and reconnecting may take a longer time. Disable with
                      --disable-auto-rehash.
  -A, --no-auto-rehash
                      No automatic rehashing. One has to use 'rehash' to get
                      table and field completion. This gives a quicker start of
                      mysql and disables rehashing on reconnect.
  -B, --batch         Don't use history file. Disable interactive behavior.
                      (Enables --silent.)
  --character-sets-dir=name
                      Directory for character set files.
  --column-type-info  Display column type information.
  -c, --comments      Preserve comments. Send comments to the server. The
                      default is --skip-comments (discard comments), enable
                      with --comments.
  -C, --compress      Use compression in server/client protocol.
  -#, --debug[=#]     This is a non-debug version. Catch this and exit.
  --debug-check       Check memory and open file usage at exit.
  -T, --debug-info    Print some debug info at exit.
  -D, --database=name Database to use.
  --default-character-set=name
                      Set the default character set.
  --delimiter=name    Delimiter to be used.
  -e, --execute=name  Execute command and quit. (Disables --force and history
                      file.)
  -E, --vertical      Print the output of a query (rows) vertically.
  -f, --force         Continue even if we get an SQL error.
  -G, --named-commands
                      Enable named commands. Named commands mean this program's
                      internal commands; see mysql> help . When enabled, the
                      named commands can be used from any line of the query,
                      otherwise only from the first line, before an enter.
                      Disable with --disable-named-commands. This option is
                      disabled by default.
  -g, --no-named-commands
                      Named commands are disabled. Use \* form only, or use
                      named commands only in the beginning of a line ending
                      with a semicolon (;). Since version 10.9, the client now
                      starts with this option ENABLED by default. Disable with
                      '-G'. Long format commands still work from the first
                      line. WARNING: option deprecated; use
                      --disable-named-commands instead.
  -i, --ignore-spaces Ignore space after function names.
  --local-infile      Enable/disable LOAD DATA LOCAL INFILE.
  -b, --no-beep       Turn off beep on error.
  -h, --host=name     Connect to host.
  -H, --html          Produce HTML output.
  -X, --xml           Produce XML output.
  --line-numbers      Write line numbers for errors.
  -L, --skip-line-numbers
                      Don't write line number for errors.
  -n, --unbuffered    Flush buffer after each query.
  --column-names      Write column names in results.
  -N, --skip-column-names
                      Don't write column names in results.
  -O, --set-variable=name
                      Change the value of a variable. Please note that this
                      option is deprecated; you can set variables directly with
                      --variable-name=value.
  --sigint-ignore     Ignore SIGINT (CTRL-C).
  -o, --one-database  Ignore statements except those that occur while the
                      default database is the one named at the command line.
  --pager[=name]      Pager to use to display results. If you don't supply an
                      option, the default pager is taken from your ENV variable
                      PAGER. Valid pagers are less, more, cat [> filename],
                      etc. See interactive help (\h) also. This option does not
                      work in batch mode. Disable with --disable-pager. This
                      option is disabled by default.
  --no-pager          Disable pager and print to stdout. See interactive help
                      (\h) also. WARNING: option deprecated; use
                      --disable-pager instead.
  -p, --password[=name]
                      Password to use when connecting to server. If password is
                      not given it's asked from the tty.
  -P, --port=#        Port number to use for connection or 0 for default to, in
                      order of preference, my.cnf, $MYSQL_TCP_PORT,
                      /etc/services, built-in default (3306).
  --prompt=name       Set the mysql prompt to this value.
  --protocol=name     The protocol to use for connection (tcp, socket, pipe,
                      memory).
  -q, --quick         Don't cache result, print it row by row. This may slow
                      down the server if the output is suspended. Doesn't use
                      history file.
  -r, --raw           Write fields without conversion. Used with --batch.
  --reconnect         Reconnect if the connection is lost. Disable with
                      --disable-reconnect. This option is enabled by default.
  -s, --silent        Be more silent. Print results with a tab as separator,
                      each row on new line.
  -S, --socket=name   The socket file to use for connection.
  --ssl               Enable SSL for connection (automatically enabled with
                      other flags).Disable with --skip-ssl.
  --ssl-ca=name       CA file in PEM format (check OpenSSL docs, implies
                      --ssl).
  --ssl-capath=name   CA directory (check OpenSSL docs, implies --ssl).
  --ssl-cert=name     X509 cert in PEM format (implies --ssl).
  --ssl-cipher=name   SSL cipher to use (implies --ssl).
  --ssl-key=name      X509 key in PEM format (implies --ssl).
  --ssl-verify-server-cert
                      Verify server's "Common Name" in its cert against
                      hostname used when connecting. This option is disabled by
                      default.
  -t, --table         Output in table format.
  --tee=name          Append everything into outfile. See interactive help (\h)
                      also. Does not work in batch mode. Disable with
                      --disable-tee. This option is disabled by default.
  --no-tee            Disable outfile. See interactive help (\h) also. WARNING:
                      Option deprecated; use --disable-tee instead.
  -u, --user=name     User for login if not current user.
  -U, --safe-updates  Only allow UPDATE and DELETE that uses keys.
  -U, --i-am-a-dummy  Synonym for option --safe-updates, -U.
  -v, --verbose       Write more. (-v -v -v gives the table output format).
  -V, --version       Output version information and exit.
  -w, --wait          Wait and retry if connection is down.
  --connect_timeout=# Number of seconds before connection timeout.
  --max_allowed_packet=#
                      The maximum packet length to send to or receive from
                      server.
  --net_buffer_length=#
                      The buffer size for TCP/IP and socket communication.
  --select_limit=#    Automatic limit for SELECT when using --safe-updates.
  --max_join_size=#   Automatic limit for rows in a join when using
                      --safe-updates.
  --secure-auth       Refuse client connecting to server if it uses old
                      (pre-4.1.1) protocol.
  --server-arg=name   Send embedded server this as a parameter.
  --show-warnings     Show warnings after every statement.

Default options are read from the following files in the given order:
/etc/mysql/my.cnf /etc/my.cnf ~/.my.cnf
The following groups are read: mysql client
The following options may be given as the first argument:
--print-defaults        Print the program argument list and exit.
--no-defaults           Don't read default options from any option file.
--defaults-file=#       Only read default options from the given file #.
--defaults-extra-file=# Read this file after the global files are read.

Variables (--variable-name=value)
and boolean options {FALSE|TRUE}  Value (after reading options)
--------------------------------- -----------------------------
auto-rehash                       TRUE
character-sets-dir                (No default value)
column-type-info                  FALSE
comments                          FALSE
compress                          FALSE
debug-check                       FALSE
debug-info                        FALSE
database                          (No default value)
default-character-set             latin1
delimiter                         ;
vertical                          FALSE
force                             FALSE
named-commands                    FALSE
ignore-spaces                     FALSE
local-infile                      FALSE
no-beep                           FALSE
host                              (No default value)
html                              FALSE
xml                               FALSE
line-numbers                      TRUE
unbuffered                        FALSE
column-names                      TRUE
sigint-ignore                     FALSE
port                              0
prompt                            mysql>
quick                             FALSE
raw                               FALSE
reconnect                         TRUE
socket                            (No default value)
ssl                               FALSE
ssl-ca                            (No default value)
ssl-capath                        (No default value)
ssl-cert                          (No default value)
ssl-cipher                        (No default value)
ssl-key                           (No default value)
ssl-verify-server-cert            FALSE
table                             FALSE
user                              cacti
safe-updates                      FALSE
i-am-a-dummy                      FALSE
connect_timeout                   0
max_allowed_packet                16777216
net_buffer_length                 16384
select_limit                      1000
max_join_size                     1000000
secure-auth                       FALSE
show-warnings                     FALSE
[root@lussvpnagiosxi00 cacti-0.8.8b]# mysql -u cacti -p'cactipassword' -e "use cacti; show tables;"
[root@lussvpnagiosxi00 cacti-0.8.8b]#

mysql -u cacti -p'cactipassword' -e "use cacti; show tables;"
[root@lussvpnagiosxi00 cacti-0.8.8b]#
is returning blank screen, could you please help me here..
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Setting up Cacti

Post by rkennedy »

I believe the database didn't import properly, Can you run the following?
locate cacti.sql

Once you've found your cacti.sql you simply need to dump it into mysql using the following command:
mysql -u cacti -p'cactipassword' cacti < path_to_cacti.sql
Former Nagios Employee
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Setting up Cacti

Post by raamardhani7 »

rkennedy wrote:I believe the database didn't import properly, Can you run the following?
locate cacti.sql

Once you've found your cacti.sql you simply need to dump it into mysql using the following command:
mysql -u cacti -p'cactipassword' cacti < path_to_cacti.sql

Hi Please find the config files that needs to be updated, have made changes. But I am unable to get any reports.

Code: Select all

cat /etc/snmp/snmpd.conf
###############################################################################
#
# snmpd.conf:
#   An example configuration file for configuring the ucd-snmp snmpd agent.
#
###############################################################################
#
# This file is intended to only be as a starting point.  Many more
# configuration directives exist than are mentioned in this file.  For
# full details, see the snmpd.conf(5) manual page.
#
# All lines beginning with a '#' are comments and are intended for you
# to read.  All other lines are configuration commands for the agent.

###############################################################################
# Access Control
###############################################################################

# As shipped, the snmpd demon will only respond to queries on the
# system mib group until this file is replaced or modified for
# security purposes.  Examples are shown below about how to increase the
# level of access.

# By far, the most common question I get about the agent is "why won't
# it work?", when really it should be "how do I configure the agent to
# allow me to access it?"
#
# By default, the agent responds to the "public" community for read
# only access, if run out of the box without any configuration file in
# place.  The following examples show you other ways of configuring
# the agent so that you can change the community names, and give
# yourself write access to the mib tree as well.
#
# For more information, read the FAQ as well as the snmpd.conf(5)
# manual page.

####
# First, map the community name "public" into a "security name"

#       sec.name  source          community
com2sec notConfigUser  default       public
com2sec local    localhost public
####
# Second, map the security name into a group name:

#       groupName      securityModel securityName
group   notConfigGroup v1           notConfigUser
group   notConfigGroup v2c           notConfigUser
group   MyRWGroup      v1           local
group   MyRWGroup      v2c          local
group   MyRWGroup      usm          local

####
# Third, create a view for us to let the group have rights to:

# Make at least  snmpwalk -v 1 localhost -c public system fast again.
#       name           incl/excl     subtree         mask(optional)
view    systemview    included   .1.3.6.1.2.1.1
view    systemview    included   .1.3.6.1.2.1.25.1.1
view    all           included   .1
####
# Finally, grant the group read-only access to the systemview view.

#       group          context sec.model sec.level prefix read   write  notif
access  notConfigGroup ""      any       noauth    exact  systemview none none
access  MyRWGroup      ""      any       noauth    exact  all    all    none
# -----------------------------------------------------------------------------

# Here is a commented out example configuration that allows less
# restrictive access.

# YOU SHOULD CHANGE THE "COMMUNITY" TOKEN BELOW TO A NEW KEYWORD ONLY
# KNOWN AT YOUR SITE.  YOU *MUST* CHANGE THE NETWORK TOKEN BELOW TO
# SOMETHING REFLECTING YOUR LOCAL NETWORK ADDRESS SPACE.

##       sec.name  source          community
com2sec local     localhost       COMMUNITY
#com2sec mynetwork NETWORK/24      COMMUNITY

##     group.name sec.model  sec.name
#group MyRWGroup  any        local
#group MyROGroup  any        mynetwork
#
#group MyRWGroup  any        otherv3user
#...

##           incl/excl subtree                          mask
#view all    included  .1                               80

## -or just the mib2 tree-

#view mib2   included  .iso.org.dod.internet.mgmt.mib-2 fc


##                context sec.model sec.level prefix read   write  notif
#access MyROGroup ""      any       noauth    0      all    none   none
#access MyRWGroup ""      any       noauth    0      all    all    all


###############################################################################
# Sample configuration to make net-snmpd RFC 1213.
# Unfortunately v1 and v2c don't allow any user based authentification, so
# opening up the default config is not an option from a security point.
#
# WARNING: If you uncomment the following lines you allow write access to your
# snmpd daemon from any source! To avoid this use different names for your
# community or split out the write access to a different community and
# restrict it to your local network.
# Also remember to comment the syslocation and syscontact parameters later as
# otherwise they are still read only (see FAQ for net-snmp).
#

# First, map the community name "public" into a "security name"
#       sec.name        source          community
#com2sec notConfigUser   default         public

# Second, map the security name into a group name:
#       groupName       securityModel   securityName
#group   notConfigGroup  v1              notConfigUser
#group   notConfigGroup  v2c             notConfigUser

# Third, create a view for us to let the group have rights to:
# Open up the whole tree for ro, make the RFC 1213 required ones rw.
#       name            incl/excl       subtree mask(optional)
#view    roview          included        .1
#view    rwview          included        system.sysContact
#view    rwview          included        system.sysName
#view    rwview          included        system.sysLocation
#view    rwview          included        interfaces.ifTable.ifEntry.ifAdminStatus
#view    rwview          included        at.atTable.atEntry.atPhysAddress
#view    rwview          included        at.atTable.atEntry.atNetAddress
#view    rwview          included        ip.ipForwarding
#view    rwview          included        ip.ipDefaultTTL
#view    rwview          included        ip.ipRouteTable.ipRouteEntry.ipRouteDest
#view    rwview          included        ip.ipRouteTable.ipRouteEntry.ipRouteIfIndex
#view    rwview          included        ip.ipRouteTable.ipRouteEntry.ipRouteMetric1
#view    rwview          included        ip.ipRouteTable.ipRouteEntry.ipRouteMetric2
#view    rwview          included        ip.ipRouteTable.ipRouteEntry.ipRouteMetric3
#view    rwview          included        ip.ipRouteTable.ipRouteEntry.ipRouteMetric4
#view    rwview          included        ip.ipRouteTable.ipRouteEntry.ipRouteType
#view    rwview          included        ip.ipRouteTable.ipRouteEntry.ipRouteAge
#view    rwview          included        ip.ipRouteTable.ipRouteEntry.ipRouteMask
#view    rwview          included        ip.ipRouteTable.ipRouteEntry.ipRouteMetric5
#view    rwview          included        ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaIfIndex
#view    rwview          included        ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress
#view    rwview          included        ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaNetAddress
#view    rwview          included        ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaType
#view    rwview          included        tcp.tcpConnTable.tcpConnEntry.tcpConnState
#view    rwview          included        egp.egpNeighTable.egpNeighEntry.egpNeighEventTrigger
#view    rwview          included        snmp.snmpEnableAuthenTraps

# Finally, grant the group read-only access to the systemview view.
#       group          context sec.model sec.level prefix read   write  notif
#access  notConfigGroup ""      any       noauth    exact  roview rwview none



###############################################################################
# System contact information
#

# It is also possible to set the sysContact and sysLocation system
# variables through the snmpd.conf file:

syslocation Unknown (edit /etc/snmp/snmpd.conf)
syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf)

# Example output of snmpwalk:
#   % snmpwalk -v 1 localhost -c public system
#   system.sysDescr.0 = "SunOS name sun4c"
#   system.sysObjectID.0 = OID: enterprises.ucdavis.ucdSnmpAgent.sunos4
#   system.sysUpTime.0 = Timeticks: (595637548) 68 days, 22:32:55
#   system.sysContact.0 = "Me <[email protected]>"
#   system.sysName.0 = "name"
#   system.sysLocation.0 = "Right here, right now."
#   system.sysServices.0 = 72


###############################################################################
# Logging
#

# We do not want annoying "Connection from UDP: " messages in syslog.
# If the following option is commented out, snmpd will print each incoming
# connection, which can be useful for debugging.

dontLogTCPWrappersConnects yes

# -----------------------------------------------------------------------------


###############################################################################
# Process checks.
#
#  The following are examples of how to use the agent to check for
#  processes running on the host.  The syntax looks something like:
#
#  proc NAME [MAX=0] [MIN=0]
#
#  NAME:  the name of the process to check for.  It must match
#         exactly (ie, http will not find httpd processes).
#  MAX:   the maximum number allowed to be running.  Defaults to 0.
#  MIN:   the minimum number to be running.  Defaults to 0.

#
#  Examples (commented out by default):
#

#  Make sure mountd is running
#proc mountd

#  Make sure there are no more than 4 ntalkds running, but 0 is ok too.
#proc ntalkd 4

#  Make sure at least one sendmail, but less than or equal to 10 are running.
#proc sendmail 10 1

#  A snmpwalk of the process mib tree would look something like this:
#
# % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.2
# enterprises.ucdavis.procTable.prEntry.prIndex.1 = 1
# enterprises.ucdavis.procTable.prEntry.prIndex.2 = 2
# enterprises.ucdavis.procTable.prEntry.prIndex.3 = 3
# enterprises.ucdavis.procTable.prEntry.prNames.1 = "mountd"
# enterprises.ucdavis.procTable.prEntry.prNames.2 = "ntalkd"
# enterprises.ucdavis.procTable.prEntry.prNames.3 = "sendmail"
# enterprises.ucdavis.procTable.prEntry.prMin.1 = 0
# enterprises.ucdavis.procTable.prEntry.prMin.2 = 0
# enterprises.ucdavis.procTable.prEntry.prMin.3 = 1
# enterprises.ucdavis.procTable.prEntry.prMax.1 = 0
# enterprises.ucdavis.procTable.prEntry.prMax.2 = 4
# enterprises.ucdavis.procTable.prEntry.prMax.3 = 10
# enterprises.ucdavis.procTable.prEntry.prCount.1 = 0
# enterprises.ucdavis.procTable.prEntry.prCount.2 = 0
# enterprises.ucdavis.procTable.prEntry.prCount.3 = 1
# enterprises.ucdavis.procTable.prEntry.prErrorFlag.1 = 1
# enterprises.ucdavis.procTable.prEntry.prErrorFlag.2 = 0
# enterprises.ucdavis.procTable.prEntry.prErrorFlag.3 = 0
# enterprises.ucdavis.procTable.prEntry.prErrMessage.1 = "No mountd process running."
# enterprises.ucdavis.procTable.prEntry.prErrMessage.2 = ""
# enterprises.ucdavis.procTable.prEntry.prErrMessage.3 = ""
# enterprises.ucdavis.procTable.prEntry.prErrFix.1 = 0
# enterprises.ucdavis.procTable.prEntry.prErrFix.2 = 0
# enterprises.ucdavis.procTable.prEntry.prErrFix.3 = 0
#
#  Note that the errorFlag for mountd is set to 1 because one is not
#  running (in this case an rpc.mountd is, but thats not good enough),
#  and the ErrMessage tells you what's wrong.  The configuration
#  imposed in the snmpd.conf file is also shown.
#
#  Special Case:  When the min and max numbers are both 0, it assumes
#  you want a max of infinity and a min of 1.
#


# -----------------------------------------------------------------------------


###############################################################################
# Executables/scripts
#

#
#  You can also have programs run by the agent that return a single
#  line of output and an exit code.  Here are two examples.
#
#  exec NAME PROGRAM [ARGS ...]
#
#  NAME:     A generic name. The name must be unique for each exec statement.
#  PROGRAM:  The program to run.  Include the path!
#  ARGS:     optional arguments to be passed to the program

# a simple hello world

#exec echotest /bin/echo hello world

# Run a shell script containing:
#
# #!/bin/sh
# echo hello world
# echo hi there
# exit 35
#
# Note:  this has been specifically commented out to prevent
# accidental security holes due to someone else on your system writing
# a /tmp/shtest before you do.  Uncomment to use it.
#
#exec shelltest /bin/sh /tmp/shtest

# Then,
# % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.8
# enterprises.ucdavis.extTable.extEntry.extIndex.1 = 1
# enterprises.ucdavis.extTable.extEntry.extIndex.2 = 2
# enterprises.ucdavis.extTable.extEntry.extNames.1 = "echotest"
# enterprises.ucdavis.extTable.extEntry.extNames.2 = "shelltest"
# enterprises.ucdavis.extTable.extEntry.extCommand.1 = "/bin/echo hello world"
# enterprises.ucdavis.extTable.extEntry.extCommand.2 = "/bin/sh /tmp/shtest"
# enterprises.ucdavis.extTable.extEntry.extResult.1 = 0
# enterprises.ucdavis.extTable.extEntry.extResult.2 = 35
# enterprises.ucdavis.extTable.extEntry.extOutput.1 = "hello world."
# enterprises.ucdavis.extTable.extEntry.extOutput.2 = "hello world."
# enterprises.ucdavis.extTable.extEntry.extErrFix.1 = 0
# enterprises.ucdavis.extTable.extEntry.extErrFix.2 = 0

# Note that the second line of the /tmp/shtest shell script is cut
# off.  Also note that the exit status of 35 was returned.

# -----------------------------------------------------------------------------


###############################################################################
# disk checks
#

# The agent can check the amount of available disk space, and make
# sure it is above a set limit.

# disk PATH [MIN=100000]
#
# PATH:  mount path to the disk in question.
# MIN:   Disks with space below this value will have the Mib's errorFlag set.
#        Default value = 100000.

# Check the / partition and make sure it contains at least 10 megs.

#disk / 10000

# % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.9
# enterprises.ucdavis.diskTable.dskEntry.diskIndex.1 = 0
# enterprises.ucdavis.diskTable.dskEntry.diskPath.1 = "/" Hex: 2F
# enterprises.ucdavis.diskTable.dskEntry.diskDevice.1 = "/dev/dsk/c201d6s0"
# enterprises.ucdavis.diskTable.dskEntry.diskMinimum.1 = 10000
# enterprises.ucdavis.diskTable.dskEntry.diskTotal.1 = 837130
# enterprises.ucdavis.diskTable.dskEntry.diskAvail.1 = 316325
# enterprises.ucdavis.diskTable.dskEntry.diskUsed.1 = 437092
# enterprises.ucdavis.diskTable.dskEntry.diskPercent.1 = 58
# enterprises.ucdavis.diskTable.dskEntry.diskErrorFlag.1 = 0
# enterprises.ucdavis.diskTable.dskEntry.diskErrorMsg.1 = ""

# -----------------------------------------------------------------------------


###############################################################################
# load average checks
#

# load [1MAX=12.0] [5MAX=12.0] [15MAX=12.0]
#
# 1MAX:   If the 1 minute load average is above this limit at query
#         time, the errorFlag will be set.
# 5MAX:   Similar, but for 5 min average.
# 15MAX:  Similar, but for 15 min average.

# Check for loads:
#load 12 14 14

# % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.10
# enterprises.ucdavis.loadTable.laEntry.loadaveIndex.1 = 1
# enterprises.ucdavis.loadTable.laEntry.loadaveIndex.2 = 2
# enterprises.ucdavis.loadTable.laEntry.loadaveIndex.3 = 3
# enterprises.ucdavis.loadTable.laEntry.loadaveNames.1 = "Load-1"
# enterprises.ucdavis.loadTable.laEntry.loadaveNames.2 = "Load-5"
# enterprises.ucdavis.loadTable.laEntry.loadaveNames.3 = "Load-15"
# enterprises.ucdavis.loadTable.laEntry.loadaveLoad.1 = "0.49" Hex: 30 2E 34 39
# enterprises.ucdavis.loadTable.laEntry.loadaveLoad.2 = "0.31" Hex: 30 2E 33 31
# enterprises.ucdavis.loadTable.laEntry.loadaveLoad.3 = "0.26" Hex: 30 2E 32 36
# enterprises.ucdavis.loadTable.laEntry.loadaveConfig.1 = "12.00"
# enterprises.ucdavis.loadTable.laEntry.loadaveConfig.2 = "14.00"
# enterprises.ucdavis.loadTable.laEntry.loadaveConfig.3 = "14.00"
# enterprises.ucdavis.loadTable.laEntry.loadaveErrorFlag.1 = 0
# enterprises.ucdavis.loadTable.laEntry.loadaveErrorFlag.2 = 0
# enterprises.ucdavis.loadTable.laEntry.loadaveErrorFlag.3 = 0
# enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.1 = ""
# enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.2 = ""
# enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.3 = ""

# -----------------------------------------------------------------------------


###############################################################################
# Extensible sections.
#

# This alleviates the multiple line output problem found in the
# previous executable mib by placing each mib in its own mib table:
# Run a shell script containing:
#
# #!/bin/sh
# echo hello world
# echo hi there
# exit 35
#
# Note:  this has been specifically commented out to prevent
# accidental security holes due to someone else on your system writing
# a /tmp/shtest before you do.  Uncomment to use it.
#
# exec .1.3.6.1.4.1.2021.50 shelltest /bin/sh /tmp/shtest

# % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.50
# enterprises.ucdavis.50.1.1 = 1
# enterprises.ucdavis.50.2.1 = "shelltest"
# enterprises.ucdavis.50.3.1 = "/bin/sh /tmp/shtest"
# enterprises.ucdavis.50.100.1 = 35
# enterprises.ucdavis.50.101.1 = "hello world."
# enterprises.ucdavis.50.101.2 = "hi there."
# enterprises.ucdavis.50.102.1 = 0

# Now the Output has grown to two lines, and we can see the 'hi
# there.' output as the second line from our shell script.
#
# Note that you must alter the mib.txt file to be correct if you want
# the .50.* outputs above to change to reasonable text descriptions.

# Other ideas:
#
# exec .1.3.6.1.4.1.2021.51 ps /bin/ps
# exec .1.3.6.1.4.1.2021.52 top /usr/local/bin/top
# exec .1.3.6.1.4.1.2021.53 mailq /usr/bin/mailq

# -----------------------------------------------------------------------------


###############################################################################
# Pass through control.
#

# Usage:
#   pass MIBOID EXEC-COMMAND
#
# This will pass total control of the mib underneath the MIBOID
# portion of the mib to the EXEC-COMMAND.
#
# Note:  You'll have to change the path of the passtest script to your
# source directory or install it in the given location.
#
# Example:  (see the script for details)
#           (commented out here since it requires that you place the
#           script in the right location. (its not installed by default))

# pass .1.3.6.1.4.1.2021.255 /bin/sh /usr/local/local/passtest
pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat

# % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.255
# enterprises.ucdavis.255.1 = "life the universe and everything"
# enterprises.ucdavis.255.2.1 = 42
# enterprises.ucdavis.255.2.2 = OID: 42.42.42
# enterprises.ucdavis.255.3 = Timeticks: (363136200) 42 days, 0:42:42
# enterprises.ucdavis.255.4 = IpAddress: 127.0.0.1
# enterprises.ucdavis.255.5 = 42
# enterprises.ucdavis.255.6 = Gauge: 42
#
# % snmpget -v 1 localhost public .1.3.6.1.4.1.2021.255.5
# enterprises.ucdavis.255.5 = 42
#
# % snmpset -v 1 localhost public .1.3.6.1.4.1.2021.255.1 s "New string"
# enterprises.ucdavis.255.1 = "New string"
#

# For specific usage information, see the man/snmpd.conf.5 manual page
# as well as the local/passtest script used in the above example.

###############################################################################
# Further Information
#
#  See the snmpd.conf manual page, and the output of "snmpd -H".
rwuser fslsnmpusr

Code: Select all

cat /etc/httpd/conf.d/cacti.conf
#
# Cacti: An rrd based graphing tool
#

# For security reasons, the Cacti web interface is accessible only to
# localhost in the default configuration. If you want to allow other clients
# to access your Cacti installation, change the httpd ACLs below.
# For example:
# On httpd 2.4, change "Require host localhost" to "Require all granted".
# On httpd 2.2, change "Allow from localhost" to "Allow from all".

Alias /cacti    /usr/share/cacti

<Directory /usr/share/cacti/>
        <IfModule mod_authz_core.c>
                # httpd 2.4
                Require host localhost
        </IfModule>
        <IfModule !mod_authz_core.c>
                # httpd 2.2
                Order deny,allow
                Allow from localhost
                Allow from all
        </IfModule>
</Directory>

<Directory /usr/share/cacti/install>
        # mod_security overrides.
        # Uncomment these if you use mod_security.
        # allow POST of application/x-www-form-urlencoded during install
        #SecRuleRemoveById 960010
        # permit the specification of the rrdtool paths during install
        #SecRuleRemoveById 900011
</Directory>


# These sections marked "Require all denied" (or "Deny from all")
# should not be modified.
# These are in place in order to harden Cacti.
<Directory /usr/share/cacti/log>
        <IfModule mod_authz_core.c>
                Require all denied
        </IfModule>
        <IfModule !mod_authz_core.c>
                Order deny,allow
                Deny from all
        </IfModule>
</Directory>
<Directory /usr/share/cacti/rra>
        <IfModule mod_authz_core.c>
                Require all denied
        </IfModule>
        <IfModule !mod_authz_core.c>
                Order deny,allow
                Deny from all
        </IfModule>
</Directory>

Code: Select all

su cacti
is not working
After installing Cacti, I am unable to see any data in performance graphs. Could you please help me with this. thanks.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Setting up Cacti

Post by lmiltchev »

Did you have any issues with graphs prior to installing cacti? Are you having issues with some of the performance graphs or all of them? Run the following commands and show the output in code wraps:

Code: Select all

uptime
service npcd status
ls /usr/local/nagios/var/spool/xidpe | wc -l
ls /usr/local/nagios/var/spool/perfdata | wc -l
ls /usr/local/nagios/var/spool/checkresults | wc -l
tail -100 /usr/local/nagios/var/npcd.log
tail -100 /usr/local/nagios/var/perfdata.log
su cacti
is not working
Most probably, this is caused by the "/sbin/nologin" in the path. Were you able to log in the cacti web UI at all? What is the output of the following commands?

Code: Select all

grep cacti /etc/passwd
httpd -v
cat /etc/cron.d/cacti
Be sure to check out our Knowledgebase for helpful articles and solutions!
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Setting up Cacti

Post by raamardhani7 »

lmiltchev wrote:Did you have any issues with graphs prior to installing cacti? Are you having issues with some of the performance graphs or all of them? Run the following commands and show the output in code wraps:

Code: Select all

uptime
service npcd status
ls /usr/local/nagios/var/spool/xidpe | wc -l
ls /usr/local/nagios/var/spool/perfdata | wc -l
ls /usr/local/nagios/var/spool/checkresults | wc -l
tail -100 /usr/local/nagios/var/npcd.log
tail -100 /usr/local/nagios/var/perfdata.log
su cacti
is not working
Most probably, this is caused by the "/sbin/nologin" in the path. Were you able to log in the cacti web UI at all? What is the output of the following commands?

Code: Select all

grep cacti /etc/passwd
httpd -v
cat /etc/cron.d/cacti

Code: Select all

uptime
 13:11:07 up 14 days,  3:46,  1 user,  load average: 10.40, 15.14, 20.33

Code: Select all

service npcd status
NPCD running (pid 12434).

Code: Select all

ls /usr/local/nagios/var/spool/xidpe | wc -l
0

ls /usr/local/nagios/var/spool/perfdata | wc -l
68048

ls /usr/local/nagios/var/spool/checkresults | wc -l
0

Code: Select all

tail -100 /usr/local/nagios/var/npcd.log
[12-09-2015 12:50:59] NPCD: WARN: MAX load reached: load 11.450000/10.000000 at i=31857
[12-09-2015 12:51:14] NPCD: WARN: MAX load reached: load 12.450000/10.000000 at i=31857
[12-09-2015 12:51:29] NPCD: WARN: MAX load reached: load 10.870000/10.000000 at i=31857
[12-09-2015 12:51:44] NPCD: WARN: MAX load reached: load 14.540000/10.000000 at i=31857
[12-09-2015 12:51:59] NPCD: WARN: MAX load reached: load 15.720000/10.000000 at i=31857
[12-09-2015 12:52:14] NPCD: WARN: MAX load reached: load 14.560000/10.000000 at i=31857
[12-09-2015 12:52:30] NPCD: WARN: MAX load reached: load 11.740000/10.000000 at i=31857
[12-09-2015 12:52:45] NPCD: WARN: MAX load reached: load 13.060000/10.000000 at i=31857
[12-09-2015 12:53:00] NPCD: WARN: MAX load reached: load 13.940000/10.000000 at i=31857
[12-09-2015 12:53:15] NPCD: WARN: MAX load reached: load 12.910000/10.000000 at i=31857
[12-09-2015 12:53:30] NPCD: WARN: MAX load reached: load 12.170000/10.000000 at i=31857
[12-09-2015 12:53:45] NPCD: WARN: MAX load reached: load 12.190000/10.000000 at i=31857
[12-09-2015 12:54:00] NPCD: WARN: MAX load reached: load 13.150000/10.000000 at i=31857
[12-09-2015 12:54:15] NPCD: WARN: MAX load reached: load 12.010000/10.000000 at i=31857
[12-09-2015 12:54:30] NPCD: WARN: MAX load reached: load 14.050000/10.000000 at i=31857
[12-09-2015 12:54:45] NPCD: WARN: MAX load reached: load 14.090000/10.000000 at i=31857
[12-09-2015 12:55:00] NPCD: WARN: MAX load reached: load 14.640000/10.000000 at i=31857
[12-09-2015 12:55:15] NPCD: WARN: MAX load reached: load 16.000000/10.000000 at i=31857
[12-09-2015 12:55:30] NPCD: WARN: MAX load reached: load 14.650000/10.000000 at i=31857
[12-09-2015 12:55:45] NPCD: WARN: MAX load reached: load 14.340000/10.000000 at i=31857
[12-09-2015 12:56:00] NPCD: WARN: MAX load reached: load 14.210000/10.000000 at i=31857
[12-09-2015 12:56:15] NPCD: WARN: MAX load reached: load 16.960000/10.000000 at i=31857
[12-09-2015 12:56:30] NPCD: WARN: MAX load reached: load 16.010000/10.000000 at i=31857
[12-09-2015 12:56:45] NPCD: WARN: MAX load reached: load 13.440000/10.000000 at i=31857
[12-09-2015 12:57:00] NPCD: WARN: MAX load reached: load 11.860000/10.000000 at i=31857
[12-09-2015 12:57:15] NPCD: WARN: MAX load reached: load 13.240000/10.000000 at i=31857
[12-09-2015 12:57:30] NPCD: WARN: MAX load reached: load 14.830000/10.000000 at i=31857
[12-09-2015 12:57:45] NPCD: WARN: MAX load reached: load 15.460000/10.000000 at i=31857
[12-09-2015 12:58:00] NPCD: WARN: MAX load reached: load 13.480000/10.000000 at i=31857
[12-09-2015 12:58:15] NPCD: WARN: MAX load reached: load 16.590000/10.000000 at i=31857
[12-09-2015 12:58:30] NPCD: WARN: MAX load reached: load 15.730000/10.000000 at i=31857
[12-09-2015 12:58:45] NPCD: WARN: MAX load reached: load 14.760000/10.000000 at i=31857
[12-09-2015 12:59:00] NPCD: WARN: MAX load reached: load 12.160000/10.000000 at i=31857
[12-09-2015 12:59:15] NPCD: WARN: MAX load reached: load 11.250000/10.000000 at i=31857
[12-09-2015 12:59:30] NPCD: WARN: MAX load reached: load 11.550000/10.000000 at i=31857
[12-09-2015 12:59:45] NPCD: WARN: MAX load reached: load 12.450000/10.000000 at i=31857
[12-09-2015 13:00:00] NPCD: WARN: MAX load reached: load 13.290000/10.000000 at i=31857
[12-09-2015 13:00:15] NPCD: WARN: MAX load reached: load 13.400000/10.000000 at i=31857
[12-09-2015 13:00:30] NPCD: WARN: MAX load reached: load 12.040000/10.000000 at i=31857
[12-09-2015 13:00:45] NPCD: WARN: MAX load reached: load 15.590000/10.000000 at i=31857
[12-09-2015 13:01:00] NPCD: WARN: MAX load reached: load 16.370000/10.000000 at i=31857
[12-09-2015 13:01:15] NPCD: WARN: MAX load reached: load 15.660000/10.000000 at i=31857
[12-09-2015 13:01:30] NPCD: WARN: MAX load reached: load 18.750000/10.000000 at i=31857
[12-09-2015 13:01:45] NPCD: WARN: MAX load reached: load 19.170000/10.000000 at i=31857
[12-09-2015 13:02:00] NPCD: WARN: MAX load reached: load 16.860000/10.000000 at i=31857
[12-09-2015 13:02:15] NPCD: WARN: MAX load reached: load 17.100000/10.000000 at i=31857
[12-09-2015 13:02:30] NPCD: WARN: MAX load reached: load 18.150000/10.000000 at i=31857
[12-09-2015 13:02:45] NPCD: WARN: MAX load reached: load 20.640000/10.000000 at i=31857
[12-09-2015 13:03:00] NPCD: WARN: MAX load reached: load 18.380000/10.000000 at i=31857
[12-09-2015 13:03:15] NPCD: WARN: MAX load reached: load 16.850000/10.000000 at i=31857
[12-09-2015 13:03:30] NPCD: WARN: MAX load reached: load 15.270000/10.000000 at i=31857
[12-09-2015 13:03:45] NPCD: WARN: MAX load reached: load 15.090000/10.000000 at i=31857
[12-09-2015 13:04:00] NPCD: WARN: MAX load reached: load 14.400000/10.000000 at i=31857
[12-09-2015 13:04:15] NPCD: WARN: MAX load reached: load 14.190000/10.000000 at i=31857
[12-09-2015 13:04:30] NPCD: WARN: MAX load reached: load 12.000000/10.000000 at i=31857
[12-09-2015 13:04:45] NPCD: WARN: MAX load reached: load 13.750000/10.000000 at i=31857
[12-09-2015 13:05:00] NPCD: WARN: MAX load reached: load 12.640000/10.000000 at i=31857
[12-09-2015 13:05:15] NPCD: WARN: MAX load reached: load 13.180000/10.000000 at i=31857
[12-09-2015 13:05:30] NPCD: WARN: MAX load reached: load 14.510000/10.000000 at i=31857
[12-09-2015 13:05:45] NPCD: WARN: MAX load reached: load 17.860000/10.000000 at i=31857
[12-09-2015 13:06:00] NPCD: WARN: MAX load reached: load 25.610000/10.000000 at i=31857
[12-09-2015 13:06:15] NPCD: WARN: MAX load reached: load 42.990000/10.000000 at i=31857
[12-09-2015 13:06:30] NPCD: WARN: MAX load reached: load 34.520000/10.000000 at i=31857
[12-09-2015 13:06:45] NPCD: WARN: MAX load reached: load 27.600000/10.000000 at i=31857
[12-09-2015 13:07:00] NPCD: WARN: MAX load reached: load 22.460000/10.000000 at i=31857
[12-09-2015 13:07:15] NPCD: WARN: MAX load reached: load 21.040000/10.000000 at i=31857
[12-09-2015 13:07:30] NPCD: WARN: MAX load reached: load 20.690000/10.000000 at i=31857
[12-09-2015 13:07:45] NPCD: WARN: MAX load reached: load 20.030000/10.000000 at i=31857
[12-09-2015 13:08:00] NPCD: WARN: MAX load reached: load 18.500000/10.000000 at i=31857
[12-09-2015 13:08:15] NPCD: WARN: MAX load reached: load 17.410000/10.000000 at i=31857
[12-09-2015 13:08:30] NPCD: WARN: MAX load reached: load 14.750000/10.000000 at i=31857
[12-09-2015 13:08:45] NPCD: WARN: MAX load reached: load 15.230000/10.000000 at i=31857
[12-09-2015 13:09:00] NPCD: WARN: MAX load reached: load 14.860000/10.000000 at i=31857
[12-09-2015 13:09:15] NPCD: WARN: MAX load reached: load 14.200000/10.000000 at i=31857
[12-09-2015 13:09:30] NPCD: WARN: MAX load reached: load 11.280000/10.000000 at i=31857
[12-09-2015 13:09:45] NPCD: WARN: MAX load reached: load 14.170000/10.000000 at i=31857
[12-09-2015 13:10:00] NPCD: WARN: MAX load reached: load 13.950000/10.000000 at i=31857
[12-09-2015 13:10:15] NPCD: WARN: MAX load reached: load 13.020000/10.000000 at i=31857
[12-09-2015 13:10:30] NPCD: WARN: MAX load reached: load 12.400000/10.000000 at i=31857
[12-09-2015 13:10:45] NPCD: WARN: MAX load reached: load 12.350000/10.000000 at i=31857
[12-09-2015 13:11:00] NPCD: WARN: MAX load reached: load 10.430000/10.000000 at i=31857
[12-09-2015 13:11:20] NPCD: ERROR: Executed command exits with return code '7'
[12-09-2015 13:11:20] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1449342067.perfdata.host'
[12-09-2015 13:11:20] NPCD: ERROR: Executed command exits with return code '7'
[12-09-2015 13:11:20] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1449342055.perfdata.service'
[12-09-2015 13:11:20] NPCD: ERROR: Executed command exits with return code '7'
[12-09-2015 13:11:20] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1449342066.perfdata.service'
[12-09-2015 13:11:20] NPCD: ERROR: Executed command exits with return code '7'
[12-09-2015 13:11:20] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1449342064.perfdata.host'
[12-09-2015 13:11:20] NPCD: ERROR: Executed command exits with return code '7'
[12-09-2015 13:11:20] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1449342068.perfdata.service'
[12-09-2015 13:11:20] NPCD: WARN: MAX load reached: load 10.060000/10.000000 at i=31862
[12-09-2015 13:11:35] NPCD: WARN: MAX load reached: load 13.460000/10.000000 at i=31862
[12-09-2015 13:11:50] NPCD: WARN: MAX load reached: load 14.680000/10.000000 at i=31862
[12-09-2015 13:12:05] NPCD: WARN: MAX load reached: load 13.670000/10.000000 at i=31862
[12-09-2015 13:12:20] NPCD: WARN: MAX load reached: load 15.860000/10.000000 at i=31862
[12-09-2015 13:12:35] NPCD: WARN: MAX load reached: load 17.560000/10.000000 at i=31862
[12-09-2015 13:12:50] NPCD: WARN: MAX load reached: load 15.960000/10.000000 at i=31862
[12-09-2015 13:13:05] NPCD: WARN: MAX load reached: load 14.340000/10.000000 at i=31862
[12-09-2015 13:13:20] NPCD: WARN: MAX load reached: load 14.360000/10.000000 at i=31862

Code: Select all

tail -100 /usr/local/nagios/var/perfdata.log
2015-12-09 12:20:48 [4053] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 12:20:48 [4053] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342008.perfdata.service-PID-4053 deleted
2015-12-09 12:20:48 [4053] [0] *** Timeout while processing Host: "ussgwcpswww00.fossil.com" Service: "CPU_Stats"
2015-12-09 12:20:48 [4053] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 12:20:48 [4047] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 12:20:48 [4047] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 12:20:48 [4047] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 12:20:48 [4047] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342007.perfdata.host-PID-4047 deleted
2015-12-09 12:20:48 [4047] [0] *** Timeout while processing Host: "MIUSDP8279TC.fossil.com" Service: "_HOST_"
2015-12-09 12:20:48 [4047] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 12:25:23 [28575] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 12:25:23 [28575] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 12:25:23 [28575] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 12:25:23 [28575] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342035.perfdata.service-PID-28575 deleted
2015-12-09 12:25:23 [28575] [0] *** Timeout while processing Host: "dalcwcqls00.fossil.com" Service: "_usr_Disk_Usage"
2015-12-09 12:25:23 [28575] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 12:25:23 [28568] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 12:25:23 [28568] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 12:25:23 [28568] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 12:25:23 [28568] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342020.perfdata.service-PID-28568 deleted
2015-12-09 12:25:23 [28568] [0] *** Timeout while processing Host: "WUSRCPJDAAPP00.fossil.com" Service: "Page_File_Usage"
2015-12-09 12:25:23 [28568] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 12:25:23 [28569] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 12:25:23 [28569] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 12:25:23 [28569] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 12:25:23 [28569] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342022.perfdata.host-PID-28569 deleted
2015-12-09 12:25:23 [28569] [0] *** Timeout while processing Host: "NVUSDP7450WAN.fossil.com" Service: "_HOST_"
2015-12-09 12:25:23 [28569] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 12:25:23 [28570] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 12:25:23 [28570] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 12:25:23 [28570] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 12:25:23 [28570] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342034.perfdata.host-PID-28570 deleted
2015-12-09 12:25:23 [28570] [0] *** Timeout while processing Host: "10.22.47.133" Service: "_HOST_"
2015-12-09 12:25:23 [28570] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 12:25:23 [28571] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 12:25:23 [28571] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 12:25:23 [28571] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 12:25:23 [28571] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342025.perfdata.service-PID-28571 deleted
2015-12-09 12:25:23 [28571] [0] *** Timeout while processing Host: "uusrctmca01.fossil.com" Service: "Ping"
2015-12-09 12:25:23 [28571] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 12:25:29 [29244] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 12:25:29 [29244] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 12:25:29 [29244] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 12:25:29 [29244] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342038.perfdata.service-PID-29244 deleted
2015-12-09 12:25:29 [29244] [0] *** Timeout while processing Host: "ucnhkpplf11.fossil.com" Service: "__Disk_Usage"
2015-12-09 12:25:29 [29244] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 12:25:29 [29245] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 12:25:29 [29245] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 12:25:29 [29245] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 12:25:29 [29245] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342049.perfdata.host-PID-29245 deleted
2015-12-09 12:25:29 [29245] [0] *** Timeout while processing Host: "UTUSDP7508RTR.fossil.com" Service: "_HOST_"
2015-12-09 12:25:29 [29245] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 12:25:29 [29246] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 12:25:29 [29246] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 12:25:29 [29246] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 12:25:29 [29246] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342055.perfdata.host-PID-29246 deleted
2015-12-09 12:25:29 [29246] [0] *** Timeout while processing Host: "PAUSDP750102.fossil.com" Service: "_HOST_"
2015-12-09 12:25:29 [29246] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 12:25:29 [29243] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 12:25:29 [29243] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 12:25:29 [29243] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 12:25:29 [29243] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342037.perfdata.host-PID-29243 deleted
2015-12-09 12:25:29 [29243] [0] *** Timeout while processing Host: "NJUSDP7548WAN.fossil.com" Service: "_HOST_"
2015-12-09 12:25:29 [29243] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 12:25:29 [29247] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 12:25:29 [29247] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 12:25:29 [29247] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 12:25:29 [29247] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342050.perfdata.service-PID-29247 deleted
2015-12-09 12:25:29 [29247] [0] *** Timeout while processing Host: "AZUSDP8235MP.fossil.com" Service: "Ping"
2015-12-09 12:25:29 [29247] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 13:11:20 [20202] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 13:11:20 [20202] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 13:11:20 [20202] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 13:11:20 [20202] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342064.perfdata.host-PID-20202 deleted
2015-12-09 13:11:20 [20202] [0] *** Timeout while processing Host: "WUSRCPHSQL00.fossil.com" Service: "_HOST_"
2015-12-09 13:11:20 [20202] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 13:11:20 [20203] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 13:11:20 [20203] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 13:11:20 [20203] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 13:11:20 [20203] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342055.perfdata.service-PID-20203 deleted
2015-12-09 13:11:20 [20203] [0] *** Timeout while processing Host: "WUSRCPCTRX11.fossil.com" Service: "Page_File_Usage"
2015-12-09 13:11:20 [20203] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 13:11:20 [20212] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 13:11:20 [20212] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 13:11:20 [20212] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 13:11:20 [20212] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342067.perfdata.host-PID-20212 deleted
2015-12-09 13:11:20 [20212] [0] *** Timeout while processing Host: "dalcbwrq90.fossil.com" Service: "_HOST_"
2015-12-09 13:11:20 [20212] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 13:11:20 [20205] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 13:11:20 [20205] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 13:11:20 [20205] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 13:11:20 [20205] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342066.perfdata.service-PID-20205 deleted
2015-12-09 13:11:20 [20205] [0] *** Timeout while processing Host: "WUSRCPSOUT00.fossil.com" Service: "Page_File_Usage"
2015-12-09 13:11:20 [20205] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-09 13:11:20 [20213] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-12-09 13:11:20 [20213] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-09 13:11:20 [20213] [0] *** TIMEOUT: Please check your npcd.cfg
2015-12-09 13:11:20 [20213] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1449342068.perfdata.service-PID-20213 deleted
2015-12-09 13:11:20 [20213] [0] *** Timeout while processing Host: "MSUSDP743702.fossil.com" Service: "Ping"
2015-12-09 13:11:20 [20213] [0] *** process_perfdata.pl terminated on signal ALRM

Code: Select all

grep cacti /etc/passwd
cacti:x:204:202::/usr/share/cacti:/sbin/nologin

 httpd -v
Server version: Apache/2.2.15 (Unix)
Server built:   Aug 18 2015 02:00:22

cat /etc/cron.d/cacti
*/5 * * * *     cacti   /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1

Code: Select all

su - cacti
This account is currently not available.
UI iam unable to login to cacti. :(

Also please review the config files I have uploaded in my previous post, thanks.

Coming to performance graphs, we are unable to see any performance data for all the servers, please advise. thanks.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Setting up Cacti

Post by rkennedy »

How many CPU cores are running on this machine now? The log files look like you're hitting a peak with your resources.

Can you post the output of top|head -17?
rkennedy wrote:I believe the database didn't import properly, Can you run the following?
locate cacti.sql

Once you've found your cacti.sql you simply need to dump it into mysql using the following command:
mysql -u cacti -p'cactipassword' cacti < path_to_cacti.sql
Can you post the output of those commands?
Former Nagios Employee
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Setting up Cacti

Post by raamardhani7 »

rkennedy wrote:How many CPU cores are running on this machine now? The log files look like you're hitting a peak with your resources.

Can you post the output of top|head -17?
rkennedy wrote:I believe the database didn't import properly, Can you run the following?
locate cacti.sql

Once you've found your cacti.sql you simply need to dump it into mysql using the following command:
mysql -u cacti -p'cactipassword' cacti < path_to_cacti.sql
Can you post the output of those commands?

Code: Select all

top|head -17
top - 14:03:26 up 14 days,  4:38,  1 user,  load average: 16.10, 15.32, 18.21
Tasks: 306 total,  23 running, 283 sleeping,   0 stopped,   0 zombie
Cpu(s): 60.9%us, 17.3%sy,  0.3%ni, 15.7%id,  5.2%wa,  0.1%hi,  0.5%si,  0.0%st
Mem:  16334048k total, 15097776k used,  1236272k free,   943244k buffers
Swap:  4128764k total,   294196k used,  3834568k free, 10248980k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 6681 nagios    20   0 60936 7204  880 S 13.0  0.0 396:37.91 ndo2db
24454 nagios    20   0  312m  20m 7020 S 13.0  0.1   0:00.10 php
15759 apache    20   0  466m  31m 5624 D 11.7  0.2  11:19.48 httpd
24436 nagios    20   0  312m  20m 7020 S 11.7  0.1   0:00.09 php
24447 nagios    20   0  312m  20m 7072 R 11.7  0.1   0:00.09 php
24449 nagios    20   0  312m  20m 6932 R 11.7  0.1   0:00.09 php
24451 nagios    20   0  312m  20m 7008 R 11.7  0.1   0:00.09 php
24452 nagios    20   0  312m  21m 7400 S 11.7  0.1   0:00.09 php
24453 nagios    20   0  312m  21m 7400 S 11.7  0.1   0:00.09 php
24455 nagios    20   0  312m  21m 7400 S 11.7  0.1   0:00.09 php

Code: Select all

locate cacti.sql
/store/backups/mysql/monthly/cacti/cacti_2015-12-01_07h00m.December.cacti.sql.gz
/usr/share/doc/cacti-0.8.8b/cacti.sql

Code: Select all

mysql -u cacti -p'cactipassword' cacti /usr/share/doc/cacti-0.8.8b/cacti.sql
mysql  Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using readline 5.1
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Usage: mysql [OPTIONS] [database]
  -?, --help          Display this help and exit.
  -I, --help          Synonym for -?
  --auto-rehash       Enable automatic rehashing. One doesn't need to use
                      'rehash' to get table and field completion, but startup
                      and reconnecting may take a longer time. Disable with
                      --disable-auto-rehash.
  -A, --no-auto-rehash
                      No automatic rehashing. One has to use 'rehash' to get
                      table and field completion. This gives a quicker start of
                      mysql and disables rehashing on reconnect.
  -B, --batch         Don't use history file. Disable interactive behavior.
                      (Enables --silent.)
  --character-sets-dir=name
                      Directory for character set files.
  --column-type-info  Display column type information.
  -c, --comments      Preserve comments. Send comments to the server. The
                      default is --skip-comments (discard comments), enable
                      with --comments.
  -C, --compress      Use compression in server/client protocol.
  -#, --debug[=#]     This is a non-debug version. Catch this and exit.
  --debug-check       Check memory and open file usage at exit.
  -T, --debug-info    Print some debug info at exit.
  -D, --database=name Database to use.
  --default-character-set=name
                      Set the default character set.
  --delimiter=name    Delimiter to be used.
  -e, --execute=name  Execute command and quit. (Disables --force and history
                      file.)
  -E, --vertical      Print the output of a query (rows) vertically.
  -f, --force         Continue even if we get an SQL error.
  -G, --named-commands
                      Enable named commands. Named commands mean this program's
                      internal commands; see mysql> help . When enabled, the
                      named commands can be used from any line of the query,
                      otherwise only from the first line, before an enter.
                      Disable with --disable-named-commands. This option is
                      disabled by default.
  -g, --no-named-commands
                      Named commands are disabled. Use \* form only, or use
                      named commands only in the beginning of a line ending
                      with a semicolon (;). Since version 10.9, the client now
                      starts with this option ENABLED by default. Disable with
                      '-G'. Long format commands still work from the first
                      line. WARNING: option deprecated; use
                      --disable-named-commands instead.
  -i, --ignore-spaces Ignore space after function names.
  --local-infile      Enable/disable LOAD DATA LOCAL INFILE.
  -b, --no-beep       Turn off beep on error.
  -h, --host=name     Connect to host.
  -H, --html          Produce HTML output.
  -X, --xml           Produce XML output.
  --line-numbers      Write line numbers for errors.
  -L, --skip-line-numbers
                      Don't write line number for errors.
  -n, --unbuffered    Flush buffer after each query.
  --column-names      Write column names in results.
  -N, --skip-column-names
                      Don't write column names in results.
  -O, --set-variable=name
                      Change the value of a variable. Please note that this
                      option is deprecated; you can set variables directly with
                      --variable-name=value.
  --sigint-ignore     Ignore SIGINT (CTRL-C).
  -o, --one-database  Ignore statements except those that occur while the
                      default database is the one named at the command line.
  --pager[=name]      Pager to use to display results. If you don't supply an
                      option, the default pager is taken from your ENV variable
                      PAGER. Valid pagers are less, more, cat [> filename],
                      etc. See interactive help (\h) also. This option does not
                      work in batch mode. Disable with --disable-pager. This
                      option is disabled by default.
  --no-pager          Disable pager and print to stdout. See interactive help
                      (\h) also. WARNING: option deprecated; use
                      --disable-pager instead.
  -p, --password[=name]
                      Password to use when connecting to server. If password is
                      not given it's asked from the tty.
  -P, --port=#        Port number to use for connection or 0 for default to, in
                      order of preference, my.cnf, $MYSQL_TCP_PORT,
                      /etc/services, built-in default (3306).
  --prompt=name       Set the mysql prompt to this value.
  --protocol=name     The protocol to use for connection (tcp, socket, pipe,
                      memory).
  -q, --quick         Don't cache result, print it row by row. This may slow
                      down the server if the output is suspended. Doesn't use
                      history file.
  -r, --raw           Write fields without conversion. Used with --batch.
  --reconnect         Reconnect if the connection is lost. Disable with
                      --disable-reconnect. This option is enabled by default.
  -s, --silent        Be more silent. Print results with a tab as separator,
                      each row on new line.
  -S, --socket=name   The socket file to use for connection.
  --ssl               Enable SSL for connection (automatically enabled with
                      other flags).Disable with --skip-ssl.
  --ssl-ca=name       CA file in PEM format (check OpenSSL docs, implies
                      --ssl).
  --ssl-capath=name   CA directory (check OpenSSL docs, implies --ssl).
  --ssl-cert=name     X509 cert in PEM format (implies --ssl).
  --ssl-cipher=name   SSL cipher to use (implies --ssl).
  --ssl-key=name      X509 key in PEM format (implies --ssl).
  --ssl-verify-server-cert
                      Verify server's "Common Name" in its cert against
                      hostname used when connecting. This option is disabled by
                      default.
  -t, --table         Output in table format.
  --tee=name          Append everything into outfile. See interactive help (\h)
                      also. Does not work in batch mode. Disable with
                      --disable-tee. This option is disabled by default.
  --no-tee            Disable outfile. See interactive help (\h) also. WARNING:
                      Option deprecated; use --disable-tee instead.
  -u, --user=name     User for login if not current user.
  -U, --safe-updates  Only allow UPDATE and DELETE that uses keys.
  -U, --i-am-a-dummy  Synonym for option --safe-updates, -U.
  -v, --verbose       Write more. (-v -v -v gives the table output format).
  -V, --version       Output version information and exit.
  -w, --wait          Wait and retry if connection is down.
  --connect_timeout=# Number of seconds before connection timeout.
  --max_allowed_packet=#
                      The maximum packet length to send to or receive from
                      server.
  --net_buffer_length=#
                      The buffer size for TCP/IP and socket communication.
  --select_limit=#    Automatic limit for SELECT when using --safe-updates.
  --max_join_size=#   Automatic limit for rows in a join when using
                      --safe-updates.
  --secure-auth       Refuse client connecting to server if it uses old
                      (pre-4.1.1) protocol.
  --server-arg=name   Send embedded server this as a parameter.
  --show-warnings     Show warnings after every statement.

Default options are read from the following files in the given order:
/etc/mysql/my.cnf /etc/my.cnf ~/.my.cnf
The following groups are read: mysql client
The following options may be given as the first argument:
--print-defaults        Print the program argument list and exit.
--no-defaults           Don't read default options from any option file.
--defaults-file=#       Only read default options from the given file #.
--defaults-extra-file=# Read this file after the global files are read.

Variables (--variable-name=value)
and boolean options {FALSE|TRUE}  Value (after reading options)
--------------------------------- -----------------------------
auto-rehash                       TRUE
character-sets-dir                (No default value)
column-type-info                  FALSE
comments                          FALSE
compress                          FALSE
debug-check                       FALSE
debug-info                        FALSE
database                          (No default value)
default-character-set             latin1
delimiter                         ;
vertical                          FALSE
force                             FALSE
named-commands                    FALSE
ignore-spaces                     FALSE
local-infile                      FALSE
no-beep                           FALSE
host                              (No default value)
html                              FALSE
xml                               FALSE
line-numbers                      TRUE
unbuffered                        FALSE
column-names                      TRUE
sigint-ignore                     FALSE
port                              0
prompt                            mysql>
quick                             FALSE
raw                               FALSE
reconnect                         TRUE
socket                            (No default value)
ssl                               FALSE
ssl-ca                            (No default value)
ssl-capath                        (No default value)
ssl-cert                          (No default value)
ssl-cipher                        (No default value)
ssl-key                           (No default value)
ssl-verify-server-cert            FALSE
table                             FALSE
user                              cacti
safe-updates                      FALSE
i-am-a-dummy                      FALSE
connect_timeout                   0
max_allowed_packet                16777216
net_buffer_length                 16384
select_limit                      1000
max_join_size                     1000000
secure-auth                       FALSE
show-warnings                     FALSE
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Setting up Cacti

Post by lmiltchev »

Let's step back for a while and try fixing the missing graphs issue first. The load on your system is above the "default" value set up in the "/usr/local/nagios/etc/pnp/npcd.cfg" file.

Code: Select all

load_threshold = 10.0
When this happens, the npcd stops running. The perfdata files in "/usr/local/nagios/var/spool/perfdata" don't get processed, and you end up with many files piled up in the "perfdata" directory. You need to find out what is causing the high load on the first place, and fix the issue. Depending on the number of CPUs, you could bump up the "load_threshold". Use "20.0" for dual core machine, "40.0" for a quad core, etc. Restart npcd so that changes can take effect:

Code: Select all

service npcd restart
BTW, what is the output of "lscpu"?

After you increase the "load_threshod", check to see if the number of files in the "perfdata" directory will go down over time:

Code: Select all

watch -n 1 'ls /usr/local/nagios/var/spool/perfdata | wc -l'
If the number of files is NOT getting down, you may need to remove all of these files in order to "start clean". You will lose the historical data that is currently in the "/usr/local/nagios/var/spool/perfdata" directory.

Code: Select all

cd /usr/local/nagios/var/spool
rm -rf perfdata
mkdir perfdata
chown nagios.nagios perfdata
chmod 755 perfdata
Note: It may take up to 20-30 min before graphs start to show up.
Be sure to check out our Knowledgebase for helpful articles and solutions!
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Setting up Cacti

Post by raamardhani7 »

lmiltchev wrote:Let's step back for a while and try fixing the missing graphs issue first. The load on your system is above the "default" value set up in the "/usr/local/nagios/etc/pnp/npcd.cfg" file.

Code: Select all

load_threshold = 10.0
When this happens, the npcd stops running. The perfdata files in "/usr/local/nagios/var/spool/perfdata" don't get processed, and you end up with many files piled up in the "perfdata" directory. You need to find out what is causing the high load on the first place, and fix the issue. Depending on the number of CPUs, you could bump up the "load_threshold". Use "20.0" for dual core machine, "40.0" for a quad core, etc. Restart npcd so that changes can take effect:

Code: Select all

service npcd restart
BTW, what is the output of "lscpu"?

After you increase the "load_threshod", check to see if the number of files in the "perfdata" directory will go down over time:

Code: Select all

watch -n 1 'ls /usr/local/nagios/var/spool/perfdata | wc -l'
If the number of files is NOT getting down, you may need to remove all of these files in order to "start clean". You will lose the historical data that is currently in the "/usr/local/nagios/var/spool/perfdata" directory.

Code: Select all

cd /usr/local/nagios/var/spool
rm -rf perfdata
mkdir perfdata
chown nagios.nagios perfdata
chmod 755 perfdata
Note: It may take up to 20-30 min before graphs start to show up.

Code: Select all

lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 45
Stepping:              7
CPU MHz:               2600.000
BogoMIPS:              5200.00
Hypervisor vendor:     VMware
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              20480K
NUMA node0 CPU(s):     0-3

Code: Select all

watch -n 1 'ls /usr/local/nagios/var/spool/perfdata | wc -l'
Every 1.0s: ls /usr/local/nagios/var/spool/perfdata | wc -l                                                                                     Wed Dec  9 15:33:40 2015

59778

I could see the count coming down after increasing load_threshold = 20, can I set it to 40??
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Setting up Cacti

Post by raamardhani7 »

Thanks for you assistance on Performance Graphs, it is now appearing.

Capacity Planning is not showing anything.. :(

Let me know if Cacti is properly configured, as I am unable to login to cacti. I am however getting 4 more CPU core added to our Nagios XI server.
Locked