Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun May 28, 2017 11:16 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 111 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8
Author Message
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Wed Feb 11, 2015 2:12 pm 
Offline
Cacti User

Joined: Fri Dec 11, 2009 7:40 am
Posts: 54
Location: Argentina
Hi all,

I have 3 CactiEZ running on different servers, in all of them i have the same issue when trying to start the embedded Nagios that comes in this CD.

This is the message when i point to <server_ip>/nagios

Whoops!

Error: Could not read host and service status information!


So searching in google i find some possible solutions:

"go to console and try "/usr/bin/nagios -v /etc/nagios/nagios.cfg" and see the output

At first i got this error:

Error: Cannot open config file '/etc/nagios/misccommands.cfg' for reading: No such file or directory
Error processing object config files!

and in another site i found how to create that file and what put on it so i did it:

# 'host-notify-by-email' command definition
define command{
command_name host-notify-by-email
command_line /usr/bin/printf "%b" "***** Nagios 2.6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$
}


# 'host-notify-by-epager' command definition
define command{
command_name host-notify-by-epager
command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $HOSTOUTPUT$\nTime: $LONGDATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$
}

# 'notify-by-email' command definition
define command{
command_name notify-by-email
command_line /usr/bin/printf "%b" "***** Nagios 2.6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
}


# 'notify-by-epager' command definition
define command{
command_name notify-by-epager
command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $SERVICEOUTPUT$\nDate: $LONGDATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$
}


Then the error and warning disappear:

[root@localhost /]# /usr/bin/nagios -v /etc/nagios/nagios.cfg

Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Warning: comment_file variable ignored. Comments are now stored in the status and retention files.
Warning: downtime_file variable ignored. Downtime entries are now stored in the status and retention files.
Warning: aggregate_status_updates directive ignored. All status file updates are now aggregated.
Read main config file okay...
Processing object config file '/etc/nagios/checkcommands.cfg'...
Processing object config file '/etc/nagios/misccommands.cfg'...
Processing object config file '/etc/nagios/minimal.cfg'...
Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
Checked 5 services.
Checking hosts...
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 20 commands.
Checking time periods...
Checked 1 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check


But now when i point again to the nagios server its says:

Whoops!

Error: Could not read host and service status information!

and i tried to run Nagios from console but it fails:

[root@localhost /]# /etc/init.d/nagios start
nagios is stopped
Starting nagios: [FAILED]

Just dont know what to do now... its really strange because it happens in three different servers and they are all clean installs from CactiEZ CD. Bytheway, Cacti is working fine with lots of hosts graphs and weathermaps.

Any ideas what to try next?


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Wed Apr 22, 2015 1:57 am 
Offline

Joined: Wed Apr 22, 2015 1:54 am
Posts: 1
werik7 wrote:
Just saw CactiEZ in a class and decided I had to have it.

I have tried to download it from multiple machines, OS and internet connections and can not get the download to complete with http. I can't even get it to start with the torrent.

Help!

thanks


I am having the exact same problem. I get the links, but the torrent file is corrupt and the http link does nothing. Anyone have the torrent file they could share?


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Wed Jun 03, 2015 6:47 am 
Offline

Joined: Thu Mar 12, 2015 9:18 am
Posts: 7
juliop wrote:
Hi all,

I have 3 CactiEZ running on different servers, in all of them i have the same issue when trying to start the embedded Nagios that comes in this CD.

This is the message when i point to <server_ip>/nagios

Whoops!

Error: Could not read host and service status information!


So searching in google i find some possible solutions:

"go to console and try "/usr/bin/nagios -v /etc/nagios/nagios.cfg" and see the output

At first i got this error:

Error: Cannot open config file '/etc/nagios/misccommands.cfg' for reading: No such file or directory
Error processing object config files!

and in another site i found how to create that file and what put on it so i did it:

# 'host-notify-by-email' command definition
define command{
command_name host-notify-by-email
command_line /usr/bin/printf "%b" "***** Nagios 2.6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$
}


