Page 1 of 1

juniper environment + CPU memory Temperature monitoring

Posted: Sat Oct 18, 2014 8:39 am
by zaji_nms
Dear Expert

We monitoring Cisco environment (FAN, Power Supply, Temperature) and its up to the mark but how to monitor all these + CPU , Memory , Interface CRC Errors of JUNIPER Routers (JUNOS)

Is there any URL to help, any script in PL or PHP? Anyone using?

Our version : Nagios XI 2012R1.8 ,, cat /etc/*release* ==> CentOS release 6.3 (Final)

Regards

Re: juniper environment + CPU memory Temperature monitoring

Posted: Mon Oct 20, 2014 8:59 am
by tmcdonald
If those metrics are available, it is likely through the same interface you use to get the temperature and other information. Are you using SNMP to check? Please provide an example of how you would monitor the temperature.

Re: juniper environment + CPU memory Temperature monitoring

Posted: Sat Jan 24, 2015 2:01 pm
by zaji_nms
Dear tcmdonald

I found as below and in lab test found satisfactory result.

http://exchange.nagios.org/directory/Pl ... rs/details

check_snmp_environment.pl -H 192.168.55.66 -C public -T juniper

Used as below (command)

$USER1$/check_snmp_environment.pl -H $HOSTADDRESS$ -C $ARG1$ -T juniper

$ARG1$ : public

This script is very old Year-2011, is there any new version?
Can you explain in detail -f used for what? -f, --perfparse (Perfparse compatible output)

Regards

Re: juniper environment + CPU memory Temperature monitoring

Posted: Mon Jan 26, 2015 10:03 am
by scottwilkerson
You would need to contact the author (listed on the page) to see if there is a newer version.

However, while the script is old, SNMP hasn't really changed, so it should work as expected.

The flag -f, --perfparse (Perfparse compatible output) will add performance data to the output and it will be processed by XI creating pretty graphs ;)

Re: juniper environment + CPU memory Temperature monitoring

Posted: Wed Jan 28, 2015 4:42 pm
by zaji_nms
Dear Scottwilkerson

Thanks for clarification.

Now its okay to monitor Juniper ENV = Power, Fan, Temperature, now remaining part how to monitor
CPU , Memory of Juniper devices? We have MX80, M320 , CDX4600 type of Juniper devices.

Regards

Re: juniper environment + CPU memory Temperature monitoring

Posted: Wed Jan 28, 2015 4:55 pm
by slansing
I would give it a shot the worst thing that can happen is it doesn't work. Just let us know if your command fails, and give us the command you ran, and it's output so we can take a look.

Re: juniper environment + CPU memory Temperature monitoring

Posted: Wed Jan 28, 2015 5:04 pm
by zaji_nms
Sorry slansing , I did not get you.

In my Post, I was asking two things for Juniper devices

1) to Monitor Environment Power+FAN+Temperature (which is okay after using script check_snmp_environment.pl)
2) how to monitor CPU/Memory, this is unresolved and expecting some solution/advice by you (experts).

Regards

Re: juniper environment + CPU memory Temperature monitoring

Posted: Wed Jan 28, 2015 5:42 pm
by scottwilkerson
It really depends on your Juniper systems, there are plugins on the exchange
http://exchange.nagios.org/directory/Pl ... ar/Juniper

Or, you could use the SNMP wizard if you know the SNMP OID's you want to monitor

Re: juniper environment + CPU memory Temperature monitoring

Posted: Fri Jan 30, 2015 2:52 pm
by zaji_nms
Thanks Scottkilkerson

You can close the case.

Regards