Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
General discussion about Plugins for Cacti
Moderators: Developers , Moderators
caio.cesar
Posts: 44 Joined: Wed Oct 08, 2008 10:31 am
Location: Brazil
Post
by caio.cesar » Fri Sep 18, 2009 8:38 am
Cacti Version - 0.8.7e
Plugin Architecture - 2.5
Poller Type - CMD.php
Server Info - Linux 2.6.18-164.el5
Web Server - Apache/2.2.3 (Red Hat)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, dbase, gd, ldap, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp
MySQL - 5.0.77
RRDTool - 1.3.8
SNMP - 5.3.2.2
Plugins Create Aggregate Graphs (aggregate - v0.70 B2)
PHP Network Weathermap (weathermap - v0.95b)
Global Plugin Settings (settings - v0.5)
Thresholds (thold - v0.3.0)
Device Monitoring (monitor - v0.8.2)
Network Tools (tools - v0.2)
RRD Cleaner (rrdclean - v1.1)
NTop Viewer (ntop - v0.1)
Update Checker (update - v0.3)
FlowView (flowview - v0.3)
Host Info (hostinfo - v0.1)
Error Images (errorimage - v0.1)
I am facing some problems with the monitor plugin.
When I enter on the cacti server and run the snmpwalk, it gives me all the information about the host (that is configured correctly, snmp comunity and security settings).
When I enter on the monitor page, this server appears as down (I am facing the same problem with other servers, but the status is "Unknown").
Is there something I can do to refresh the monitor plugin?
Rgds,
Caio Ribeiro Cesar
mcutting
Cacti Guru User
Posts: 1884 Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:
Post
by mcutting » Fri Sep 18, 2009 8:47 am
The poller would need to run at least once to determine the status of this host. Is the poller configured and returning data ?
You also need to graph at least one data source before Cacti will determine the device status.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
caio.cesar
Posts: 44 Joined: Wed Oct 08, 2008 10:31 am
Location: Brazil
Post
by caio.cesar » Fri Sep 18, 2009 9:04 am
Thank you for answering my question!
The poller is configured to run as the cron:
*/5 * * * * /usr/bin/php /var/www/html/cmd.php > /dev/null 2>&1
*/5 * * * * /usr/bin/php /var/www/html/poller.php > /dev/null 2>&1
00 01 * * * /var/www/backup.sh
I already monitor other servers, there are 50% green and the rest of it down or unknown.
mcutting
Cacti Guru User
Posts: 1884 Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:
Post
by mcutting » Fri Sep 18, 2009 9:09 am
When you say you can "walk" the servers from Cacti, are these hosts actually having any data in terms of graphs collected by Cacti ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
caio.cesar
Posts: 44 Joined: Wed Oct 08, 2008 10:31 am
Location: Brazil
Post
by caio.cesar » Fri Sep 18, 2009 9:12 am
No... There is this error on the device description:
SNMP Information
SNMP error
I mean when I run the linux command "snmpwalk":
/usr/bin/snmpwalk -Os -c "comunity" -v 1 "serverip"
It shows the result... But when I check on the server status on cacti, it's down/unknown...
caio.cesar
Posts: 44 Joined: Wed Oct 08, 2008 10:31 am
Location: Brazil
Post
by caio.cesar » Fri Sep 18, 2009 9:56 am
nothing yet... maybe there is to much data... there are 100~ servers to monitor... I have checked my database and everything is ok...
caio.cesar
Posts: 44 Joined: Wed Oct 08, 2008 10:31 am
Location: Brazil
Post
by caio.cesar » Mon Sep 21, 2009 7:54 am
when I run the cmd.php , this ERROR appears:
09/21/2009 09:51:43 AM - CMDPHP: Poller[0] Host[152] DS[862] WARNING: Result from SNMP not valid. Partial Result: U
caio.cesar
Posts: 44 Joined: Wed Oct 08, 2008 10:31 am
Location: Brazil
Post
by caio.cesar » Mon Sep 21, 2009 8:22 am
I found the problem.
The cmd.php was running in 5/5 minutes, I changed to 2:
*/2 * * * * /usr/bin/php /var/www/html/cmd.php
Users browsing this forum: No registered users and 23 guests