# 'host-notify-by-epager' command definition
define command{
command_name host-notify-by-epager
command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $HOSTOUTPUT$\nTime: $LONGDATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$
}

# 'notify-by-email' command definition
define command{
command_name notify-by-email
command_line /usr/bin/printf "%b" "***** Nagios 2.6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
}


# 'notify-by-epager' command definition
define command{
command_name notify-by-epager
command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $SERVICEOUTPUT$\nDate: $LONGDATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$
}


Then the error and warning disappear:

[root@localhost /]# /usr/bin/nagios -v /etc/nagios/nagios.cfg

Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Warning: comment_file variable ignored. Comments are now stored in the status and retention files.
Warning: downtime_file variable ignored. Downtime entries are now stored in the status and retention files.
Warning: aggregate_status_updates directive ignored. All status file updates are now aggregated.
Read main config file okay...
Processing object config file '/etc/nagios/checkcommands.cfg'...
Processing object config file '/etc/nagios/misccommands.cfg'...
Processing object config file '/etc/nagios/minimal.cfg'...
Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
Checked 5 services.
Checking hosts...
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 20 commands.
Checking time periods...
Checked 1 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check


But now when i point again to the nagios server its says:

Whoops!

Error: Could not read host and service status information!

and i tried to run Nagios from console but it fails:

[root@localhost /]# /etc/init.d/nagios start
nagios is stopped
Starting nagios: [FAILED]

Just dont know what to do now... its really strange because it happens in three different servers and they are all clean installs from CactiEZ CD. Bytheway, Cacti is working fine with lots of hosts graphs and weathermaps.

Any ideas what to try next?


have the same nagios issue! any idea how to get nagios upp and running?

help please

Quote:
Whoops!

Error: Could not read object configuration data!

Here are some things you should check in order to resolve this error:

Verify configuration options using the -v command-line option to check for errors.
Check the Nagios log file for messages relating to startup or status data errors.
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Thu Jul 07, 2016 4:59 pm 
Offline

Joined: Tue Jul 05, 2016 4:45 pm
Posts: 13
Location: Houston Texas
I have installed the version 0.7 on Centos and the updates etc. After I have set up several devices with no issues new devices show a status of unknown and never gets to up. How can I resolve this? I am using SNMP and Ping with ICMP ping the configuration shows that the SNMP and Ping are both good but the device sticks at an unknown status. A resolution to this would be greatly appreciated.


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Thu May 04, 2017 12:26 pm 
Offline

Joined: Thu May 04, 2017 12:23 pm
Posts: 1
Hi,
I have a problem in CactiEZ where I have created a map in the Weathermap editor but it is not showing up under the Weathermap tab, it says I have no maps. Any suggestions as to how to get the map to show up?


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Sat May 06, 2017 4:48 am 
Offline

Joined: Wed Oct 26, 2011 2:57 am
Posts: 10
Hi,
I am using CactiEZ 0.7.iso with builtin Cacti version 0.8.8a.

The default setting of cacti0.8.8a is

Poller type =SPINE
Polling interval = 1 minutes
Cron Interval = 1 minutes

I have added 200 LAN devices. Now issue is that some devices are in UP state and some in UNKONWN state. The devcies in UP state are plotting graph properly. But in cacti.log i am receving errors for SPINE timeout:

05/06/2017 02:09:02 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
05/06/2017 02:09:01 PM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate

So i changed the default Polling interval and cron interval to 5 minutes. After the changes all the devices with UNKNOWN status becomes normal and this error is cleard from cacti.log.But now all the devices have stop creating GRAPHS and showing NAN value. If the click realtime button on graph then it shows the traffic but normal graphs are not plotting.

If i change the polling interval back to 1 minute than the old graphs again start making but SPINE timeout errors again started. But unknown devcies still dont create graph.

Please guide to make this normal.

Regards,


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 111 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group