Graph of no snmp ROUTEUR ping and staut on or off?

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Graph of no snmp ROUTEUR ping and staut on or off?

Post by Mika2006 »

Hello i just need this two information on my routeur he is not snmp
he is possible to make this please

The graph ping and i know he is up or down


thanks
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
hgd26
Posts: 25
Joined: Fri Oct 06, 2006 5:36 am

Re: Graph of no snmp ROUTEUR ping and staut on or off?

Post by hgd26 »

Mika2006 wrote:Hello i just need this two information on my routeur he is not snmp
he is possible to make this please

The graph ping and i know he is up or down


thanks
Advanced Ping Template
http://forums.cacti.net/viewtopic.php?t=10049

Sample:
Image


Plugin: Monitor
http://cactiusers.org/wiki/MonitorDocs

Sample:
Image
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Post by Mika2006 »

thx i will try
but are you sure all works
with NO snmp on the routeur?
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
hgd26
Posts: 25
Joined: Fri Oct 06, 2006 5:36 am

Post by hgd26 »

Mika2006 wrote:thx i will try
but are you sure all works
with NO snmp on the routeur?
Advanced Ping Template Version:
Ability to ping using either ICMP, TCP, or UDP protocols
Based on fping, no snmp need. Read the topic ....

Try Manage
http://forums.cacti.net/viewtopic.php?t=13827
Based on port monitoring

this plugin :
- monitor hosts (like dead host notification in thold plugin)
- monitors TCP services
- alerts (by email, like thold)
- log each event in MYSQL, for reporting
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Post by Mika2006 »

thks to you response:

ping template don't work :
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Pc_lan1_Y - Smoke Ping" \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=10 \
--lower-limit=0 \
--units-exponent=1 \
--vertical-label="milliseconds" \
--slope-mode \
DEF:a="/var/www/html/cacti/rra/pc_lan1_y_min_105.rrd":avg:AVERAGE \
DEF:b="/var/www/html/cacti/rra/pc_lan1_y_min_105.rrd":max:AVERAGE \
DEF:c="/var/www/html/cacti/rra/pc_lan1_y_min_105.rrd":min:AVERAGE \
DEF:d="/var/www/html/cacti/rra/pc_lan1_y_min_105.rrd":loss:AVERAGE \
DEF:e="/var/www/html/cacti/rra/pc_lan1_y_min_105.rrd":max:MAX \
CDEF:cdefb=b,a,-,0.2,* \
CDEF:cdefh=a,g,-,0.2,* \
CDEF:cdefbc=e,0,* \
CDEF:cdefbd=bc,0,GT,UNKN,a,IF \
CDEF:cdefbe=bc,0,GT,bc,40,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbf=bc,40,GT,bc,80,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbg=bc,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,bc,80,GT,INF,UNKN,IF,IF \
CDEF:cdefbh=d,UN,1,EQ,TIME,300,+,NOW,GT,100,0,IF,100,d,-,IF \
AREA:a#FFFFFF:"" \
AREA:cdefb#333333:"":STACK \
AREA:cdefb#555555:"":STACK \
AREA:cdefb#888888:"":STACK \
AREA:cdefb#AAAAAA:"":STACK \
AREA:cdefb#CCCCCC:"":STACK \
AREA:c#FFFFFF:"" \
AREA:cdefh#CCCCCC:"":STACK \
AREA:cdefh#AAAAAA:"":STACK \
AREA:cdefh#888888:"":STACK \
AREA:cdefh#555555:"":STACK \
AREA:cdefh#333333:"":STACK \
AREA:cdefbc#FFFFFF:"" \
LINE1:cdefbd#00CF00:"Up" \
AREA:cdefbe#4123A1:"Packet loss \: 1 -> 40 %" \
AREA:cdefbf#8F005C:"Packet loss 41 -> 80 %" \
AREA:cdefbg#FF0000:"Down\n" \
GPRINT:cdefbh:AVERAGE:"Success rate \:%8.2lf %%\n" \
COMMENT:"Response time \:" \
GPRINT:c:MIN:"Minimum \:%8.2lf ms" \
GPRINT:a:AVERAGE:"Average \:%8.2lf ms" \
GPRINT:e:MAX:"Maximum \:%8.2lf ms\n"

RRDTool Says:

ERROR: invalid rpn expression in: a,g,-,0.2,*

manage to
i have nothing my config:
Image
well i want the ping and statue of my routeur freebox but cacti don't find him
:(
i have attachment other picture
if someone can help?
Attachments
000.jpg
000.jpg (87.78 KiB) Viewed 7439 times
001.jpg
001.jpg (50.4 KiB) Viewed 7439 times
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
hgd26
Posts: 25
Joined: Fri Oct 06, 2006 5:36 am

Post by hgd26 »

Mika2006,
read please...

"ping template don't work :

Code: Select all

RRDTool Command: 

/usr/bin/rrdtool graph - \ 
--imgformat=PNG \ 
--start=-86400 \ 
--end=-300 \ 
--title="Pc_lan1_Y - [b]Smoke Ping[/b]" \ 
"
You install "Smoke Ping", no "Advanced Ping"!!! In forum this bug is posted:

http://forums.cacti.net/viewtopic.php?p=83144#83144

To Manage plugin problem - i have similary.
I install first http://gilles.boulon.free.fr/manage/manage-0.5.zip and after that upgrade to http://gilles.boulon.free.fr/manage/manage-0.5.1.zip

All bugs and probplems posted here, in forum. USE THE SEARCH :)
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Post by Mika2006 »

thanks for u respond

and manage no host comme in the manage page :(
Attachments
Smoke ping i don't understand why is all red???
Smoke ping i don't understand why is all red???
0000.jpg (38 KiB) Viewed 7425 times
Advanced Ping have nothing?
Advanced Ping have nothing?
00000.jpg (42.59 KiB) Viewed 7425 times
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Post by Mika2006 »

if he can help i have this:
[root@localhost cacti]# php /var/www/html/cacti/scripts/ss_fping.php 127.0.0.1 10 ICMP
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/msql.so' - /usr/lib/php4/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Content-type: text/html
X-Powered-By: PHP/4.3.9

<br />
<b>Fatal error</b>: Cannot instantiate non-existent class: net_ping in <b>/mnt/150/sda/0/6/ychouchane/cacti/Template/fping/ss_fping.php</b> on line <b>25</b><br />
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
hgd26
Posts: 25
Joined: Fri Oct 06, 2006 5:36 am

Post by hgd26 »

Mika2006 wrote:<b>Fatal error</b>: Cannot instantiate non-existent class: net_ping in <b>/mnt/150/sda/0/6/ychouchane/cacti/Template/fping/ss_fping.php</b> on line <b>25</b><br />
Fatal error: Cannot instantiate non-existent class: net_ping
You need this:
http://pear.php.net/package/Net_Ping

php ./scripts/ss_fping.php ss_fping <hostname> <attempts> <protocol> <port>

P.S. For "PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/msql.so'" - edit you php.ini file
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Post by Mika2006 »

thanks for u respond


well i install pear net_ping like this:
#pear install net_ping
i reboot my server but i have the same probleme
[root@localhost ~]# php /var/www/html/cacti/scripts/ss_fping.php 127.0.0.1 10 ICMP
Content-type: text/html
X-Powered-By: PHP/4.3.9

<br />
<b>Fatal error</b>: Cannot instantiate non-existent class: net_ping in <b>/mnt/150/sda/0/6/ychouchane/cacti/Template/fping/ss_fping.php</b> on line <b>25</b><br />
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Post by Mika2006 »

please some one can help please?
at the moment nothing work
:(
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests